fontmin icon indicating copy to clipboard operation
fontmin copied to clipboard

您好,空格提取失败。

Open CoderWQ opened this issue 4 years ago • 1 comments

您好,我的字体文件中,空格的字体源文件内的名字是 space image 我想咨询,是否有办法提取改符号呢?

PS:我直接测试文本中插入空格,并不会提取出来 谢谢!

CoderWQ avatar Jul 16 '21 06:07 CoderWQ

Fontmin.glyph 方法有个 trim 参数,默认为 true、设置为 false 试试

        Fontmin.glyph({
            text,
            trim: false
        })

itorr avatar Jul 07 '22 19:07 itorr