Grant-Nelson / ThreeDart

3D graphical rendering tool for websites written in Dart.
Other
16 stars 11 forks source link

Add a tool for writing text to the screen #106

Open Grant-Nelson opened 5 years ago

Grant-Nelson commented 5 years ago

This only needs to be 2D characters stored in a texture at a specific font size (not an SVG). Add a generator to create a large number of symbols to be automatically generated with fonts. Also allow predefined symbol look up textures can be given and defined. Non-mono-spaced fonts must be supported. Need to have auto-wrapping to a box (no scroll bars on boxes). Kurning should be thought of so that a correct interface for defining when characters can be kurned added (we can add an English kurning lookup later). Don't bother supporting unicode control/movement characters such as move back. At minimum Latin glyphs, numbers, and basic symbols are needed. This ticket maybe broken into smaller tickets as needed