[HarfBuzz] hb-view hb-shape documentation

Eduardo Castineyra eduardo at brainstorm.es
Thu Sep 26 10:51:20 PDT 2013


Now I see it, thanks!

How should I interpret the outcome for hb-shape?

 > hb-shape leelawad.ttf --text-file=thai.txt

[space=0+0|uni0E2B=1+1207|uni0E49=1 at 217,0+0|uni0E31=1 at 114,500+0|space=4+1122|uni0E2B=5+1207|uni0E31=5 at 114,0+0|space=7+1122|uni0E2B=8+1207|uni0E49=8 at 217,0+0|spac
e=10+1122|uni0E2B=11+1207|uni0E31=11 at 114,0+0|uni0E49.sm=11 at 114,500+0]

What I would expect to see was the unicode, the index of the glyph 
inside the leelawad.ttf font, and the screen position of the glyph. But 
I don't what those numbers and symbols mean.

El 26/09/2013 19:27, Khaled Hosny escribió:
> On Thu, Sep 26, 2013 at 06:48:26PM +0200, Eduardo Castineyra wrote:
>> Hi,
>>
>> I was trying to use the hb-view and hb-shape tools but I don't get
>> how do they work.
>>
>> This is the output I got from hb-view, is there any documentation to
>> know what can I do with the outcome?
> If you don't specify an output file name, hb-view will do some sort of
> Unicode-art to draw the glyphs on the terminal. This works fine on
> Unicode-capable terminals, but I guess Windows’s cmd.exe is not such a
> one.  You can specify the output file name and format explicitly, see
> hb-view --help.
>
> Regards,
> Khaled




More information about the HarfBuzz mailing list