[ft] Assert that we create an unscaled font for the resolved pattern

This commit is contained in:
Chris Wilson 2009-06-07 17:24:40 +01:00
parent 7d8a0a1cdd
commit a29426f4bf

View file

@ -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: