[XeTeX] Bad glyph positions with DejaVu Sans Mono and Courier New

Nikos Platis nplatis at freemail.gr
Tue Apr 28 01:22:34 CEST 2009


On Tue, Apr 28, 2009 at 00:49, Peter Dyballa <Peter_Dyballa at web.de> wrote:

>
> Am 27.04.2009 um 22:14 schrieb Tomáš Janoušek:
>
> > Courier New shipped with Windows Vista and OpenSolaris (about 690k
> > in size)
> > works fine -- and in Windows Vista it has an OpenType icon (while
> > being a .ttf
> > file, in fact).
>
> OTF can be TTF or PostScript/CFF.
>
> > Any ideas, anyone?
>
>
> The font Sun-ExtA seems to align left in both Apple driven and Adobe
> viewers + Ghostscript. With otfinfo, part of TeX Live, you can check
> which tables a font has. The GDEF or Glyph Definition table is common
> to these fonts while missing in those which work correctly ...
>
>
I am not sure this is correct. In my system all three fonts Courier New (the
latest version), DejaVu Sans Mono and Consolas have this table but the last
two exhibit the problem while the first does not.

otfinfo -t cour.ttf
   7000 DSIG
   1012 EBDT
   1332 EBLC
    588 GDEF
  14418 GPOS
   5078 GSUB
     96 OS/2
   4500 VDMX
   1012 bdat
   1332 bloc
   8606 cmap
   1932 cvt
   1496 fpgm
     16 gasp
 579434 glyf
     54 head
     36 hhea
  11864 hmtx
  12608 loca
     32 maxp
   2629 name
  32000 post
   2737 prep

otfinfo -t DejaVuSansMono.ttf
     28 FFTM
    174 GDEF
  13922 GPOS
   1336 GSUB
     86 OS/2
   5418 cmap
    560 cvt
    172 fpgm
     12 gasp
 236680 glyf
     54 head
     36 hhea
   6238 hmtx
  12464 loca
     32 maxp
   8469 name
  29517 post
   1819 prep

otfinfo -t consola.ttf
   7000 DSIG
     30 GDEF
     88 GPOS
   2122 GSUB
     96 OS/2
   3630 cmap
   1032 cvt
   2327 fpgm
     16 gasp
  68296 glyf
     54 head
     36 hhea
   1426 hmtx
   1420 loca
     32 maxp
   4647 name
     32 post
   5908 prep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20090428/f37cab85/attachment.html 


More information about the XeTeX mailing list