View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0003060 | The Dark Mod | Coding | public | 11.03.2012 09:35 | 11.03.2012 12:11 | 
| Reporter | tels | Assigned To | tels | ||
| Priority | normal | Severity | minor | Reproducibility | sometimes | 
| Status | resolved | Resolution | fixed | ||
| Product Version | TDM 1.07 | ||||
| Target Version | TDM 1.08 | Fixed in Version | TDM 1.08 | ||
| Summary | 0003060: Fonts that are not found leak a fontInfo entry everytime they are tried to be registered | ||||
| Description | The relevant code is in ui/DeviceContext.cpp around line 60. It always adds an entry to the fonts list, but when the font cannot be found, this entry stays empty, but persists. | ||||
| Tags | No tags attached. | ||||
| Fixed with commit 0005335. Before the fix, loading "test/readables.map" under Russian added 51 entries to the font list. Afterwards, there are only 7 valid ones. Before: ... WARNING: RegisterFont: couldn't find font: 'fonts/russian/bank/fontImage_48.dat' Could not register font fonts/bank [fonts/russian/bank] Have 51 fonts in list ... After: ... WARNING: RegisterFont: couldn't find font: 'fonts/russian/bank/fontImage_48.dat' Could not register font fonts/bank [fonts/russian/bank] Have 7 fonts in list ... | |
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 11.03.2012 09:35 | tels | New Issue | |
| 11.03.2012 09:35 | tels | Status | new => assigned | 
| 11.03.2012 09:35 | tels | Assigned To | => tels | 
| 11.03.2012 12:11 | tels | Note Added: 0004393 | |
| 11.03.2012 12:11 | tels | Status | assigned => resolved | 
| 11.03.2012 12:11 | tels | Fixed in Version | => TDM 1.08 | 
| 11.03.2012 12:11 | tels | Resolution | open => fixed | 
