[MacPorts] #30745: xdvipdfmx not able to use /System/Library/*.dfont fonts, freetype --with-old-mac-fonts involved
MacPorts
noreply at macports.org
Sun Aug 14 05:12:52 PDT 2011
#30745: xdvipdfmx not able to use /System/Library/*.dfont fonts, freetype --with-
old-mac-fonts involved
---------------------------------+------------------------------------------
Reporter: pguyot@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.1
Keywords: | Port: texlive-bin freetype
---------------------------------+------------------------------------------
Comment(by pguyot@…):
Freetype should be able to handle dfont files on non-Mac builds. Yet,
without --with-old-mac-fonts, freetype does not return the proper font to
xdvipdfmx as shown by the tests I ran.
If texlive-bin is compiled as on non-Mac (i.e. as in trunk), xdvipdfmx
fails in cidtype2.c, line 969 :
{{{
#ifdef XETEX_MAC /* disable the index check here because of how .dfonts
are handled */
offset = 0;
#else
if (opt->index > 0) {
ERROR("Invalid TTC index (not TTC font): %s", name);
} else {
offset = 0;
}
#endif
}}}
This is because opt->index is greater than 0 which is the index of the
style in the given face (and might refer to the index of the sfnt resource
?).
--
Ticket URL: <https://trac.macports.org/ticket/30745#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list