A TTF Font File Parser

Iver c4bfcc5ada set glyph.components to null for glyphs with no components (was causing issues with freeing uninited memory) 4 months ago
.vscode 839e3aee23 first commit 5 months ago
build c4bfcc5ada set glyph.components to null for glyphs with no components (was causing issues with freeing uninited memory) 4 months ago
fonts b14a7448d3 added kern table support 4 months ago
src c4bfcc5ada set glyph.components to null for glyphs with no components (was causing issues with freeing uninited memory) 4 months ago
Makefile 839e3aee23 first commit 5 months ago
dbg 839e3aee23 first commit 5 months ago
readme.md 688729c653 added data from hhea and hmtx tables 4 months ago
run 839e3aee23 first commit 5 months ago

readme.md

SourParse

World's Best TTF Parser, 2025

Todo List

  • fix memory leaks
  • [NOTE: not doing this. It's fine for the user to just read it themselves] read composite glyphs' child glyphs into memory as positions (I actualy might make it just be references to glyphs and then just compute the values at runtime, but with a whole ttf file loaded i think its only like 1mb super maximum of memory so it really doesn't matter)
  • add support for other formats
  • add complete TTF support (all the platforms and encodings. Well not the deprecated/obscure ones probably)
  • read glyph position data (kerning, width to move, etc)
  • add composite glyph transforms besides position