Re: Computing character height



Le lundi 11 mars 2013 à 18:34 +0100, Antonio Vieiro a écrit :

         pango_layout_iter_get_char_extents(iter, &extents);

Have a look at the documentation, this function returns the logical
extents of the current character.

If you want to get the ink extents, use
pango_layout_iter_get_cluster_extents.

        Emmanuel.



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