Posted August 10, 2016
I was able to implement accented characters in game's fonts for our Czech translation project. However I am facing one final problem that is present only in one particular case of floating texts.
As you can see on this screenshot attached the word wrapping is apparently not OK. Maybe you can't see what exactly is wrong, but at the end of the lines there are supposed to be words "OVŠEM", "HLAVONOŽCI" and "MOŘSKÉHO". However words are broken as if the accented characters were considered breaking characters like Space is. And it splits the word while not displaying the breaking character.
I am out of ideas how to get this fixed. Most of the accented characters are actually substituted by another displayable character of the font table but in this problem also the basic accented characters like á í é which did not require substitution are breaking the line. I did not figure out another way how to get thegame display our desired characters.
Any help or explanation of font mechanics of the engine?
As you can see on this screenshot attached the word wrapping is apparently not OK. Maybe you can't see what exactly is wrong, but at the end of the lines there are supposed to be words "OVŠEM", "HLAVONOŽCI" and "MOŘSKÉHO". However words are broken as if the accented characters were considered breaking characters like Space is. And it splits the word while not displaying the breaking character.
I am out of ideas how to get this fixed. Most of the accented characters are actually substituted by another displayable character of the font table but in this problem also the basic accented characters like á í é which did not require substitution are breaking the line. I did not figure out another way how to get thegame display our desired characters.
Any help or explanation of font mechanics of the engine?
Post edited August 10, 2016 by miracle.flame
No posts in this topic were marked as the solution yet. If you can help, add your reply