servo / pathfinder

A fast, practical GPU rasterizer for fonts and vector graphics
Apache License 2.0
3.6k stars 203 forks source link

Fonts #226

Open s3bk opened 5 years ago

s3bk commented 5 years ago

Right now Pathfinder uses font-kit, which in turn uses the native implementation or Freetype.

For my PDF Viewer I implemented various font parsers: TrueType, Type1 and Type2 in OpenType and CFF containers. I was abled to borrow some code from stb-truetype, but it has been oxidized a bit.

My question: Would this be of interest for Pathfinder? If so what API would be ideal?

pcwalton commented 5 years ago

Cool! I think pure-Rust implementations would be a good candidate for adding to font-kit. Font-kit is supposed to be the Swiss army knife of fonts for Rust, and I imagine lots of folks will want pure Rust implementations.