summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/engines/common/evas_font_main.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-10-10 07:00:07 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-10-10 07:00:07 +0000
commit3dbe48e4fed43682ed74d215af49ca44557f6563 (patch)
treec33a658df096e2d44f6c95b78b152216db899999 /legacy/evas/src/lib/engines/common/evas_font_main.c
parent922030ca724cd52c92341397960bcc609d6f9ae4 (diff)
ok ok.. METRIC!
SVN revision: 77695
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/engines/common/evas_font_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/evas/src/lib/engines/common/evas_font_main.c b/legacy/evas/src/lib/engines/common/evas_font_main.c
index 1154bd7e12..d577d43ad3 100644
--- a/legacy/evas/src/lib/engines/common/evas_font_main.c
+++ b/legacy/evas/src/lib/engines/common/evas_font_main.c
@@ -172,7 +172,7 @@ evas_common_font_max_ascent_get(RGBA_Font *fn)
172 if (fi->src->ft.face->units_per_EM == 0) 172 if (fi->src->ft.face->units_per_EM == 0)
173 return val; 173 return val;
174 dv = (fi->src->ft.orig_upem * 2048) / fi->src->ft.face->units_per_EM; 174 dv = (fi->src->ft.orig_upem * 2048) / fi->src->ft.face->units_per_EM;
175 ret = FONT_MERTIC_CONV(val, dv, fi->src->ft.face->size->metrics.y_scale); 175 ret = FONT_METRIC_CONV(val, dv, fi->src->ft.face->size->metrics.y_scale);
176 return ret; 176 return ret;
177} 177}
178 178
@@ -202,7 +202,7 @@ evas_common_font_max_descent_get(RGBA_Font *fn)
202 if (fi->src->ft.face->units_per_EM == 0) 202 if (fi->src->ft.face->units_per_EM == 0)
203 return val; 203 return val;
204 dv = (fi->src->ft.orig_upem * 2048) / fi->src->ft.face->units_per_EM; 204 dv = (fi->src->ft.orig_upem * 2048) / fi->src->ft.face->units_per_EM;
205 ret = FONT_MERTIC_CONV(val, dv, fi->src->ft.face->size->metrics.y_scale); 205 ret = FONT_METRIC_CONV(val, dv, fi->src->ft.face->size->metrics.y_scale);
206 return ret; 206 return ret;
207} 207}
208 208