[texworks] Mac OS TeXworks + fontconfig

Jonathan Kew jfkthame at googlemail.com
Thu Jun 23 20:14:55 CEST 2011


On 23 Jun 2011, at 19:03, Charlie Sharpsteen wrote:

> On Tue, Jun 14, 2011 at 2:16 AM, Stefan Löffler <st.loeffler at gmail.com> wrote:
>>> So, unless anyone has some good ideas on how to add fallback support
>>> to the Quartz font handler, we may be back to the question of "should
>>> we implement native mac fonts or just use Fontconfig?"
>> 
>> FWIW, Tw and evince on Linux (both using poppler+fontconfig) show the
>> file properly, whereas Adobe Acrobat complains about missing language
>> supports and only displays dots...
>> What font is substituted by Fontconfig, anyway? Is there any obvious
>> relation to the requested font?
> 
> Fontconfig uses `MS Gothic`, which I would never suspect to contain
> CJK glyphs. Dohyun noted that the glyphs used are correct, although
> they are sans-serif when a serif family would be the correct
> substitution.  

I'm not at all sure the TeXworks PDF viewer should be doing font substitutions like this. If I'm using TeX to typeset documents, I expect precise control over the final appearance, and I expect the viewer to accurately reflect this. Doing font substitution means that the preview of the typeset document may bear little resemblance to the output I'll get back from the printshop (for example), or the view that another user (with different local fonts) will see. That's not what TeX and PDF are designed for. If I wanted that behavior, I'd write a Word or HTML document.

JK




More information about the texworks mailing list