- DejaVu, Droid, Liberation, Cantarell: using hintslight with BCI

(instead of hintfull with BCI)

OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=73
This commit is contained in:
Petr Gajdos 2012-05-29 12:27:03 +00:00 committed by Git OBS Bridge
parent 49f3de0d75
commit 0bf246eafc
2 changed files with 34 additions and 45 deletions

View File

@ -1,26 +1,8 @@
-------------------------------------------------------------------
Mon May 28 13:28:21 UTC 2012 - pgajdos@suse.com
- Cantarell: hintslight appears to be not sufficient for both BCI and autohint,
and BCI with hintfull seems to better handle distance between e. g. '8' and
'6' for same sizes. Also '8' glyph look better with BCI in smaller sizes.
Therefore, autohint=false and hintstyle=hintfull seems to be the best.
-------------------------------------------------------------------
Mon May 28 11:53:08 UTC 2012 - pgajdos@suse.com
- DejaVu Sans, Droid Sans: added information why use BCI instead of
autohinter
-------------------------------------------------------------------
Mon May 28 11:10:10 UTC 2012 - pgajdos@suse.com
- Liberation Sans: hintslight appears to be not sufficient for both BCI and
autohint, because longest straight lines in some glyphs such as 'g', 'a',
'B', 'f', etc., are rendered too wide (similar to hintnone). On the
contrary, using BCI with hintstyle=hintfull (likewise for hintstyle=hintmedium)
causes some parts of glyphs fonts to be too thin (see 'R' for example).
So, the best combination seems to be autohinter with hintstyle=hintfull.
- DejaVu, Droid, Liberation, Cantarell: using hintslight with BCI
(instead of hintfull with BCI)
-------------------------------------------------------------------
Thu May 24 14:24:05 UTC 2012 - pgajdos@suse.com

View File

@ -115,7 +115,6 @@
</test>
<test name="family">
<string>Verdana</string>
<string>Liberation Sans</string>
<string>MS Gothic</string>
<string>MS PGothic</string>
<string>MS UI Gothic</string>
@ -341,36 +340,44 @@ exceptions will follow
exceptions:
-->
<!-- Liberation Sans: hintslight appears to be not sufficient for both BCI and
autohint, because longest straight lines in some glyphs such as 'g', 'a',
'B', 'f', etc., are rendered too wide (similar to hintnone). On the
contrary, using BCI with hintstyle=hintfull (likewise for hintstyle=hintmedium)
causes some parts of glyphs fonts to be too thin (see 'R' for example).
So, the best combination seems to be autohinter with hintstyle=hintfull. -->
<!-- Liberation Sans: font with hintslight instead of hintfull seems to be nicer
(thicker) -->
<match target="font">
<test name="family">
<string>Liberation Sans</string>
<test name="family" compare="contains">
<string>Liberation</string>
</test>
<edit name="autohint" mode="assign"> <!-- for sure, saying this explicitely -->
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintfull</const>
<const>hintslight</const>
</edit>
</match>
<!-- Cantarell: hintslight appears to be not sufficient for both BCI and autohint
(thickness of some glyphs is not balanced in certain sizes, similar to DejaVu
Sans; e. g., with "OSI" string, 'O' and 'S' looks much more thick than 'I' in
some sizes, or even 'u', 'p' or 'f' are unbalanced), and BCI with hintfull
seems to better handle distance between e. g. '8' and '6' for all sizes. Also
'8' glyph look better with BCI in smaller sizes.
Therefore, autohint=false and hintstyle=hintfull seems to be the best. For
TrueType, this is default by rule above, nevertheless fontformat="CFF" for
Cantarell, so need to say following explicitely.
-->
<!-- DejaVu Sans: font with hintslight instead of hintfull seems to be nicer
(thicker) -->
<match target="font">
<test name="family" compare="contains">
<string>DejaVu</string>
</test>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
</match>
<!-- Droid Sans: font with hintslight instead of hintfull seems to be nicer
(thicker) -->
<match target="font">
<test name="family" compare="contains">
<string>Droid</string>
</test>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
</match>
<!-- Cantarell: font with hintslight instead of hintfull seems to be nicer
(thicker) -->
<match target="font">
<test name="family">
<string>Cantarell</string>
@ -379,7 +386,7 @@ exceptions:
<bool>false</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintfull</const>
<const>hintslight</const>
</edit>
</match>