[OpenFontLibrary] multiple fonts in a single file
Ed Trager
ed.trager at gmail.com
Fri May 22 11:44:47 PDT 2009
Hi, Ben,
Not true. The fonts array *can* have multiple entries : Fontaine can
be called with multiple font files as parameters. This is exactly how
a ZIP package is handled: Multiple fonts are extracted from the ZIP
package, then passed to fontaine. Fontaine is called only once. So
keep the loop.
Best - Ed
>>
>> As far as Fontaine goes, it will definitely see the first font face in
>> a TTC package. But I'm reasonably certain that I don't yet have code
>> to specifically handle the case of TTC files.
>>
>
> OK, so there's only ever a single entry in the fonts array? I currently loop
> over it so that might be future-proof ;-)
>
More information about the OpenFontLibrary
mailing list