* Removed some outdated bug-workaround-code from 2007.

* Made problemFonts[] not-Apple-specific
 * Added a description to TuxPaint_Font struct
 * Added debugging to show when a font is being closed
   (currently causing crashes with some fonts, on Win7 with
   Tux Paint 0.9.22beta01 and Kubuntu 14.04 with CVS)
This commit is contained in:
William Kendrick 2014-04-19 18:04:55 +00:00
parent db456e4b5b
commit 913275e144
2 changed files with 19 additions and 37 deletions

View file

@ -1,7 +1,7 @@
/*
fonts.h
Copyright (c) 2009
Copyright (c) 2009-2014
http://www.tuxpaint.org/
This program is free software; you can redistribute it and/or modify
@ -105,6 +105,7 @@ typedef struct TuxPaint_Font_s {
int typ;
TTF_Font * ttf_font;
int height;
char * desc;
} TuxPaint_Font;
int TuxPaint_Font_FontHeight(TuxPaint_Font * tpf);