View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001730 | Spring engine | General | public | 2009-11-13 11:26 | 2009-11-14 11:11 | ||||
Reporter | hoijui | ||||||||
Assigned To | hoijui | ||||||||
Priority | low | Severity | tweak | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.80.5+git | ||||||||
Target Version | Fixed in Version | 0.80.5+git | |||||||
Summary | 0001730: endless loop in font rendering code for small screen resolution | ||||||||
Description | When the X resolution (XResolution in ~/.springrc) for spring (windowed or full-screen) is set to a value of 112 or lower, the game will be caught in an endless loop in: CglFont::WrapTextConsole() rts/Rendering/glFont.cpp:1103 It looks like it was trying to fit some text on the screen by adding line breaks to the text, but can not make it fit. maybe one char/word is already too big for one line? (eg. on the load screen) It would be nice to be able to set the resolution to lower values then this, for headless spring. plus i can imagine, that when using a bigger font-size, the same thing would happen on larger values then 113 even. | ||||||||
Steps To Reproduce | * start spring.exe * resize the window on the X axis to be less then 113 pixels * start with any start script (eg BA, random Map, NullAI) spring will get to a line looking like this "[New Thread 0xa8fddb90 (LWP 18452)]", and be caught in an endless loop. | ||||||||
Additional Information | YResolution can be set to 0 without problems, as long as XResolution is >= 113. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
Relationships | ||||||
|
Notes | |
hoijui (reporter) 2009-11-14 11:11 |
fixed by Kloot in commit: 324c8d5957920ab45c8d5d1ea54dab358251be24 thanks! :D |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-11-13 11:26 | hoijui | New Issue | |
2009-11-13 13:52 | Kloot | Relationship added | related to 0001723 |
2009-11-13 22:20 | hoijui | Description Updated | |
2009-11-13 22:20 | hoijui | Steps to Reproduce Updated | |
2009-11-14 11:11 | hoijui | Note Added: 0004327 | |
2009-11-14 11:11 | hoijui | Status | new => resolved |
2009-11-14 11:11 | hoijui | Fixed in Version | => 0.80.5+git |
2009-11-14 11:11 | hoijui | Resolution | open => fixed |
2009-11-14 11:11 | hoijui | Assigned To | => hoijui |