jarekl Posted March 20, 2014 Report Posted March 20, 2014 I'm getting an error in fonts.h#error "GDISP: No fonts have been included"even though a font has been defined in gfxconf.h..#define GDISP_INCLUDE_FONT_FIXED_10x20 FALSE#define GDISP_INCLUDE_FONT_FIXED_7x14 TRUE#define GDISP_INCLUDE_FONT_FIXED_5x8 FALSE..I'm totally puzzled. Fonts.h includes gfx.h. There is only one gfx.h and only one gfxconf.h on my system (no confusion about which file is included), yet, I get this error.
Joel Bodenmann Posted March 20, 2014 Report Posted March 20, 2014 I can confirm that there's a build error with the FIXED_* fonts. I'll fix it tomorrow. Please use either a custom or another built-in font at the mean time.~ Tectu
inmarket Posted March 22, 2014 Report Posted March 22, 2014 The problem is in the example gfxconf.example.hIn your gfxconf.h replace the lower-case "x" in the font name with an upper-case "X" and it should all work.I have updated the source repository to fix this.
jarekl Posted March 22, 2014 Author Report Posted March 22, 2014 inmarket said: The problem is in the example gfxconf.example.hIn your gfxconf.h replace the lower-case "x" in the font name with an upper-case "X" and it should all work.I have updated the source repository to fix this.Amazing. I was staring at that error for hours and didn't see it. Thanks.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now