freetype
[Top][All Lists]
Advanced

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

RE: [ft] Questions with freetype


From: Fan Zhang
Subject: RE: [ft] Questions with freetype
Date: Tue, 24 Feb 2009 09:19:45 -0600

One way I am considering is to use emboldening.

Drawing a emboldening character in the bitmap buffer and erasing
internal part with normal bitmap generated by ft2 engine.

Did your guys try that direction?

Thanks
Fan 

-----Original Message-----
From: Mickey Gabel [mailto:address@hidden 
Sent: Tuesday, February 24, 2009 3:47 AM
To: Werner LEMBERG
Cc: Fan Zhang; address@hidden
Subject: Re: [ft] Questions with freetype

>
> If you load a glyph, you get the outline array, consisting of the on
> and off points of the outline.


>
>> Without having to use the stroker or process the outlines myself?
>
> I don't understand this question.  What do you want to extract?
> Please elaborate.
>
>
>      Werner


Well, basically I meant passing some magical flag to Glyph_to_Bitmap and

get the glyph outline rendered and anti-aliased (see Fan Zhang's image).
And if not, at least some way of getting the outline without having to 
load the glyph's vector shape and writing a bezier curve renderer
myself.

Can the glyph stroker be used for this purpose (FT_Glyph_Stroke)? Or 
FT_Outline_XXX?
I'll have a look at ftview and do my homework. Thanks for the tip.





reply via email to

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