Changes between Initial Version and Version 1 of Ticket #2457
- Timestamp:
- Mar 13, 2014, 4:31:21 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2457 – Description
initial v1 4 4 5 5 Only font generation time has increase a big deal, but as all Chinese glyphs have the same bounding box, the naive placement algorithm tends to use even less texture space than the smart algorithm. This is because the entire Chinese unicode block fits into a perfect grid, and takes up 90% of the total texture space. While the smart algorithm leaves this grid, and creates quite some holes. 6 7 The charset.txt, and the generator for that file have become unnecessary too. Finding out which ranges were used for which languages was too much work. Instead, all glyphs available in the font are rendered. 6 8 7 9 I also edited the GUI text renderer to mark every Chinese glyph as the end of a word. Chinese texts use no spaces, so the text was seen as one word, which didn't get divided over several lines.