a font engine like freetype and harfbuzz together
  • C 97.3%
  • CMake 2.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-29 15:08:15 +03:00
assets README: add some preview 2026-10-29 15:08:15 +03:00
cmake libfont: a font raserizer library 2026-10-29 14:45:49 +03:00
src/font libfont: a font raserizer library 2026-10-29 14:45:49 +03:00
.gitignore libfont: a font raserizer library 2026-10-29 14:45:49 +03:00
CMakeLists.txt libfont: a font raserizer library 2026-10-29 14:45:49 +03:00
LICENSE libfont: a font raserizer library 2026-10-29 14:45:49 +03:00
README.md README: add some preview 2026-10-29 15:08:15 +03:00

Font

a library that being using to load a ttf font file

today todo

  • fill area algo
  • for each contour determine if in or out
  • get a point inside each out cotour(s)

next time todo

  • compound glyph (test it with 'ت')
  • lsb + descent + baseline !
  • draw a sentence

knowledge needed

  • serialization/deserilaization
  • ttf parsing
  • 2d graphics
    • flood area
    • rat casting
    • even odd rule (+ ray casting)
    • polygon orientation (clockwise/anticlockwise depends on the area)
    • tga format (image format)
    • transformations
    • bezier (1st, 2nd and 3rd degree)
  • little/big endian
  • utf8 to unicode
  • bidi

Problems we have

  • is_point_in is still buggy

asset1 asset2 asset3 asset4