[HarfBuzz] Bounding box info

Alexander Sabourenkov llxxnntt at gmail.com
Mon Dec 20 08:46:10 UTC 2021


On 12/17/21 10:41 PM, Johan Vromans wrote:
> Hi,
> 
> After shaping the buffer contains the output glyphs and their positions.
> 
> Maybe I'm overlooking something trivial, but does HarfBuzz provide a means
> to get the bounding box for the buffer?
> 
> -- Johan
> 

You can take a look at how this is done at https://github.com/lxnt/ex-sdl-freetype-harfbuzz

(amazingly, it still works after all those years)

-- 

./lxnt


More information about the HarfBuzz mailing list