Evas font-engine: Fix drawing of replacement char when not using Harfbuzz.

SVN revision: 58755
This commit is contained in:
Tom Hacohen 2011-04-20 14:20:48 +00:00
parent 6ef3841a37
commit 2f86580227
1 changed files with 5 additions and 0 deletions

View File

@ -554,6 +554,11 @@ evas_common_font_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Font
index =
evas_common_font_glyph_search(fn, &fi, text[EVAS_FONT_WALK_POS]);
if (index == 0)
{
index = evas_common_font_glyph_search(fn, &fi, REPLACEMENT_CHAR);
}
if (fi->src->current_size != fi->size)
{
FTLOCK();