View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008247 | Dwarf Fortress | TrueType | public | 2014-09-05 13:58 | 2014-09-07 08:37 |
Reporter | lsmoura | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | Mac | OS | OS X | OS Version | 10.10 |
Product Version | 0.40.11 | ||||
Summary | 0008247: TrueType on OSX only works for 2D print modes | ||||
Description | I was wondering how to make TTF fonts work on OSX. I've just realised that TTF_Init() is never called. I wonder why the behaviour is different from windows. I've tried this with several truetype settings: [TRUETYPE:NO] [TRUETYPE:YES] [TRUETYPE:24] [TRUETYPE:12] [TRUETYPE:36] Also, pressing <F12> (or Fn+F12 or CMD+Fn+F12) does nothing. | ||||
Steps To Reproduce | Open the game, press F12 | ||||
Additional Information | I've hooked up into SDL code to see if the function is called. I saw that TTF_Init is not called. Ever. I've tried to initialise it myself. It does initialise, but the game still does not display truetype fonts. I can load truetype fonts (from inside dwarfort.exe), after initializing the library, but my calls render a "white" window. I haven't investigated much, but as far as I can tell, Dwarf Fortress is not trying to load the font or draw it on the screen. My attempts to draw to an SDL_Surface and display it on the screen have been rendered useless (white window). Maybe because of the presence of the shaders, but I couldn't investigate to that point. I can provide the code to "hook up" on the executable if needed. | ||||
Tags | No tags attached. | ||||
|
What RENDERER mode are you using? Because if it is not 2D, 2DSW, or 2DASYNC, then TrueType mode will not work. |
|
I was using VBO. 2D mode fixed the problem (and I can't seem to find where to cancel this bug report). |
|
One of the moderators will close it. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-09-05 13:58 | lsmoura | New Issue | |
2014-09-05 14:28 | Quietust | Note Added: 0029975 | |
2014-09-06 11:21 | lsmoura | Note Added: 0029992 | |
2014-09-06 11:32 | Dame de la Licorne | Note Added: 0029993 | |
2014-09-07 08:37 |
|
Summary | TrueType fonts not working on OSX. TTF_Init() is never called. => TrueType on OSX only works for 2D print modes |
2014-09-07 08:37 |
|
Status | new => resolved |
2014-09-07 08:37 |
|
Resolution | open => no change required |
2014-09-07 08:37 |
|
Assigned To | => user6 |