JavaFX8字体渲染问题

时间:2014-01-13 21:37:44

标签: javafx-2 javafx-8

我正在将JavaFX2应用程序移植到JavaFX8上,我注意到JavaFX8上的文本渲染得很糟糕,在JavaFX2中它们很好。请参见下面的屏幕截图。

enter image description here

当字体变小时,此问题非常明显。 标签1使用24px,标签2和3是13px。

我尝试过使用

System.setProperty("prism.text", "t2k");
System.setProperty("prism.lcdtext", "true");

结果稍好一些。 我的问题是我设置错误或者JavaFX8的行为是什么?

更新: 在玩了更多设置之后

System.setProperty("prism.lcdtext", "true");

似乎已经“修复”了这个问题 enter image description here

0 个答案:

没有答案