Email: Password: Remember me  
Bug #54 - Font loading problem Return to bug list
Posted by: ******
Date: 4:30 PM 11-23-2009
nGhost failing to load font. Error message in debug output:

ERROR - text.cpp:loadFont(76) - error loading font '/usr/share/fonts/truetype/ttf-liberation/LiberationSans-Regular.ttfDejaVuSansCondensed-Bold.ttf'

Possible memory leak

Added listing font variable value to code, got following output:

11/24/2009 00:13:10 MSK:ERROR - text.cpp:loadFont(47) - f = '/usr/share/nghost/vistique/'
11/24/2009 00:13:10 MSK:ERROR - text.cpp:loadFont(47) - f = '/usr/share/nghost/vistique/'
11/24/2009 00:13:10 MSK:ERROR - text.cpp:loadFont(47) - f = '/usr/share/nghost/vistique/'
11/24/2009 00:13:10 MSK:ERROR - text.cpp:loadFont(47) - f = '/usr/share/nghost/vistique/'
11/24/2009 00:13:10 MSK:ERROR - gfxengine.cpp:loadSurface(212) - Unable to load: /usr/share/nghost/vistique//screens/images/bowtiess.png
11/24/2009 00:13:10 MSK:ERROR - text.cpp:loadFont(47) - f = '/usr/share/nghost/vistique/'
11/24/2009 00:13:10 MSK:ERROR - text.cpp:loadFont(47) - f = '/usr/share/fonts/truetype/ttf-liberation/LiberationSans-Regular.ttf'


Built revision 1965 from svn.
Theme: vistique, not modified
Distribution: openSUSE 11.2 (i586)
gcc 4.4.1
glibc 2.10.1

Posted by: ******
Date: 2:10 PM 11-30-2009
Do you have the ttf-liberation fonts installed? Do you see this error after going to a specific screen?


Reporter: ****** Created: 11-23-2009
Project: libnghost Priority: Medium
Component: gui2 Severity: Annoyance
Version: Operating System: Linux
To be closed in version Database:
Closed in version Site All
Summary: Font loading problem Status: Closed
URL / Website Link: Resolution: Not a bug
Assigned to: ******

Attachments:
Name Size Type Created  
nghost-debug-output.txt 15k text/plain 11-23-2009 View