[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] FT_Face_Copy()?
From: |
Werner LEMBERG |
Subject: |
Re: [ft] FT_Face_Copy()? |
Date: |
Sat, 02 May 2009 07:53:57 +0200 (CEST) |
> 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 hooks,
> specifically cairo_ft_font_face_create_for_ft_face()
> http://cairographics.org/manual/cairo-ft-font.html#cairo-ft-font-face-create-for-ft-face
>
> Unfortunately, this connection exposes a memory-management mismatch,
> which is what I'm trying to simplify with this request [...]:
Asking the obvious: You have already contacted the cairo people? If I
understand the issue correctly, it isn't directly a problem with
FreeType but an interface issue between cairo and FreeType.
Adding an `FT_Face_Copy' shouldn't be very hard, but I'm not sure it
is the right solution to this problem.
David?
Werner