ShiVa3D
Font not showing on components
All about the StoneScriptFont not showing on components
by law » 22 Jul 2007, 14:32
I created a font resource from my system font and tried to use it in my HUD
but no text is shown on the label. When I use th default font on the same
component, it works fine
Here is my font file
http://www.create-101.com/3d/Arial.fnt
and the fonts texture file
http://www.create-101.com/3d/Arial.tga<br><br>Post edited by: law, at: 2007/07/22 16:33
but no text is shown on the label. When I use th default font on the same
component, it works fine
Here is my font file
http://www.create-101.com/3d/Arial.fnt
and the fonts texture file
http://www.create-101.com/3d/Arial.tga<br><br>Post edited by: law, at: 2007/07/22 16:33
- law
- Fresh Boarder

- Posts: 6
Re:Font not showing on components
by NiCoX » 22 Jul 2007, 16:03
OK, I just tested your font, and it works well for me.
If the DefaultFont works, but another one not, I think that the problem can be the following one :
The DefaultFont is certainly more thin than Arial, and your text is able to fit inside the component only with it.
I suggest to extend the width of the component, or to reduce the text height attribute of the component.<br><br>Post edited by: NiCoX, at: 2007/07/22 18:04
If the DefaultFont works, but another one not, I think that the problem can be the following one :
The DefaultFont is certainly more thin than Arial, and your text is able to fit inside the component only with it.
I suggest to extend the width of the component, or to reduce the text height attribute of the component.<br><br>Post edited by: NiCoX, at: 2007/07/22 18:04
-

NiCoX - Platinum Boarder

- Posts: 5626
- Location: France
Re:Font not showing on components
by law » 22 Jul 2007, 19:07
Thanks, reducing the font height fixed it.
- law
- Fresh Boarder

- Posts: 6
3 posts
• Page 1 of 1