Re: How to check if a font has a given character?



Am Donnerstag, den 15.09.2005, 16:26 -0300 schrieb Eduardo M KALINOWSKI:
    I want to check if the font I'm using (in a GtkTextView, if that
matters) contains some characters (specifically, the "line-drawing"
characters). How can I do that with Pango? The function
pango_fc_font_has_char() apparently does exactly what I want, however I
couldn't discover how to get a PangoFcFont *.

You should take a look at PangoCoverage, which can be requested using
pango_font_get_coverage (). 

-- 
Christian Neumair <chris gnome-de org>


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