Minimal failing test program...

local cs = cairo.ImageSurface(CAIRO.FORMAT_RGB24, 320, 240)
local cr = cairo.Context(cs)

cr:select_font_face("Sans", CAIRO.FONT_SLANT_NORMAL, CAIRO.FONT_WEIGHT_BOLD)
cr:set_font_size(8)
cr:show_text("Hs")

cr:select_font_face("Sans", CAIRO.FONT_SLANT_NORMAL, CAIRO.FONT_WEIGHT_NORMAL)
cr:text_path("u")

Failure, the object is corrupted....

root@OpenWrt:~/examples# lua cairo_test4oo.lua
lua: cairo-hash.c: 427: _cairo_hash_table_insert: Assertion
`hash_table->iterating == 0' failed.
Aborted



-- 
Jon Smirl
jonsm...@gmail.com
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to