> Their recommended solution was to not use the FT cache. :P
> [Apparently, Pango doesn't use the cache, and they've never seen
> anyone else use it either...]
Hmm. I suppose Cairo has a cache of own... Otherwise, you have a
loss of efficiency and you should file a bug report.
>> Adding an `F
Werner LEMBERG wrote:
In our code, we use FTC_Manager_New()/etc to cache the various
faces, glyphs, cmaps, etc. [...]
I've recently added Cairo (http://cairographics.org/) support to our
code, for exporting to PDF/etc. In order to get Cairo to render our
text correctly, I use their FT-specific
2009/5/2 Werner LEMBERG
>
>
> Adding an `FT_Face_Copy' shouldn't be very hard, but I'm not sure it
> is the right solution to this problem.
>
Actually this is not trivial, since the FT_Face could be using a custom
FT_Stream to access the font file, and there is no easy way to clone these
objects
> In our code, we use FTC_Manager_New()/etc to cache the various
> faces, glyphs, cmaps, etc. [...]
>
> I've recently added Cairo (http://cairographics.org/) support to our
> code, for exporting to PDF/etc. In order to get Cairo to render our
> text correctly, I use their FT-specific rendering
Werner LEMBERG wrote:
I didn't see any sort of way to copy an allocated FT_Face (analogous
to the existing FT_Glyph_Copy()).
- Could this be added to a future version?
- In the meantime, could someone suggest a safe/efficient
work-around? Currently, I'm having to go through FT_Open_Face()
a
> I didn't see any sort of way to copy an allocated FT_Face (analogous
> to the existing FT_Glyph_Copy()).
>
> - Could this be added to a future version?
> - In the meantime, could someone suggest a safe/efficient
> work-around? Currently, I'm having to go through FT_Open_Face()
> again, but
Hi all,
I didn't see any sort of way to copy an allocated FT_Face (analogous
to the existing FT_Glyph_Copy()).
- Could this be added to a future version?
- In the meantime, could someone suggest a safe/efficient work-around?
Currently, I'm having to go through FT_Open_Face() again, but
re-ope