About font rendering

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

mintogo
Just popping in
Just popping in
Posts: 19
Joined: Fri Dec 29, 2017 01:17

About font rendering

Postby mintogo » Wed Feb 21, 2018 08:45

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.

User avatar
Ident
CEGUI Team
Posts: 1893
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: About font rendering

Postby Ident » Wed Feb 21, 2018 18:44

No idea what you mean.. screenshot please.
CrazyEddie: "I don't like GUIs"

mintogo
Just popping in
Just popping in
Posts: 19
Joined: Fri Dec 29, 2017 01:17

Re: About font rendering

Postby mintogo » Thu Feb 22, 2018 00:26

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!

Niektory
Just popping in
Just popping in
Posts: 1
Joined: Thu May 23, 2013 21:00

Re: About font rendering

Postby Niektory » Sat Feb 24, 2018 03:20

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.

mintogo
Just popping in
Just popping in
Posts: 19
Joined: Fri Dec 29, 2017 01:17

Re: About font rendering

Postby mintogo » Sat Feb 24, 2018 04:59

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!

mintogo
Just popping in
Just popping in
Posts: 19
Joined: Fri Dec 29, 2017 01:17

Re: About font rendering

Postby mintogo » Mon Feb 26, 2018 02:44

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...


Return to “Help”

Who is online

Users browsing this forum: No registered users and 3 guests