pdf-raku / Font-FreeType-raku

Read font files and render glyphs using FreeType2
Artistic License 2.0
2 stars 3 forks source link

Face method 'bounding-box' should return a four-element array or list as in Font::AFM #13

Closed tbrowder closed 1 year ago

tbrowder commented 1 year ago

Similar to Font::AFM's FontBBox.

dwarring commented 1 year ago

I'm relucent to change bounding-box given that it's already in use.

Instead, I'm adding a FontBBox method that returns an array. Also adding documentation that bounding-box returns a struct with x-min, y-min, x-max and y-max accessors.

Hope this suits.

tbrowder commented 1 year ago

That's fine, David. Thanks!