freetype
[Top][All Lists]
Advanced

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

Re: [ft] Questions with freetype


From: Werner LEMBERG
Subject: Re: [ft] Questions with freetype
Date: Sun, 15 Mar 2009 20:43:09 +0100 (CET)

Sorry for the late reply.

> > Here is my question: is it possible to do this WITHOUT using the
> > span renderer callback?  It seems that I could use
> > Outline_Get_Bitmap and then combine it with the result from
> > Glyph_to_Bitmap.  Your thoughts?
>
> If I remember correctly the issue with that approach was that I
> couldn't find a way to get a common coordinate system for the two
> images and hence would get artifacts on some glyphs.  The outlined
> glyph (sorry, should really say stroked glyph to avoid confusion but
> old habits die hard) image is going to have larger dimensions than
> the regular glyph image and how do you find the "pivot" for both of
> them?  The stroked version isn't necessarily an even number of
> pixels wider and taller so you can't just use width/2 and height/2.

The origin doesn't change.  Just try `ftview' and switch between
normal and stroked view using keys `1' and `4'.


     Werner




reply via email to

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