[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] does the face cache really work ?
From: |
Chia I Wu |
Subject: |
Re: [ft-devel] does the face cache really work ? |
Date: |
Thu, 2 Jun 2005 16:01:53 +0800 |
User-agent: |
Mutt/1.5.9i |
On Thu, Jun 02, 2005 at 02:52:58AM +0000, Anstinus Anstinus wrote:
> Consider the situation: I looked up a FT_Face by myFaceID1 at first, then
> at a later time, I want to get the same FT_Face. Should I find the
> myFaceID1 in my list and use it to lookup a FT_Face , or create a new
> myFaceID2 with the same content as myFaceID1 ?
Use myFaceID1.
It's the id itself (or memory address, if you feels clearer) being
used to look up the face, not the contents hidden behind the id.
>
> Another question: The chars freetype rendered are all "solid". Can freetype
> render only the outline without fill it ? I didn't find such interface in
> documents.
You may need to use FT_Outline_Render and set your own version of
gray_spans in the raster parameters. But I am not sure if this is
feasible.
--
Regards,
olv