简体   繁体   English

Android Font Kerning:Nexus 7 vs. Galaxy Tab 2

[英]Android Font Kerning: Nexus 7 vs. Galaxy Tab 2

I'm currently developing an application that was originally meant to be run solely on Nexus 7 and Android 4.2. 我目前正在开发一个原本只能在Nexus 7和Android 4.2上运行的应用程序。 However, there was a change of plans and now it is meant to run on the Galaxy Tab 2, Android 4.1.1 instead. 但是,计划有所改变,现在它的意思是在Galaxy Tab 2,Android 4.1.1上运行。

I am using a custom font that rendered great on the Nexus 7. However, when downgrading the version of Android and switching to the Galaxy Tab 2, the font kerning got completely messed up and looks terrible. 我正在使用在Nexus 7上呈现出色的自定义字体。但是,当降级Android版本并切换到Galaxy Tab 2时,字体字距变得完全搞砸了,看起来很糟糕。 Spacing is way off from what it should be. 间距远离应有的范围。

Any tips to point me in the right direction for fixing this issue? 有没有提示指出我正确的方向来解决这个问题? I don't have the slightest idea how to fix this, except for switching to a different font, which is less than ideal. 我没有丝毫想法如何解决这个问题,除了切换到不太理想的不同字体。

Sounds like you may have run across the kerning problem described here: Android Custom View code stopped working correctly in Jelly Bean 4.2 听起来你可能遇到过这里描述的字距调整问题: Android Custom View代码在Jelly Bean 4.2中停止正常工作

It is possible to work around it. 可以解决它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM