[HarfBuzz] Building from git on OS X with Homebrew

Jiang Jiang gzjjgod at gmail.com
Mon Mar 24 14:36:40 PDT 2014


On Mon, Mar 24, 2014 at 10:12 PM, Jiang Jiang <gzjjgod at gmail.com> wrote:
> Am I missing something or why are the glyphs always 0?

I just realized that src/test.cc adds some UTF-8 text that might not
be supported by the font given. I changed the text to some ASCII text
and it seemed to work.

However, I am also trying with an example where I simply create the
face from a CGFontRef like this: https://gist.github.com/jjgod/9749641

I run it with: ./test-hb-coretext Palatino abc

Yet I always got:

cluster 0 glyph 0x0 at (0,0)+(1536,0)
cluster 1 glyph 0x0 at (0,0)+(1536,0)
cluster 2 glyph 0x0 at (0,0)+(1536,0)

So it appears that the bounding box is correct but glyph id is always
0, is that supposed to work?

- Jiang


More information about the HarfBuzz mailing list