| Summary: | SDL Message Boxes don't cope with fixed width fonts (in windows at least) | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Pegasus Epsilon <pegasus> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | pegasus, philipp.wiesemann |
| Version: | 2.0.0 | ||
| Hardware: | x86_64 | ||
| OS: | Windows 7 | ||
| Attachments: | Example message boxes, first SDL with Arial, then SDL with DejaVu Sans Mono, then Windows with DejaVu Sans Mono | ||
Marking a large number of bugs with the "triage-2.0.4" keyword at once. Sorry if you got a lot of email from this. This is to help me sort through some bugs in regards to a 2.0.4 release. We may or may not fix this bug for 2.0.4, though! Fixed, thanks! https://hg.libsdl.org/SDL/rev/23000b73ce4e |
Created attachment 1357 [details] Example message boxes, first SDL with Arial, then SDL with DejaVu Sans Mono, then Windows with DejaVu Sans Mono With the system dialog font set to Arial or Tahoma or another variable-width font, everything works just as expected. When using a fixed-width font, like Courier or DejaVu Sans Mono, the text gets cut off. Example screenshots attached. The first example is SDL_ShowSimpleMessageBox with Arial as the system dialog font. This works as expected. The second example is SDL_ShowSimpleMessageBox with DejaVu Sans Mono as the system dialog font. Notice that the word "continuing..." is mysteriously missing. The third example is Windows' built-in MessageBox API with the same font. Notice that all the text is correctly displayed.