[HarfBuzz] Alternate Glyph Support

Behdad Esfahbod behdad.esfahbod at gmail.com
Thu Dec 31 05:13:47 PST 2015


On 15-12-30 05:12 AM, Liam wrote:
> Hello,
> 
> I am a developer looking to support open type font features for alternate
> glyphs (mostly for swashes and ligatures). Currently I am using FreeType to
> obtain a bitmap and to compose it onto another bitmap. I am looking for
> examples or documentation for how to select an alternate glyph and obtain a
> bitmap.

Hi Liam,

Here's some code that should get you started:

  https://github.com/behdad/harfbuzz-tutorial/blob/master/hello-harfbuzz.c

Cheers,

behdad


More information about the HarfBuzz mailing list