SectrPrototype/code/font/VEFontCache
Ed_ 0d9623c340 layer text rendering works, ui has issues, there is perf problems
* Added todos for VEFontCache
* Going be remaking the direct box traversal rendering again, I'll keep both layer based and it as a option to switch between
* Need to implement a quad tree for the ui boxes to help with collision test traversal
2024-06-24 11:29:44 -04:00
..
atlas.odin Fixes to shape cache and atlas region math 2024-06-16 08:56:06 -04:00
draw.odin layer text rendering works, ui has issues, there is perf problems 2024-06-24 11:29:44 -04:00
LRU.odin Fixed input event buffer issues 2024-06-23 13:59:04 -04:00
mappings.odin Progress on fleshing out rendering (Getting ui ready to render in "layer batches") 2024-06-23 02:47:13 -04:00
parser.odin layer text rendering works, ui has issues, there is perf problems 2024-06-24 11:29:44 -04:00
Readme.md layer text rendering works, ui has issues, there is perf problems 2024-06-24 11:29:44 -04:00
shaper.odin Finished first draft for VEFontCache font provider hookup for sokol_gfx (untested) 2024-06-09 21:39:49 -04:00
VEFontCache.odin layer text rendering works, ui has issues, there is perf problems 2024-06-24 11:29:44 -04:00

VE Font Cache : Odin Port

This is a port of the library base on fork

TODO (Making it a more idiomatic library):

  • Use Odin's builtin dynamic arrays
  • Use Odin's builtin map type
  • Setup freetype, harfbuzz, depedency management within the library

TODO Documentation:

  • Pureref outline of draw_text exectuion
  • Markdown general documentation

TODO Content:

  • Port over the original demo utilizing sokol libraries instead
  • Provide a sokol_gfx backend package

TODO Additional Features:

  • Support for freetype
  • Support for harfbuzz
  • Ability to set a draw transform, viewport and projection
    • By default the library's position is in unsigned normalized render space

TODO Optimizations:

  • Support more granular handling of shapes by chunking any text from draw_text into visible and whitespace/formatting