[HarfBuzz] Using HarfBuzz to get final glyphs

Ed Trager ed.trager at gmail.com
Wed Mar 19 20:04:22 PDT 2008


It's true that Harfbuzz is not well-documented in its current state,
but I think there are some example code files that show you most of
what you need to do to use HarfBuzz with FreeType.  I'm sure the
example files are included in the git repository.

On Wed, Mar 19, 2008 at 8:58 AM, Steve Mills <smills at multi-ad.com> wrote:
> On Mar 19, 2008, at 03:52:14, Pierre Marchand wrote:
>
>  > If you want to quickly start, you
>  > might want to look into harfbuzz-gsub.h in Harfbuzz source where
>  > you'll find
>  > quite self-explanatory prototypes, considering you're familiar with
>  > OTF
>  > (else, you can't save a tour at http://www.microsoft.com/typography/otspec/)
>  > .
>  > From my point of view, GPOS corresponding functions are not so easy
>  > because
>  > they require that you setup a HB_Font (but at some point you have to
>  > manage
>  > it in order to get at least "kern" feature).
>
>  Thanks for the pointer. Too bad there's no real documentation that I
>  can find.
>
>
>  > If you're looking for an actual internationalization solution,
>
>  Not at this point.
>
>
>  > Note: Reading your message again, I see that I missed the point. HB
>  > does not
>  > manage glyphs (nor in vector nor in bitmap) itself but rather glyph
>  > indexes.
>  > It's up to the caller to pick up the corresponding shapes in the
>  > fontfile
>  > (generally with the help of Freetype).
>
>
>  I probably didn't explain it well enough, but yes, as long as HarfBuzz
>  can do glyph *index* replacement, that's fine. I used the term "glyph"
>  generically to mean glyph index, not the actual outline path. We
>  already have code that loads the paths.
>
>
>  _________________________________________________________
>  Steve Mills                              Me: 952-401-6255
>  Senior Software Architect                         MultiAd
>  smills at multiad.com                       www.multi-ad.com
>
>
>  _______________________________________________
>
>
> HarfBuzz mailing list
>  HarfBuzz at lists.freedesktop.org
>  http://lists.freedesktop.org/mailman/listinfo/harfbuzz
>



More information about the HarfBuzz mailing list