[HarfBuzz] output font OT features (cli tool?)
Behdad Esfahbod
behdad at behdad.org
Mon May 28 14:44:52 PDT 2012
On 05/28/2012 05:41 PM, Rolf Langenhuijzen wrote:
> ------
> JK > An alternative would be to use otfinfo from Eddie Kohler's LCDF TypeTools package, which can report a variety of info about a font, including OT features that are present.
> ------
>
> I missed this reply earlier and saw it just now on the list archive online.
>
> Brilliant! It's a bit easier to parse the output of otfinfo is than the complete info from "main" because of the options otfinfo has.
> Just tried it (for once building from source was easy as 1-2-3) and it showed me the correct info from the fonts, love it!
Well, if you want to parse it into a C / C++ program, you may as well call
hb-ot-layout.h API directly.
behdad
> Rolf
>
>
> On May 27, 2012, at 2:51 PM, Behdad Esfahbod wrote:
>
>> On 05/27/2012 08:49 AM, Rolf Langenhuijzen wrote:
>>> Hello,
>>>
>>> Is there a command line tool available (from http://cgit.freedesktop.org/harfbuzz/) or anything similar to output supported/implemented opentype features of a font?
>>
>> Right now there is one in the src directory, called main. It uses HB
>> internals and not the public API. Eventually I'll add a hb-inspect or
>> something under util/ to do that using the public API.
>>
>> behdad
>>
>>> Rolf
>
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
>
More information about the HarfBuzz
mailing list