marshmonkey
27-08-2009 02:09:47
I have gotten bitmap based fonts to work in MyGUI using this kind of description in the font xml:
And it appears fine, except for the spacing is huge:

I have tried changing the space_width in the font XML as well as the width of the first character code index 32 (which I believe is a space?) but neither one seems to have changed the spacing. Is there a way to adjust this?
<Font name="ManualFont" default_height="17" space_width="4" source="Vera.19.png">
<Code index="32" coord="436 165 12 33" />
<Code index="33" coord="57 0 11 33" />
<Code index="34" coord="68 0 14 33" />
<Code index="35" coord="82 0 23 33" />
<Code index="36" coord="105 0 18 33" />
And it appears fine, except for the spacing is huge:
I have tried changing the space_width in the font XML as well as the width of the first character code index 32 (which I believe is a space?) but neither one seems to have changed the spacing. Is there a way to adjust this?