[HarfBuzz] hb_buffer_get_glyph_positions() for NotoColorEmoji.ttf

2017-05-19 Thread Takao Fujiwara
I'd like to get a character width and height and am thinking to use hb_buffer_get_glyph_positions()->x_advance . I tried hello-harfbuzz with noto-emoji fonts: https://github.com/behdad/harfbuzz-tutorial/blob/master/hello-harfbuzz.c https://github.com/googlei18n/noto-emoji/tree/master/fonts Seem

Re: [HarfBuzz] hb_buffer_get_glyph_positions() for NotoColorEmoji.ttf

2017-05-22 Thread Takao Fujiwara
Thank you for your reply. On 05/21/17 10:17, Behdad Esfahbod-san wrote: Try using hb-ot-font.h font_funcs instead of hb-ft.h one. hb-ft needs fixing for bitmap fonts... On Fri, May 19, 2017 at 1:45 AM, Takao Fujiwara mailto:fujiw...@redhat.com>> wrote: I'd like to get a char