fix(WaterMark): 设置为通用字体
This commit is contained in:
parent
3b370c9277
commit
34d62e101a
|
@ -143,7 +143,7 @@ export default {
|
|||
const xCount = Math.ceil(ctxWidth * ratio / (contentLength + realSpacing))
|
||||
const yCount = Math.ceil(ctxHeight * ratio / (_fontSize + realSpacing))
|
||||
|
||||
ctx.font = `${_fontSize}px DIDIFD-Medium, "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif`
|
||||
ctx.font = `${_fontSize}px "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif`
|
||||
ctx.fillStyle = color
|
||||
|
||||
let ctxX = 0
|
||||
|
|
Loading…
Reference in New Issue