We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rt 一开始以为是字体跨域问题,后来仔细盘了一遍发现是一些特殊字体不能绘制。 不知道有没有办法解决QwQ
The text was updated successfully, but these errors were encountered:
这个似乎是我在去除 svg+xml 解析异常的 ascii null 控制字符时,错误的正则把 \uD800-\uDFFF 和 \uFFFE-\uFFFF 区域的 unicode 字符也移除导致的。
\uD800-\uDFFF
\uFFFE-\uFFFF
不过我发现多 unicode 的 emoji 在 svg+xml 解析时的字符宽度似乎和浏览器渲染不一致,例如
'😄'.split('').map(val => val.charCodeAt(0).toString(16)) // ['d83d', 'de04']
(这好像是另一个问题)
Sorry, something went wrong.
76cd0b7
No branches or pull requests
rt
一开始以为是字体跨域问题,后来仔细盘了一遍发现是一些特殊字体不能绘制。
不知道有没有办法解决QwQ
The text was updated successfully, but these errors were encountered: