servo / font-kit

A cross-platform font loading library written in Rust
Apache License 2.0
693 stars 104 forks source link

`raster_bounds()` don't make sense #109

Closed jrmuizel closed 4 years ago

jrmuizel commented 4 years ago

canvas has its origin at the top left. typographic_bounds() use an origin at the bottom left. In the default implementation of raster_bounds() these two things are combined for a nonsensical result.