|
|
| version 1.8, 2005/02/12 12:14:00 | version 1.9, 2005/02/13 05:31:26 |
|---|---|
| Line 255 static void fontmng_getchar(FNTMNG fhdl, | Line 255 static void fontmng_getchar(FNTMNG fhdl, |
| BRESULT fontmng_getsize(void *hdl, const OEMCHAR *string, POINT_T *pt) { | BRESULT fontmng_getsize(void *hdl, const OEMCHAR *string, POINT_T *pt) { |
| _FNTDAT fdat; | |
| int width; | int width; |
| _FNTDAT fdat; | |
| int leng; | int leng; |
| width = 0; | |
| if ((hdl == NULL) || (string == NULL)) { | if ((hdl == NULL) || (string == NULL)) { |
| goto fmgs_exit; | goto fmgs_exit; |
| } | } |
| width = 0; | |
| while(1) { | while(1) { |
| leng = milstr_charsize(string); | leng = milstr_charsize(string); |
| if (!leng) { | if (!leng) { |