作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我的一封信在 android 4.1 中无法正确呈现:
在 4.2 和 4.3 上同样呈现良好:
如果可能的话,我想解决这个问题,有什么想法吗?
最佳答案
该示例中“heh”的糟糕呈现是由于 Droid Arabic Naskh 字体中的一个错误。它已在 2012 年 10 月的更新中得到修复。(请参阅此处的报告 — https://android.googlesource.com/platform/frameworks/base/+/cd31db60ee6df6dd84bce9925e96b6cccbdf522d)
相关的变化是:
Fixed shaping of U+06C1 HEH GOAL.
这解释了为什么它在较新版本的 Android 中正确显示。
更新后的字体可以在 Github 上找到 https://github.com/android/platform_frameworks_base/tree/master/data/fonts .点击“DroidNaskh-Regular.ttf”,然后点击“view raw”下载字体。
(好像对应的字体“Droid Kufi”还有这个bug。)
关于android - android 4.1 中的乌尔都语字体渲染问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20826690/
我是一名优秀的程序员,十分优秀!