mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 12:38:02 +02:00
[ft] Assert that we create an unscaled font for the resolved pattern
This commit is contained in:
parent
7d8a0a1cdd
commit
a29426f4bf
1 changed files with 2 additions and 0 deletions
|
|
@ -2628,6 +2628,8 @@ _cairo_ft_resolve_pattern (FcPattern *pattern,
|
|||
if (unlikely (status))
|
||||
goto FREE_RESOLVED;
|
||||
|
||||
assert (*unscaled != NULL);
|
||||
|
||||
_get_pattern_ft_options (resolved, ft_options);
|
||||
|
||||
FREE_RESOLVED:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue