diff options
author | Tom Hacohen <tom@stosb.com> | 2012-07-11 14:05:36 +0000 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2012-07-11 14:05:36 +0000 |
commit | 049b0a349d1b6ce3053b532ddc26db3db4e99edf (patch) | |
tree | 349a86910b4d51b5b8d1eaf5e5f388315604bb36 /legacy/evas/src/lib/engines/common/evas_font_main.c | |
parent | f8f0a494c22318d9e9ca6580d202a15d2bb6c675 (diff) |
Evas font: Fixed runtime emboldenment of bitmap fonts.
SVN revision: 73578
Diffstat (limited to '')
-rw-r--r-- | legacy/evas/src/lib/engines/common/evas_font_main.c | 3 |
1 files changed, 1 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 1977337872..4f271e0dc2 100644 --- a/legacy/evas/src/lib/engines/common/evas_font_main.c +++ b/legacy/evas/src/lib/engines/common/evas_font_main.c | |||
@@ -422,8 +422,7 @@ evas_common_font_int_cache_glyph_get(RGBA_Font_Int *fi, FT_UInt idx) | |||
422 | FT_Outline_Transform(&fi->src->ft.face->glyph->outline, &transform); | 422 | FT_Outline_Transform(&fi->src->ft.face->glyph->outline, &transform); |
423 | /* Embolden the outline of Glyph according to rundtime_rend. */ | 423 | /* Embolden the outline of Glyph according to rundtime_rend. */ |
424 | if (fi->runtime_rend & FONT_REND_WEIGHT) | 424 | if (fi->runtime_rend & FONT_REND_WEIGHT) |
425 | FT_Outline_Embolden(&fi->src->ft.face->glyph->outline, | 425 | FT_GlyphSlot_Embolden(fi->src->ft.face->glyph); |
426 | (fi->src->ft.face->size->metrics.x_ppem * 5 * 64) / 100); | ||
427 | 426 | ||
428 | fg = malloc(sizeof(struct _RGBA_Font_Glyph)); | 427 | fg = malloc(sizeof(struct _RGBA_Font_Glyph)); |
429 | if (!fg) return NULL; | 428 | if (!fg) return NULL; |