servo / font-kit

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

Fix glyph offset in Core Text loader #79

Closed glowcoil closed 5 years ago

glowcoil commented 5 years ago

Currently, the glyph gets translated completely off the canvas.

jrmuizel commented 5 years ago

This fails CI. Can you explain why you think it's correct?

glowcoil commented 5 years ago

I got a blank canvas when following the example in the README and the front page of the docs, and this change fixed it. I realize now that the examples are just incorrect. Closing this and opening #80.