mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-21 23:30:23 +01:00
freetype: Clear target mode correctly in _cairo_ft_options_merge.
This commit is contained in:
parent
1e0e56e022
commit
e4736fcf76
1 changed files with 1 additions and 1 deletions
|
|
@ -1357,7 +1357,7 @@ _cairo_ft_options_merge (cairo_ft_options_t *options,
|
|||
int load_target = FT_LOAD_TARGET_NORMAL;
|
||||
|
||||
/* clear load target mode */
|
||||
load_flags &= ~FT_LOAD_TARGET_MODE(other->load_flags);
|
||||
load_flags &= ~(FT_LOAD_TARGET_(FT_LOAD_TARGET_MODE(other->load_flags)));
|
||||
|
||||
if (load_flags & FT_LOAD_NO_HINTING)
|
||||
other->base.hint_style = CAIRO_HINT_STYLE_NONE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue