Cleartype font / text rendering in Firemonkey

岁酱吖の 提交于 2019-12-01 02:45:18

问题


Here is a sample VCL application containing just a TEdit control.

If you compile a similar Firemonkey (FMX) application you will notice this:

(The small L letter is jumping around like crazy)

On my research i found this G+ post which results in:

As you can see the result is better.

The jumping is gone. However the TCircle isn't rendered very nicely.

After some more research i found out that using initialization GlobalUseDX := False; has a better output:

Occasionally there is still some "letter hopping" going on but it's a better result. However it seems there is some background color behind the small L's (yellowish).

Does anyone know a better way to achieve ClearType-like font rendering using the latest Firemonkey?

来源:https://stackoverflow.com/questions/30579189/cleartype-font-text-rendering-in-firemonkey

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!