Accepting request 123369 from M17N
- fix Chinese Mono font. - set WenQuanYi Micro He as default Chinese font. - don't install 29-liberation-aliases.conf, because 30-metric-aliases.conf already contains these bindings - DejaVu Sans, Droid Sans, Liberation Sans: use hintslight with BCI (instead of hintfull with BCI) - DejaVu Serif, Droid Serif, Liberation Serif: use hintslight with BCI (instead of hintfull with BCI) - DejaVu Sans Mono, Droid Sans Mono, Liberation Mono: keep hintfull with BCI - Cantarell: use hintfull with autohinter - turn autohinter for Verdana (BCI off) OBS-URL: https://build.opensuse.org/request/show/123369 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fontconfig?expand=0&rev=54
This commit is contained in:
commit
be730e7ef5
@ -1,35 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<!--
|
||||
The "Liberation" fonts are metric compatible fonts for these three web font
|
||||
families:
|
||||
-->
|
||||
<alias>
|
||||
<family>Times New Roman</family>
|
||||
<accept><family>Liberation Serif</family></accept>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>Thorndale AMT</family>
|
||||
<accept><family>Liberation Serif</family></accept>
|
||||
</alias>
|
||||
|
||||
<alias>
|
||||
<family>Arial</family>
|
||||
<accept><family>Liberation Sans</family></accept>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>Albany AMT</family>
|
||||
<accept><family>Liberation Sans</family></accept>
|
||||
</alias>
|
||||
|
||||
<alias>
|
||||
<family>Courier New</family>
|
||||
<accept><family>Liberation Mono</family></accept>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>Cumberland AMT</family>
|
||||
<accept><family>Liberation Mono</family></accept>
|
||||
</alias>
|
||||
|
||||
</fontconfig>
|
@ -1,3 +1,35 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 3 22:18:41 UTC+8 2012 - hillwood@linuxfans.org
|
||||
|
||||
- fix Chinese Mono font.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 2 20:47:53 UTC+8 2012 - hillwood@linuxfans.org
|
||||
|
||||
- set WenQuanYi Micro He as default Chinese font.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 1 06:54:41 UTC 2012 - pgajdos@suse.com
|
||||
|
||||
- don't install 29-liberation-aliases.conf, because
|
||||
30-metric-aliases.conf already contains these bindings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 28 11:53:08 UTC 2012 - pgajdos@suse.com
|
||||
|
||||
- DejaVu Sans, Droid Sans, Liberation Sans: use
|
||||
hintslight with BCI (instead of hintfull with BCI)
|
||||
- DejaVu Serif, Droid Serif, Liberation Serif: use
|
||||
hintslight with BCI (instead of hintfull with BCI)
|
||||
- DejaVu Sans Mono, Droid Sans Mono, Liberation Mono: keep
|
||||
hintfull with BCI
|
||||
- Cantarell: use hintfull with autohinter
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 24 14:24:05 UTC 2012 - pgajdos@suse.com
|
||||
|
||||
- turn autohinter for Verdana (BCI off)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 21 14:59:41 UTC 2012 - pgajdos@suse.com
|
||||
|
||||
|
@ -66,7 +66,6 @@ Source13: suse-hinting.conf
|
||||
Source14: suse-bitmaps.conf
|
||||
Source16: local.conf
|
||||
Source20: local.conf.instsys
|
||||
Source30: 29-liberation-aliases.conf
|
||||
# fixed in next release https://www.libreoffice.org/bugzilla/show_bug.cgi?id=47703
|
||||
Patch0: simsun-conf.patch
|
||||
# suse specific because freetype2-bitmap-foundry.patch
|
||||
@ -164,10 +163,8 @@ install -m 644 conf.d/README $RPM_BUILD_ROOT/etc/fonts/conf.d
|
||||
install -m 644 $RPM_SOURCE_DIR/suse*.conf $RPM_BUILD_ROOT/etc/fonts/
|
||||
install -m 644 $RPM_SOURCE_DIR/local.conf $RPM_BUILD_ROOT/etc/fonts
|
||||
install -m 644 $RPM_SOURCE_DIR/local.conf.instsys $RPM_BUILD_ROOT/etc/fonts/
|
||||
install -m 644 $RPM_SOURCE_DIR/29-liberation-aliases.conf $RPM_BUILD_ROOT/etc/fonts/conf.avail
|
||||
# tune links in conf.d:
|
||||
pushd $RPM_BUILD_ROOT/etc/fonts/conf.d
|
||||
ln -s ../conf.avail/29-liberation-aliases.conf 29-liberation-aliases.conf
|
||||
rm -f 50-user.conf
|
||||
rm -f 51-local.conf
|
||||
ln -s ../suse-pre-user.conf 50-suse-pre-user.conf
|
||||
|
@ -85,6 +85,14 @@
|
||||
even the digits which should be monospaced are not
|
||||
monospaced at all anymore.
|
||||
|
||||
For example, for DejaVu Sans: when autohinter used,
|
||||
there is unnatural big space between 'a' and 'z',
|
||||
'd' and 'o' or 'o' and 'g' in string "lazy dog"
|
||||
for smaller sizes. That doesn't show with BCI.
|
||||
Similarly for Droid Sans, see rendering of 'g' glyph
|
||||
in smaller sizes, or rendering of "dog" word in
|
||||
smaller sizes.
|
||||
|
||||
Because of this problem, better don't switch on
|
||||
the autohinter for
|
||||
|
||||
@ -106,7 +114,7 @@
|
||||
<string>TrueType</string>
|
||||
</test>
|
||||
<test name="family">
|
||||
<string>Liberation Sans</string>
|
||||
<string>Verdana</string>
|
||||
<string>MS Gothic</string>
|
||||
<string>MS PGothic</string>
|
||||
<string>MS UI Gothic</string>
|
||||
@ -332,6 +340,92 @@ exceptions will follow
|
||||
exceptions:
|
||||
-->
|
||||
|
||||
<!-- none here so far -->
|
||||
<!-- Following fonts seems to be nicer (thicker) with hintslight instead
|
||||
of hintfull:
|
||||
|
||||
Liberation Sans
|
||||
DejaVu Sans
|
||||
Droid Sans
|
||||
Liberation Serif
|
||||
DejaVu Serif
|
||||
Droid Serif
|
||||
|
||||
Following are better to render with hintfull, because they are too
|
||||
blurred with hintslight:
|
||||
|
||||
Liberation Mono
|
||||
DejaVu Sans Mono
|
||||
Droid Sans Mono
|
||||
-->
|
||||
|
||||
<match target="font">
|
||||
<test name="family">
|
||||
<string>Liberation Sans</string>
|
||||
</test>
|
||||
<edit name="hintstyle" mode="assign">
|
||||
<const>hintslight</const>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<match target="font">
|
||||
<test name="family">
|
||||
<string>DejaVu Sans</string>
|
||||
</test>
|
||||
<edit name="hintstyle" mode="assign">
|
||||
<const>hintslight</const>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<match target="font">
|
||||
<test name="family">
|
||||
<string>Droid Sans</string>
|
||||
</test>
|
||||
<edit name="hintstyle" mode="assign">
|
||||
<const>hintslight</const>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<match target="font">
|
||||
<test name="family">
|
||||
<string>Liberation Serif</string>
|
||||
</test>
|
||||
<edit name="hintstyle" mode="assign">
|
||||
<const>hintslight</const>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<match target="font">
|
||||
<test name="family">
|
||||
<string>DejaVu Serif</string>
|
||||
</test>
|
||||
<edit name="hintstyle" mode="assign">
|
||||
<const>hintslight</const>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<match target="font">
|
||||
<test name="family">
|
||||
<string>Droid Serif</string>
|
||||
</test>
|
||||
<edit name="hintstyle" mode="assign">
|
||||
<const>hintslight</const>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!-- Cantarell: according to coauthor, cantarell doesn't have
|
||||
any byte code, so following should give the best results
|
||||
on most monitors -->
|
||||
|
||||
<match target="font">
|
||||
<test name="family">
|
||||
<string>Cantarell</string>
|
||||
</test>
|
||||
<edit name="autohint" mode="assign">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
<edit name="hintstyle" mode="assign">
|
||||
<const>hintfull</const>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
</fontconfig>
|
||||
|
@ -40,13 +40,14 @@
|
||||
<family>Kochi Mincho</family>
|
||||
<family>CMEXSong</family>
|
||||
<family>FZSongTi</family>
|
||||
<family>WenQuanYi Micro Hei</family>
|
||||
<family>WenQuanYi WenQuanYi Bitmap Song</family>
|
||||
<family>WenQuanYi Zen Hei</family>
|
||||
<family>AR PL ShanHeiSun Uni</family>
|
||||
<family>FZMingTiB</family>
|
||||
<family>AR PL SungtiL GB</family>
|
||||
<family>AR PL Mingti2L Big5</family>
|
||||
<family>NanumMyeongjo</family>
|
||||
<family>NanumMyeongjo</family>
|
||||
<family>UnBatang</family>
|
||||
<family>Baekmuk Batang</family>
|
||||
<family>SimSun</family>
|
||||
@ -93,13 +94,14 @@
|
||||
<family>Kochi Gothic</family>
|
||||
<family>CMEXSong</family>
|
||||
<family>FZSongTi</family>
|
||||
<family>WenQuanYi Micro Hei</family>
|
||||
<family>WenQuanYi WenQuanYi Bitmap Song</family>
|
||||
<family>WenQuanYi Zen Hei</family>
|
||||
<family>AR PL ShanHeiSun Uni</family>
|
||||
<family>FZMingTiB</family>
|
||||
<family>AR PL SungtiL GB</family>
|
||||
<family>AR PL Mingti2L Big5</family>
|
||||
<family>NanumGothic</family>
|
||||
<family>NanumGothic</family>
|
||||
<family>UnDotum</family>
|
||||
<family>Baekmuk Gulim</family>
|
||||
<family>Baekmuk Dotum</family>
|
||||
@ -137,13 +139,14 @@
|
||||
<family>Kochi Gothic</family>
|
||||
<family>CMEXSong</family>
|
||||
<family>FZSongTi</family>
|
||||
<family>WenQuanYi Micro Hei Mono</family>
|
||||
<family>WenQuanYi WenQuanYi Bitmap Song</family>
|
||||
<family>WenQuanYi Zen Hei Mono</family>
|
||||
<family>AR PL ShanHeiSun Uni</family>
|
||||
<family>FZMingTiB</family>
|
||||
<family>AR PL SungtiL GB</family>
|
||||
<family>AR PL Mingti2L Big5</family>
|
||||
<family>NanumGothicCoding</family>
|
||||
<family>NanumGothicCoding</family>
|
||||
<family>UnDotum</family>
|
||||
<family>Baekmuk Gulim</family>
|
||||
<family>Baekmuk Dotum</family>
|
||||
|
Loading…
Reference in New Issue
Block a user