http://bugs.winehq.org/show_bug.cgi?id=30873
Joachim Durchholz toolforger@durchholz.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |toolforger@durchholz.org
--- Comment #2 from Joachim Durchholz toolforger@durchholz.org 2012-07-18 02:41:44 CDT --- Confirming.
The crash is inside bmfont, not in wine itself. This points towards Wine returning a zero where Windows doesn't.
Here's a workaround: 1) Remove characters 32 and 160 (these are indeed blanks, as GyB suspected). 2) Generate the font normally. 3) Open the .fnt file in a text editor and manually add #32 and #160.
For the manually added characters, here's a model line from a font generated in Windows: char id=32 x=61 y=18 width=1 height=0 xoffset=0 yoffset=11 xadvance=7 page=0 chnl=15
You may have to combine this with what you find in the generated .fnt file, and maybe change the offsets to an unused area in the generated bitmap file. Also, don't forget to increase the character count in the font file...
Disclaimer: Untested.
I have to go now, but I'll return with a trace and a tested workaround as soon as I can (probably this evening).