- 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:
@@ -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
|
Mon May 28 11:53:08 UTC 2012 - pgajdos@suse.com
|
||||||
|
|
||||||
- DejaVu Sans, Droid Sans: added information why use BCI instead of
|
- DejaVu, Droid, Liberation, Cantarell: using hintslight with BCI
|
||||||
autohinter
|
(instead of hintfull with BCI)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 24 14:24:05 UTC 2012 - pgajdos@suse.com
|
Thu May 24 14:24:05 UTC 2012 - pgajdos@suse.com
|
||||||
|
@@ -115,7 +115,6 @@
|
|||||||
</test>
|
</test>
|
||||||
<test name="family">
|
<test name="family">
|
||||||
<string>Verdana</string>
|
<string>Verdana</string>
|
||||||
<string>Liberation Sans</string>
|
|
||||||
<string>MS Gothic</string>
|
<string>MS Gothic</string>
|
||||||
<string>MS PGothic</string>
|
<string>MS PGothic</string>
|
||||||
<string>MS UI Gothic</string>
|
<string>MS UI Gothic</string>
|
||||||
@@ -341,36 +340,44 @@ exceptions will follow
|
|||||||
exceptions:
|
exceptions:
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Liberation Sans: hintslight appears to be not sufficient for both BCI and
|
<!-- Liberation Sans: font with hintslight instead of hintfull seems to be nicer
|
||||||
autohint, because longest straight lines in some glyphs such as 'g', 'a',
|
(thicker) -->
|
||||||
'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. -->
|
|
||||||
|
|
||||||
<match target="font">
|
<match target="font">
|
||||||
<test name="family">
|
<test name="family" compare="contains">
|
||||||
<string>Liberation Sans</string>
|
<string>Liberation</string>
|
||||||
</test>
|
</test>
|
||||||
<edit name="autohint" mode="assign"> <!-- for sure, saying this explicitely -->
|
|
||||||
<bool>true</bool>
|
|
||||||
</edit>
|
|
||||||
<edit name="hintstyle" mode="assign">
|
<edit name="hintstyle" mode="assign">
|
||||||
<const>hintfull</const>
|
<const>hintslight</const>
|
||||||
</edit>
|
</edit>
|
||||||
</match>
|
</match>
|
||||||
|
|
||||||
<!-- Cantarell: hintslight appears to be not sufficient for both BCI and autohint
|
<!-- DejaVu Sans: font with hintslight instead of hintfull seems to be nicer
|
||||||
(thickness of some glyphs is not balanced in certain sizes, similar to DejaVu
|
(thicker) -->
|
||||||
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
|
<match target="font">
|
||||||
seems to better handle distance between e. g. '8' and '6' for all sizes. Also
|
<test name="family" compare="contains">
|
||||||
'8' glyph look better with BCI in smaller sizes.
|
<string>DejaVu</string>
|
||||||
|
</test>
|
||||||
Therefore, autohint=false and hintstyle=hintfull seems to be the best. For
|
<edit name="hintstyle" mode="assign">
|
||||||
TrueType, this is default by rule above, nevertheless fontformat="CFF" for
|
<const>hintslight</const>
|
||||||
Cantarell, so need to say following explicitely.
|
</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">
|
<match target="font">
|
||||||
<test name="family">
|
<test name="family">
|
||||||
<string>Cantarell</string>
|
<string>Cantarell</string>
|
||||||
@@ -379,7 +386,7 @@ exceptions:
|
|||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</edit>
|
</edit>
|
||||||
<edit name="hintstyle" mode="assign">
|
<edit name="hintstyle" mode="assign">
|
||||||
<const>hintfull</const>
|
<const>hintslight</const>
|
||||||
</edit>
|
</edit>
|
||||||
</match>
|
</match>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user