[XeTeX] Using OpenType fonts of 2048 em-width glyphs with xelatex, using fontspec
Adam Twardoch (List)
list.adam at twardoch.com
Mon Nov 2 10:11:02 CET 2015
Are these fonts TrueType-flavored OpenType (.ttf), CFF-flavored OpenType (.otf), or some other format?
Sent from my mobile phone.
> On 01.11.2015, at 20:41, Hugo Roy <hugo+tug at ampoliros.net> wrote:
>
> 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/
> <Capture d'écran de 2015-11-01 20-31-46.png>
> <Capture d'écran de 2015-11-01 20-32-15.png>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
> http://tug.org/mailman/listinfo/xetex
More information about the XeTeX
mailing list