[texworks] Mac OS TeXworks + fontconfig

Charlie Sharpsteen chuck at sharpsteen.net
Thu Jun 23 20:25:57 CEST 2011


On Thu, Jun 23, 2011 at 11:14 AM, Jonathan Kew <jfkthame at googlemail.com>wrote:

> 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
>

That makes sense to me. However the core problem that came up with the
switch to Quartz seems to be that pTeX does not embed fonts. Should strict
interpretation of document fonts take precedence over usability for
non-english speakers?  Also worth noting is that TeXworks uses Fontconfig on
Linux so we have already crossed this line to some degree.

-Charlie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20110623/3f97e3f0/attachment-0001.html>


More information about the texworks mailing list