[Xft] text width of monospaced fonts

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

 



Hi,

let's say I have a XftFont object and I'd like to calculate the text
width of a certain string of this font.

Is there any way to find out whether the font is monospaced to be able
to calculate the text width manually instead of calling
XftTextExtents8 all the time?

Cheers,

Matthias

-- 
Matthias Neubauer                                       |
Universit?t Freiburg, Institut f?r Informatik           | tel +49 761 203 8060
Georges-K?hler-Allee 79, 79110 Freiburg i. Br., Germany | fax +49 761 203 8052


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux