Skip to content

henrygoodman/ttf-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ttf-parser

Personal project to learn ttf parsing in Rust

(Using JetBrainsMono-Regular to test)

  1. Initial rendering multiple glyphs on canvas

  • Monospace font looks alright here, although still need to adjust heights..
  1. Ascending height fixed, better spacing (for mono)

  2. Descending heights fixed

  3. Using Bezier Curves

TODO

  • Fix some glyph data showing weird (space is showing as 'H')
  • Handle compound glyphs
  • Improve spacing
  • Render glyphs totally (filling inside)
  • Fix some strange aliasing issues when zoomed out (could be rasterization issue)
  • Handle non-mono fonts
  • Other bugs that may present themselves!

About

Fun project to implement a ttf parser/renderer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages