Page 1 of 1

About font rendering

Posted: Wed Feb 21, 2018 08:45
by mintogo
Hello!~

I have a question about font rendering(actually.. text rendering)

When I use arial font(included in Windows) as 16 pixel point, It looks fine,

but.. on 13, 12 ... at small size.

Text looks very blurry.

So I tried to off anti-aliasing when create free type font, it was terrible..

Is there any way to solve it?

I will link screen shot, soon.

Re: About font rendering

Posted: Wed Feb 21, 2018 18:44
by Ident
No idea what you mean.. screenshot please.

Re: About font rendering

Posted: Thu Feb 22, 2018 00:26
by mintogo
Ident wrote:No idea what you mean.. screenshot please.


Ok, I add screenshot link below..

1.
https://ibb.co/ny3DVx
Above is.. CreateFreeTypeFont with arial.ttf(included in windows), enable anti-aliasing, 11.0f point size.

2.
https://ibb.co/dDaSqx
It's same with 1, except anti-aliasing.
It's disable anti-aliasing.

Actually, It's looks like bold font when anti-aliasing enable on small size font..

Ah I'm using CEGUI 0.8.7 and VS2013!

Re: About font rendering

Posted: Sat Feb 24, 2018 03:20
by Niektory
Looks like a hinting problem. What Freetype version are you using? Freetype changed the default font hinting engine around 2.6.4, and the new one is... not very good, to put it mildly. Fortunately you can still make it use the old one.

Re: About font rendering

Posted: Sat Feb 24, 2018 04:59
by mintogo
Niektory wrote:Looks like a hinting problem. What Freetype version are you using? Freetype changed the default font hinting engine around 2.6.4, and the new one is... not very good, to put it mildly. Fortunately you can still make it use the old one.


Hello Niektory! :D

Thank you to your advice!

I use included version of FreeType.

I will try it and after that I will replay about it!

Re: About font rendering

Posted: Mon Feb 26, 2018 02:44
by mintogo
Niektory wrote:Looks like a hinting problem. What Freetype version are you using? Freetype changed the default font hinting engine around 2.6.4, and the new one is... not very good, to put it mildly. Fortunately you can still make it use the old one.


I checked a version of Freetype which included in CEGUI, it was 2.4.4.
Also, I changed it to Freetype 2.9 version, but there is no dramatical changed. (English is looks a little better, but CJK fonts are not)
I used Google's Noto Sans font.

Can you tell me more about FF_INTERPRETER_VERSION_XX ?

I can't not find how to change FF_INTERPRETER_VERSION...