forked from enlightenment/efl
Evas font: fix font source have wrong current size.
This commit is contained in:
parent
359d7034ba
commit
810f1ca972
|
@ -1,3 +1,7 @@
|
|||
2013-04-04 Jiyoun Park
|
||||
|
||||
* Evas font: fix font source have wrong current size.
|
||||
|
||||
2013-04-04 Tom Hacohen
|
||||
|
||||
* Evas font: If OS/2 table is available and the font is demi-bold,
|
||||
|
|
2
NEWS
2
NEWS
|
@ -222,3 +222,5 @@ Fixes:
|
|||
* Fix evas buffer engine allocation with non alpha output
|
||||
* Evas font: click on left/right half of char does matter now.
|
||||
* Evas font: If OS/2 table is available and the font is demi-bold, don't do runtime emboldment.
|
||||
* Evas font: fix font source have wrong current size.
|
||||
|
||||
|
|
|
@ -75,7 +75,9 @@ _evas_common_font_source_free(RGBA_Font_Source *fs)
|
|||
static void
|
||||
_evas_common_font_int_free(RGBA_Font_Int *fi)
|
||||
{
|
||||
FTLOCK();
|
||||
FT_Done_Size(fi->ft.size);
|
||||
FTUNLOCK();
|
||||
|
||||
evas_common_font_int_modify_cache_by(fi, -1);
|
||||
_evas_common_font_int_clear(fi);
|
||||
|
@ -265,6 +267,7 @@ EAPI void
|
|||
evas_common_font_source_free(RGBA_Font_Source *fs)
|
||||
{
|
||||
fs->references--;
|
||||
fs->current_size = 0;
|
||||
if (fs->references > 0) return;
|
||||
eina_hash_del(fonts_src, fs->name, fs);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue