[cairo] how to get text size ?

Enrico Weigelt, metux IT consult enrico.weigelt at gr13.net
Sat Jul 9 10:32:18 UTC 2016


On 08.07.2016 15:04, Stefan Salewski wrote:

> Maybe I miss something, but when I type "cairo text" in google I get
> this proposal at the top
> 
> https://cairographics.org/manual/cairo-text.html#cairo-text-extents

that only gives me usable width - the height is really strange:
for strings it gives 0, for others 6 (i'm using font sizes 20 and 30)

--mtx



More information about the cairo mailing list