Adding this in fonts.c at line 577 tuxpaint reach to show all fonts, at
least more than 600
num_font_families += 256 ;
but crashes whith less than 127 fonts, so maybe a if then statement
willl be need.
Anyway, it crashes when typing anything but at least it shows them.
I guess there are two bugs:
one that crash when fonts>127 just by clicking on the text tool.
And the other that shows when fonts are aproximately 127>nfonts>100 and
happens randomly when writing.
I get this when compiling, not sure if it is related, any hints?
src/tuxpaint.c:15858: warning: passing argument 1 of ‘TTF_SizeUNICODE’
from incompatible pointer type
Yours
Pere
|