乌尔都语字体在Android的4.1渲染问题 [英] Urdu font rendering issue in android 4.1

查看:480
本文介绍了乌尔都语字体在Android的4.1渲染问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的一个字母不搭载Android 4.1正确呈现:

One of my letters does not render properly in android 4.1 :

同样呈现在4.2和4.3罚款:

The same renders fine on 4.2 and 4.3 :

我想如果可能的话要解决这个问题,任何想法如何?

I would like to fix this if possible, any ideas how?

推荐答案

的嘿,在这个例子是由于对Droid阿拉伯语纳斯赫字体错误坏渲染。它是固定在2012年10月的更新(见这里报告 - <一个href=\"https://android.googlesource.com/platform/frameworks/base/+/cd31db60ee6df6dd84bce9925e96b6cccbdf522d\" rel=\"nofollow\">https://android.googlesource.com/platform/frameworks/base/+/cd31db60ee6df6dd84bce9925e96b6cccbdf522d)

The bad rendering of "heh" in that example is due to a mistake in the Droid Arabic Naskh font. It was fixed by an update in October 2012. (See report here — https://android.googlesource.com/platform/frameworks/base/+/cd31db60ee6df6dd84bce9925e96b6cccbdf522d)

相关变化是:

U + 06C1港灯目标固定塑形。

Fixed shaping of U+06C1 HEH GOAL.

这解释了为什么它在Android中的较新版本正确显示。

This explains why it displays correctly in the newer versions of Android.

更新后的字体可以在Github上的 https://github.com/安卓/ platform_frameworks_bas​​e /树/主/数据/字体的。点击DroidNaskh-Regular.ttf,然后选择查看原始下载该字体。

The updated fonts are available on Github at https://github.com/android/platform_frameworks_base/tree/master/data/fonts. Click "DroidNaskh-Regular.ttf", then "view raw" to download the font.

(看来对方字体Droid的库法体还是有这个bug。)

(It seems the counterpart font "Droid Kufi" still has this bug.)

这篇关于乌尔都语字体在Android的4.1渲染问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆