forked from enlightenment/efl
Evas font: add comparison for fallbacks in evas_font_desc_cmp()
Summary: fallbacks string also has to be compared to load proper fdesc. If a font which does not have fallback fonts is loaded, fallback fonts can't be appended to the same font. @fix Reviewers: tasn, woohyun, herdsman, zmike, devilhorns Reviewed By: herdsman Subscribers: #committers, zmike, raster, Blackmole, z-wony, cedric, jpeg Tags: #efl Differential Revision: https://phab.enlightenment.org/D3707
This commit is contained in:
parent
baf3a2092a
commit
a882235fce
|
@ -537,7 +537,8 @@ evas_font_desc_cmp(const Evas_Font_Description *a,
|
|||
/* FIXME: Do actual comparison, i.e less than and bigger than. */
|
||||
return !((a->name == b->name) && (a->weight == b->weight) &&
|
||||
(a->slant == b->slant) && (a->width == b->width) &&
|
||||
(a->spacing == b->spacing) && (a->lang == b->lang));
|
||||
(a->spacing == b->spacing) && (a->lang == b->lang) &&
|
||||
(a->fallbacks == b->fallbacks));
|
||||
}
|
||||
|
||||
const char *
|
||||
|
|
Loading…
Reference in New Issue