forked from minhngoc25a/freetype2
* src/base/ftobjs.c (FT_Set_Char_Size): Ahh.. forgot to check the case
width or height is 0.
This commit is contained in:
parent
2f239b8e88
commit
cffa8b65be
|
@ -1,3 +1,8 @@
|
||||||
|
2006-02-27 Chia-I Wu <b90201047@ntu.edu.tw>
|
||||||
|
|
||||||
|
* src/base/ftobjs.c (FT_Set_Char_Size): Ahh.. forgot to check the case
|
||||||
|
width or height is 0.
|
||||||
|
|
||||||
2006-02-27 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
2006-02-27 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||||
|
|
||||||
* builds/mac/FreeType.m68k_cfm.make.txt,
|
* builds/mac/FreeType.m68k_cfm.make.txt,
|
||||||
|
|
|
@ -2382,6 +2382,11 @@
|
||||||
FT_Size_RequestRec req;
|
FT_Size_RequestRec req;
|
||||||
|
|
||||||
|
|
||||||
|
if ( !char_width )
|
||||||
|
char_width = char_height;
|
||||||
|
else if ( !char_height )
|
||||||
|
char_height = char_width;
|
||||||
|
|
||||||
if ( char_width < 1 * 64 )
|
if ( char_width < 1 * 64 )
|
||||||
char_width = 1 * 64;
|
char_width = 1 * 64;
|
||||||
if ( char_height < 1 * 64 )
|
if ( char_height < 1 * 64 )
|
||||||
|
|
Loading…
Reference in New Issue