[NTG-pdftex] [ pdftex-Bugs-385 ] \ptexnoligatures breaks \mathaccent

Taco Hoekwater taco at elvenkind.com
Sun Jul 10 19:16:34 CEST 2005


noreply at sarovar.org wrote:
> This is because it (\ptexnoligatures) also disables the
> kerning information for the font. You'll have to accept that
> as a "known limitation" for now.

Actually, while chasing this, I did find a bug.

Martin, can you please apply this one-liner for me?:

--- pdftex.ch.orig 2005-07-06 13:17:42.000000000 +0200
+++ pdftex.ch   2005-07-10 18:32:00.161840104 +0200
@@ -3681,11 +3681,11 @@
  procedure set_no_ligatures(f: internal_font_number);
  var c:integer;
  begin
   for c := font_bc[f] to font_ec[f] do
         if char_exists(orig_char_info(f)(c)) then
-      if odd(char_tag(orig_char_info(f)(c))) then
+      if char_tag(orig_char_info(f)(c))=lig_tag then
          op_byte(orig_char_info(f)(c)) := 
(op_byte(orig_char_info(f)(c))) - lig_tag;
  end;

  function init_font_base(v: integer): integer;
  @z

TIA, Taco


More information about the ntg-pdftex mailing list