[ pdftex-Bugs-385 ] \ptexnoligatures breaks \mathaccent
Bugs item #385, was opened at 2005-07-10 17:38 You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=493&aid=385&group_id=106 Category: Fonts Group: None Status: Open Resolution: None Priority: 5 Submitted By: Robert (schlcht) Assigned to: Taco Hoekwater (taco) Summary: \ptexnoligatures breaks \mathaccent Initial Comment: % The new \ptexnoligatures primitive will break the % horizontal positioning of \mathaccents if the base % character is slanted. % There is no problem with \accent, nor with \mathaccent % on upright characters: $\dot{A} \dot{\rm{A}} \dot{\Delta} \dot{\mit\Delta}$ {\tenit \accent'137 A} \ptexnoligatures\tenit % OK \ptexnoligatures\textfont0 % = cmr10, \rm % OK \ptexnoligatures\textfont1 % = cmmi10, \mit % breaks shift $\dot{A} \dot{\rm{A}} \dot{\Delta} \dot{\mit\Delta}$ {\tenit \accent'137 A} \bye, Robert ----------------------------------------------------------------------
Comment By: Taco Hoekwater (taco) Date: 2005-07-10 18:50
Message: Logged In: YES user_id=1608 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. ---------------------------------------------------------------------- You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=493&aid=385&group_id=106
noreply@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
noreply@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
participants (2)
-
noreply@sarovar.org
-
Taco Hoekwater