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

Submitted by:  Aleksandr Dobkin <adob321>
Submitted on:  Fri 22 May 2009 01:27:15 AM UTC  
Category: TypesetterAction: Done
Privacy: PublicAssigned to: Joris van der Hoeven <vdhoeven>
Open/Closed: ClosedRelease: 
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>
Project AdministratorIn charge of this item.
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

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>


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
  • -unavailable- added by vdhoeven (Posted a comment)
  • -unavailable- added by adob321 (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):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 03 Mar 2014 09:24:42 PM UTCvdhoevenActionApply=>Done
      Assigned toNone=>vdhoeven
    Fri 22 May 2009 01:27:15 AM UTCadob321Attached File-=>Added diffs, #18179

    Back to the top

    Powered by Savane 3.1-cleanup1