[cairo] assert failures in _cairo_ft_unscaled_font_set_scale
Robert O'Callahan
rocallahan at novell.com
Thu Nov 23 13:48:57 PST 2006
On Fri, 2006-11-24 at 08:51 +1300, Robert O'Callahan wrote:
> In _cairo_ft_unscaled_font_set_scale there are a couple of "assert(error
> == 0)" statements. We're hitting one in SVG testcases that try to render
> text while the CTM has a huge scale in it. This kills the browser.
> Shouldn't these asserts be replaced by something that propagates cairo
> error status?
Actually, a better solution would be to try falling back to a size that
freetype can handle and then scaling the resulting glyphs in some crude
but failsafe way.
Rob
More information about the cairo
mailing list