Rampastring / WorldAlteringEditor

Map editor for C&C: Red Alert 2, C&C: Tiberian Sun and Dawn of the Tiberium Age.
Other
67 stars 20 forks source link

I try to change SpriteFont to fit my language,but something went wrong. #182

Closed Chai-Lu closed 1 month ago

Chai-Lu commented 2 months ago

Message: Text contains characters that cannot be resolved by this SpriteFont. (Parameter 'text')

I wish using XNAContentCompiler to create SpriteFontx.xnb

Sample `<?xml version="1.0" encoding="utf-8"?>

Arial 10 0 true Ȁ ` and more larger chinese xml to test ,but it doesn`t work. Is there any different from Client xnb file? What should I do to solve problem. Using branch-yr for RA2 mod Edition [except.txt](https://github.com/user-attachments/files/15942526/except.txt)
Rampastring commented 2 months ago

You need to specify a default character for your font. The default character is used when the application tries rendering a character that does not exist in the font.

<DefaultCharacter>?</DefaultCharacter>