Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
firefox的问题
make.js里
metrics.fontBoundingBoxDescent
和metrics.fontBoundingBoxAscent
在firefox下不支持。我做了适当的替换,换成了用fontSize
表示。不知是否合适。(我测试了一下应该没问题)safari阴影
其实我没有遇到 issue#1 那种三叠重影,只是发现阴影有点重。我在 make.js 中的
ctx.shadowBlur
做了适当的修改。当然系数我不知道多少合适,有待讨论,我标在 221 行注释里了。
预览
桌面(chrome safari firefox)
firefox ios
chorme ios
safari ios