Closed lain-dono closed 3 years ago
Mostly solves #23. via implementing Font::from_face and AsRef/AsMut to ttf_parser::Face and Deref/DerefMut to ttf_parser::FaceTables.
Font::from_face
AsRef
AsMut
ttf_parser::Face
Deref
DerefMut
ttf_parser::FaceTables
All this allows use of Face as a drop-in replacement for ttf_parser::Face.
Face
In addition, I updated the dependencies and made Face::units_per_em public.
Face::units_per_em
Thanks!
Mostly solves #23. via implementing
Font::from_face
andAsRef
/AsMut
tottf_parser::Face
andDeref
/DerefMut
tottf_parser::FaceTables
.All this allows use of
Face
as a drop-in replacement forttf_parser::Face
.In addition, I updated the dependencies and made
Face::units_per_em
public.