菜单字体在Java应用程序中乱码

菜单字体在Java应用程序中乱码

本文介绍了菜单字体在Java应用程序中乱码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图改变Java应用程序中的菜单字体(OmegaT (甚至选择Tahoma作为默认字体导致这个问题)。



有没有人曾经看过这个gar text的文字,并知道如何解决这个问题,或者对疑难解答有一些建议?



这是一个Java问题吗? OmegaT据说只是使用Windows的默认字体...

我已经联系了OmegaT的开发人员,但他们对这个问题感到不知所措。我想通过在这里发布我的问题,其他人可能会遇到同样的错误,并知道如何解决它。



谢谢,
Nathan

解决方案

我在我的system32目录中删除了FNTCACHE.DAT,并重新启动,似乎解决了这个问题。奇怪的。

所以我想这是一个Windows问题,而不是Java所有。



谢谢。


I am trying to change the menu font in a Java application (OmegaT http://www.omegat.org). However, when I change the default menu font in Windows 7 64-bit (under "Advanced Appearance Settings...") the menus as well as file dialogs become garbled as this screen-shot shows:http://www.sbbic.org/omegat/1.jpg (even selecting Tahoma as the default font causes this problem).

Has anyone ever seen this garbling text before and know how to solve it, or have some suggestions on troubleshooting?

Is it a Java issue? OmegaT is supposedly just using the default fonts from Windows...

I have contacted the developers of OmegaT, but they are at a loss for what the issue is. I thought by posting my question here, others might have encountered the same error and know how to resolve it.

Thanks,Nathan

解决方案

I deleted FNTCACHE.DAT in my system32 directory and rebooted, and it seemed to fix it. Weird.http://windows7forums.com/windows-7-support/49179-windows-7-64-bit-fonts-not-shown-4.htmlso I guess it was a Windows issue and not Java at all.

Thanks.

这篇关于菜单字体在Java应用程序中乱码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 02:10