weex-plugins / Gcanvas-For-Apache-weex

Gcanvas is a third party plugin, and is not developed nor maintained by Apache Weex.
49 stars 9 forks source link

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

Open zdpdsy opened 6 years ago

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

image

用的是release的0.0.3.5版本的包

fREEDtICE commented 6 years ago

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

zdpdsy commented 6 years ago

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

zdpdsy commented 6 years ago

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