Re: Where to get 'PangoContext*' from?



On 01/20/2010 04:29 AM, Petr Tomasek wrote:
> If I would use pango_font_map_create_context() as suggested in the doc's
> where do I get PangoFontMap* from?
> (And I don't undestand anyway, frankly, why would one need 
> PangoFontMap just for itemizing a string?)

Ah, didn't see this part of your email.  Itemizing assigns a font to each
item.  And you can use pango_cairo_font_map_get_default().  But then again,
all you need is PangoScriptIter.

behdad


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