[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft] TrueType interpreter modes: v35 v v40
From: |
Artem S. Tashkinov |
Subject: |
[ft] TrueType interpreter modes: v35 v v40 |
Date: |
Fri, 09 Jun 2017 15:02:18 +0500 |
User-agent: |
Roundcube Webmail/1.1.5 |
Hello,
I need your help, guys.
It's said (1) that the new v40 TrueType interpreter mode works better
than v35 while retaining the same speed however in my experience v35 is
_miles_ better in regard to core fonts.
Here's what I see:
FREETYPE_PROPERTIES=truetype:interpreter-version=35 firefox -> 35.png
FREETYPE_PROPERTIES=truetype:interpreter-version=40 firefox -> 40.png
v40 looks dirty, bold and untidy, whereas v35 is neat, slim and
beautiful.
Also in v40 different letters have different witdths! Compare https ->
"h" "p" "s" all have normal width, both "t"s are bold!
Changing hintstyle to hintslight hasn't really improved the fonts.
Autohinting kills them completely.
My ~/.config/fontconfig/fonts.conf looks this way:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="lcdfilter" >
<const>lcdlegacy</const>
</edit>
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
<edit mode="assign" name="hintstyle" >
<const>hintfull</const>
</edit>
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
</match>
</fontconfig>
I'm curious what I'm doing wrong. My freetype 2.8 is compiled this way:
#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
/* #define FT_CONFIG_OPTION_USE_HARFBUZZ */
#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
#define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 )
Web fonts look totally ugly with both v35 and v40.
Please advise!
1. https://www.freetype.org/freetype2/docs/subpixel-hinting.html
--
Best regards,
Artem
40.png
Description: PNG image
35.png
Description: PNG image
- [ft] TrueType interpreter modes: v35 v v40,
Artem S. Tashkinov <=