[LazFreeType] Exception reading the font C:\Windows\Fonts\ahronbd.ttf
Original Reporter info from Mantis: sekelsenmat
-
Reporter name: Felipe Monteiro de Carvalho
Original Reporter info from Mantis: sekelsenmat
- Reporter name: Felipe Monteiro de Carvalho
Description:
Steps to reproduce:
1->Open the project lazarus/examples/androidlcl/nonandroidtest.lpi
2->Open the file lazarus/lcl/interfaces/customdrawn/customdrawndefines.inc and make sure that CD_UseNativeText is not set for Windows in the end of the file
3->Build the project and run it
Result:
Exception in LazFreeType while reading the font C:\Windows\Fonts\ahronbd.ttf in Windows Vista
#0 CACHE_NEW({CLAZZ = 0x0, ACTIVE = 0x0, IDLE = 0x0, IDLE_COUNT = 0}, 0x77b4b2fa, 0x1eefa00) at ttcache.pas:325
#1 TT_OPEN_FACE(0x176058 'C:\Windows\Fonts\ahronbd.ttf', {Z = 0x77b4b2fa}) at lazfreetype.pas:971
#2 FONTSSCANFORTTF(0x187048 'C:\Windows\Fonts\', 0x17e018) at .\customdrawn\customdrawnproc.pas:778
#3 TCDWIDGETSET__BACKENDLISTFONTPATHS(0x19ea68, 0x17e018, <error reading variable>) at .\customdrawn\customdrawnwinapi_win.inc:904
#4 TCDWIDGETSET__GENERICAPPINIT(<error reading variable>) at .\customdrawn\customdrawnobject.inc:88
#5 TCDWIDGETSET__APPINIT({PIXELSPERINCHX = 0, PIXELSPERINCHY = 0, COLORDEPTH = 0, INITIALIZED = false}, <error reading variable>) at .\customdrawn\customdrawnobject_win.inc:262
#6 TAPPLICATION__INITIALIZE(<error reading variable>) at .\include\application.inc:450
#7 main at nonandroidtest.lpr:12
Mantis conversion info:
- Mantis ID: 21456
- Fixed in version: 2.2
- Monitored by: » circular (circular)
- Target version: 2.2