View Issue Details

IDProjectCategoryView StatusLast Update
0003060The Dark ModCodingpublic11.03.2012 12:11
Reportertels Assigned Totels  
PrioritynormalSeverityminorReproducibilitysometimes
Status resolvedResolutionfixed 
Product VersionTDM 1.07 
Target VersionTDM 1.08Fixed in VersionTDM 1.08 
Summary0003060: Fonts that are not found leak a fontInfo entry everytime they are tried to be registered
DescriptionThe 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.
TagsNo tags attached.

Activities

tels

tels

11.03.2012 12:11

reporter   ~0004393

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
...

Issue History

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