Gcanvas-For-Apache-weex icon indicating copy to clipboard operation
Gcanvas-For-Apache-weex copied to clipboard

iOS端 fillText属性会导致gcanvas.framework崩溃

Open zdpdsy opened this issue 7 years ago • 3 comments

var gcanvas = GCanvas.start(ref);
 var ctx = gcanvas.getContext('2d');
 ctx.fillText("Hello World",10,50);

image

用的是release的0.0.3.5版本的包

zdpdsy avatar Jan 25 '18 05:01 zdpdsy

旧的GCanvas已不维护了,新的近期会开源。

fREEDtICE avatar Feb 07 '18 03:02 fREEDtICE

好的,谢谢,那近期开源大概是什么时候呢?2月份吗,还是三月份左右 @fREEDtICE

zdpdsy avatar Feb 09 '18 08:02 zdpdsy

已找到原因了。。native设置setContextType没有执行。导致渲染text的时候崩溃了。不过gcanvas.framework中的setContextType方法没有默认值的吗。@fREEDtICE image

zdpdsy avatar Feb 24 '18 02:02 zdpdsy