gpt4 book ai didi

android - android 4.1 中的乌尔都语字体渲染问题

转载 作者:行者123 更新时间:2023-11-30 03:11:48 24 4
gpt4 key购买 nike

我的一封信在 android 4.1 中无法正确呈现:

enter image description here

在 4.2 和 4.3 上同样呈现良好:

enter image description here

如果可能的话,我想解决这个问题,有什么想法吗?

最佳答案

该示例中“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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com