我想在HTML5中检索字体字形的轮廓信息作为bézier路径.这将允许我随机化轮廓:
在Cocoa,我会用appendBezierPathWithGlyph:inFont:.在Java中,我会使用TextLayout.getOutline().这在JavaScript中如何工作?
appendBezierPathWithGlyph:inFont:
TextLayout.getOutline()
我发现Mozilla有,mozPathText但我无法让它工作.
mozPathText
javascript html5
html5 ×1
javascript ×1