git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa37922
)
dump ft error code if font didn't load
author
kramm
<kramm>
Mon, 30 Oct 2006 09:51:13 +0000
(09:51 +0000)
committer
kramm
<kramm>
Mon, 30 Oct 2006 09:51:13 +0000
(09:51 +0000)
lib/gfxfont.c
patch
|
blob
|
history
diff --git
a/lib/gfxfont.c
b/lib/gfxfont.c
index
21c85ab
..
45a44ca
100644
(file)
--- a/
lib/gfxfont.c
+++ b/
lib/gfxfont.c
@@
-164,7
+164,7
@@
gfxfont_t* gfxfont_load(char*id, char*filename, double quality)
FT_Set_Pixel_Sizes (face, 16*loadfont_scale, 16*loadfont_scale);
if(error) {
- fprintf(stderr, "Couldn't load file %s- not a TTF file?\n", filename);
+ fprintf(stderr, "Couldn't load file %s- not a TTF file? (error=%02x)\n", filename, error);
return 0;
}
if(face->num_glyphs <= 0) {