patchGNU TeXmacs - Patches: patch #6836, Ligature-Kerning Interpreter skips...

 
 

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

patch #6836: Ligature-Kerning Interpreter skips last instruction

Submitter:  Aleksandr Dobkin <adob321>
Submitted:  Fri 22 May 2009 01:27:15 AM UTC
   
 
Category:  Typesetter Action:  Done
Privacy:  Public Assigned to:  vdhoeven
Open/Closed:  Closed Release: 
Fixed Release:  Stable: 

Mon 03 Mar 2014 09:24:42 PM UTC, comment #1: 

It seems that I applied this patch a while ago, but forgot to notify about that.

Thanks for your contribution in any case.  --Joris

Joris van der Hoeven <vdhoeven>
Group administrator
Fri 22 May 2009 01:27:15 AM UTC, original submission:  

The lig-kern array of TFM (Tex font metrics) files contains lig-kern instructions which TeXmacs interprets in order to properly typeset text with appropriate ligatures and kerning. See http://www.math.umd.edu/~asnowden/comp-cont/tfm.html.

The problem is that TeXmacs halts on and does not execute the first instruction that has a skip_byte value of equal to or greater than 128. Such a value means that the instruction is the last instruction in the program sequence.

The correct behavior should be to execute the instruction and then halt.

This causes problems because TeXmacs then does not implement some of the ligatures in a font.

This patch should correct the behavior by insuring that the last instruction is always executed.

Also, endash hyphen --> emdash ligature replacement code is removed because it redundant and always causes placement of the emdash from Computer Modern instead of the current font. The ligature replacement in the font now works correctly.

Aleksandr Dobkin <adob321>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #18179:  diffs added by adob321 (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vdhoeven (Posted a comment)
  • -email is unavailable- added by adob321 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-03 vdhoeven ActionApply Done
        Assigned toNone vdhoeven
        Open/ClosedOpen Closed
    2009-05-22 adob321 Attached File- Added diffs, #18179

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code