FreeTypeAbstraction.jl icon indicating copy to clipboard operation
FreeTypeAbstraction.jl copied to clipboard

How do we obtain the height and width of a char?

Open davibarreira opened this issue 3 years ago • 0 comments

I've been trying to figure out how to obtain the height and the width of a char, but after reading the code, it's not clear to me how to do this. Consider the following char and font:

'X': ASCII/Unicode U+0058 (category Lu: Letter, uppercase)
FTFont (family = cmex10, style = Regular)

I've tried using height_insensitive_boundingbox() to get the dimensions. But it only worked with the width, and not the height.

davibarreira avatar Dec 29 '21 21:12 davibarreira