subchannel13 / Stareater

4X turn based strategy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SDF font

subchannel13 opened this issue · comments

Replace simple raster characters to texture with their SDF counterparts.

SDF is not good for rendering small text sizes so big and small texts will be handled differently.

  • Text rendering utils in proper namespace
  • For font sizes under certain threshold make character atlas for exactly that size
  • Ability to work with multiple character atlas textures

Multiple atlases are not needed. Everything else is implemented but SDF rendering quality could be better.