On 24 July 2018 at 15:07, Peter Uhn��k <i.uhnak@gmail.com> wrote:
Hi,

I'm trying to understand how exactly Pharo renders fonts and aliases them.

I want to use Segoe UI (which is the default Windows 10 font for UI), however when rendered in Pharo it is blurry, and for size 9 and light hinting it actually produces incorrect size.

Here is a comparsion (100%)


and 300%



You can see how blurry and bold the fonts are compared to MS word/Chrome/Firefox. Even Bloc should use the same rendering engine as Firefox, but seems to suffer from the same^1.
(Note that fonts size 7 and 8 is ok... the font starts at size 8.)

I've tried digging through the settings and FreeTypeSettings methods, but couldn't find anything that would help me fix this.

Any pointers appreciated.

Thanks,
Peter

^1 Note for Bloc: I couldn't figure out how to specify the font size in points instead of pixels, so maybe that's why it is much more compact horizontally.

Could you clarify... are "light" "normal" "full" and "none" done through Morphic without Bloc ?

Are you on a high-dpi screen?�� I'm not very familiar with this, but you could try experimenting...
http://windows10_dpi_blurry_fix.xpexplorer.com/
https://www.howtogeek.com/175664/how-to-make-the-windows-desktop-work-well-on-high-dpi-displays-and-fix-blurry-fonts/

cheers -ben