On Jan 1, 2008, at 3:11 AM, Werner LEMBERG wrote:


Now, I want a stroke around the glyphs (of n pixel wide, where n is
a float).  I could put it in the red channel for example (so I can
use it in GL fragment shader later to do whatever I want).

The word `stroke' is misleading, I think, since this means something
different in the font world.  You rather mean emboldening, don't you?

Try the ftview demo program and press keys `2' to see FreeType's
emboldening feature.


Actually, what I wanted was what you have when doing '3' in the ftview program.

My idea is to put the first (key '1' in ftview) bitmap (as I do now) in the gray channel, and the "stroke" bitmap (key '3' in ftview) in, let's say, the red channel.

I will look into the ftview source, thanks for the direction.

Best regards and happy new year

--
kuon

http://kuon.goyman.com
http://goyman.com



_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to