[XeTeX] Using OpenType fonts of 2048 em-width glyphs with xelatex, using fontspec

Hugo Roy hugo+tug at ampoliros.net
Sun Nov 1 20:41:28 CET 2015


Hello everyone,

I have been modifying an old font from the 1990s in order to be able
to use it with my setup, using XeTeX.

Everything worked fine and I could produced PDFs, until I saw how they
were displayed by Mac OS’ Preview.app (see attachments for comparison).

The issue is that the fonts are in a 2048 em-wide PostScript size
instead of 1000 (I sometimes get a warning from FontForge that the
width should be 1000).

However, this does not seem to cause any problem for most PDF viewers
except Mac OS’ Preview.app and I am also able to get around the
problem with Preview.app by translating the PDF (1.5) to PostScript
and then back to PDF (1.4) again using ghostscript's ps2pdf.

So I guess there must be a solution to use the fonts and produce PDF
that will work fine everywhere.


I have tried to convert the font from 2048 to 1000 automatically with
Fontforge, but the results aren't satisfactory (especially, the
BoldItalic font was too much messed up on the x-height of the glyphs
compared to the rest of the fonts in the family).

At this point, I am not sure where to fix the problem, so I welcome
any expert opinion. If you think there are better places to ask for
opinions on this, I'm all ears.

Please contact me directly if you want to test yourself with the
fonts, I can't share these fonts publicly.

Thank you for your help,

-- 
Hugo Roy  
✆ +33608741341
 
Please use cryptography for email: see https://emailselfdefense.fsf.org/en/
Merci d’utiliser la cryptographie pour l’email : voir https://emailselfdefense.fsf.org/fr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture d'?cran de 2015-11-01 20-31-46.png
Type: image/png
Size: 222702 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20151101/3e3dcf85/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture d'?cran de 2015-11-01 20-32-15.png
Type: image/png
Size: 186588 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20151101/3e3dcf85/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20151101/3e3dcf85/attachment-0001.bin>


More information about the XeTeX mailing list