freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] The wrong face for the requested index is loaded with som


From: suzuki toshiya
Subject: Re: [ft-devel] The wrong face for the requested index is loaded with some dfonts
Date: Sat, 23 Feb 2013 01:30:50 +0900
User-agent: Mozilla-Thunderbird 2.0.0.12 (X11/20080406)

Hi,

Sorry for unexpected trouble caused by dfont driver.
I will take a look.

Regards,
mpsuzuki

Khaled Hosny wrote:
> Hi all,
> 
> Recently we switched to building FreeType for TeX Live on Mac without
> the --with-old-mac-fonts option that we were using previously, and I
> just found that there is an incompatibility in the handling of face
> indices in dfont files between the old a new configurations.
> 
> For some dfont files (the old, dfont, version of Hoffler Text, the
> Helvetica and Courier fonts bundled with MS Office for Mac, to give some
> examples) the loaded face for a given index is difference, for example
> Courier.dfont, index 0 loads "Courier-Oblique" while it should be
> loading "Courier" as it does when configured with --with-old-mac-fonts.
> 
> This is because FT_Raccess_Get_DataOffsets() (in src/base/ftrfork.c) is
> sorting the offsets by reference ID which do not always match there
> order in the file. This was introduce in commit 540b954 to fix an issue
> with HelveLTMM font, I'm not sure what to test in this font, but may be
> the sorting can be limited to when "tag == TTAG_POST" or even "tag !=
> TTAG_sfnt"?
> 
> Regards,
> Khaled
> 
> _______________________________________________
> Freetype-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/freetype-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]