freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] Outlines...


From: David Turner
Subject: Re: [Devel] Outlines...
Date: Mon, 09 Jul 2001 17:35:10 +0200

Bonjour Laurent,

Laurent Lequenne a écrit :
> 
> Hello !
> 
> I'm using freetype 2 for our font renderer on a Digisuit Matrox Video Card,
> I already have nice results using the library. I still need to find out how
> to draw edges of the glyphs instead of plain glyphs ?
>
Generating "outlined" or "stroked" glyph outlines is not a trivial problem,
especially in FreeType's fixed-point world, though I'd love to implement it
some day.. An alternative is to draw "vectors", as you say so..
 
> I didn't find any function to do that, and if it's not possible I would like
> to retrieve the Vectors to draw the edges, so I could use that thing in
> production :-)
>
Have a look at FT_Outline_Decompose, it certainly provides what you need.
Note that you'll need to handle bezier arcs directly (it won't sub-divide
the arcs into segments)
 
> I also have some problems using Italics when I want to rotate the text. I
> can use italic fonts till I do not rotate the text ? Is there any trick to
> reach in it ?
>
What do you mean ?? There's is absolutely no reason for italics to behave
differently than regular or bold typefaces.

Are you speaking of "obliqued" fonts, which are transformed versions of
regular fonts ? In this case, you probably didn't set correctly your
transformation matrix.. I'm unable to help you without more information..
 
Cheers,

- David



reply via email to

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