Re: Memory fonts in pangocairo



On 08/18/10 04:40, Andrei Bucur wrote:
> Hello!
> 
> I was wandering if there is a way to use fonts placed in memory with the
> pangocairo API in Linux. I've tried to implement my own
> PangoCairoFontMap but it seems that the API was not written with
> extension in mind (for example I need the structures defined in
> pangocairo-private.h).

I know Firefox does that.  I don't remember the details.

But yes, right now you can't use memory fonts with pango directly.

behdad

 I'm very new to the GObject/Pango system so maybe
> there is another option to force pangocairo to use fonts loaded in
> memory. I want to use FT_New_Memory_Face to load the fonts and then
> create a fontset that contains the FT_Face objects. Saving the font on
> the disk and then using FcConfigAppFontAddFile is not an option.
> 
> Thanks,
> Andrei.
> 
> 
> 
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list


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