Tag Info

New answers tagged

1

It is impossible to know for certain from the given code what the issue is, but a reasonable guess is that you namesAsset string contain DOS/Windows style line endings, and therefore when you split by '\n' you leave an '\r' at the end of strings. I of course assume that the path you use is only a placeholder for code that reference the user folder properly. ...


0

I'm using the freetype library (http://www.freetype.org/) to load glyphs from freetype fonts and then use bin packing to generate a glyph texture/atlas during runtime, similar to how freetype-gl does it (https://code.google.com/p/freetype-gl/). When the game is initialized, I generate a glyph atlas with the printable characters from the ASCII range. This ...


4

In the games I've worked on, we restricted the subset of characters used for Chinese, Japanese, and Korean (together referred to as CJK) to only those required to display the text in the game. In other words, we didn't attempt to cram in every possible character; we just took the database of CJK text from our localization teams, did a pass over it to find ...



Top 50 recent answers are included