freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freetype] using a Stroker to make a glyph border pixmap


From: Werner LEMBERG
Subject: Re: [Freetype] using a Stroker to make a glyph border pixmap
Date: Sat, 10 Jul 2004 08:43:32 +0200 (CEST)

> if my understanding is correct, the Stroker functions should enable me
> to obtain a border of a glyph.  I've only found a couple of stroker
> examples, and documentation seems rather scant.  It seems using
> FT_Glyph_Stroke is the simplest way, but I can't understand why this
> simple test program doesn't print out the border; it just prints the
> normal glyph instead.  Can someone tell me what I'm doing wrong?

Comparing with the stroker code in the ftview.c demo program, you are
using FT_Get_Glyph before FT_Stroker_Set which means that the glyph
outline has already been loaded before any stroking has been done.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]