bugGNU TeXmacs - Bugs: bug #38031, Encoding of Pandora font

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #38031: Encoding of Pandora font

Submitted by:  Miguel de Benito <mdbenito>
Submitted on:  Sun 06 Jan 2013 08:24:29 PM UTC  
 
Category: TypesetterPriority: 5 - Normal
Item Group: ErrorStatus: Confirmed
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Open
Release: Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

Sun 06 Jan 2013 08:24:29 PM UTC, original submission:

Select Document->Program font->Pandora and open a scheme session. Type an accented letter, like á ä ö. The letters displayed are ok, but the overlayed accents are not («, instead of ´ for instance).

The font rules for Pandora fonts in fonts-ec.scm say they are CM instead of EC. This results in find_font() instantiating them via tex_cm_font(). As a result typesetting of accented characters happens using CM_accents[] and CM_unaccented[], which I think follow the OT1 font encoding (see ftp://ftp.dante.de/pub/tex/macros/latex/doc/encguide.pdf ).

However, the proper encoding for whatever font is actually used seems to be T1 (sloppily checked changing the character codes in CM_accents[] to follow T1, i.e \01 instead of \23, for the acute accent, etc.)

The attached patch changes the font rules for Pandora. Because I'm not sure the problem is not due to the lack of a particular font in my system or some weird side-effect thereof, I cannot commit until someone knowledgeable gives some input.

Miguel de Benito <mdbenito>
Project Member

 

Attached Files
file #27210:  pandora-ec.patch added by mdbenito (1kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mdbenito (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 06 Jan 2013 08:24:29 PM UTCmdbenitoAttached File-=>Added pandora-ec.patch, #27210
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup