Accepting request 163714 from M17N
- dropped metric-arial-narrow.patch (upstreamed) - dropped metric-croscore.patch (upstreamed) - /etc/conf.d/55-local.conf - tag /etc/fonts/conf.d/*.conf files as %config, not %config(noreplace) - /etc/fonts/conf.d/README now mentions correct template dir [bnc#810034] * conf.d-readme-templatedir.patch - revert the change from Mon May 28 11:53:08 UTC 2012 because hintslight implies autohinter. Rather render Liberation, DejaVu and Droid sans serif and serif fonts with BCI, even if it means thin (sometimes too much, see Liberation Sans 'R') glyphs. It should be readable (less blurred). I'll add fontconfig hinting profile in near future which will force autohinter for those which like more thick fonts even if sometimes more blurred. OBS-URL: https://build.opensuse.org/request/show/163714 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fontconfig?expand=0&rev=68
This commit is contained in:
commit
3abc6aff48
@ -31,78 +31,6 @@ exceptions will follow
|
||||
exceptions:
|
||||
-->
|
||||
|
||||
<!-- 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 -->
|
||||
|
42
conf.d-readme-templatedir.patch
Normal file
42
conf.d-readme-templatedir.patch
Normal file
@ -0,0 +1,42 @@
|
||||
Index: fontconfig-2.10.92/conf.d/Makefile.am
|
||||
===================================================================
|
||||
--- fontconfig-2.10.92.orig/conf.d/Makefile.am
|
||||
+++ fontconfig-2.10.92/conf.d/Makefile.am
|
||||
@@ -78,6 +78,9 @@ template_DATA = \
|
||||
80-delicious.conf \
|
||||
90-synthetic.conf
|
||||
|
||||
+README: $(srcdir)/README.in
|
||||
+ sed "s|\@TEMPLATEDIR\@|$(templatedir)|" <$(srcdir)/README.in >README
|
||||
+
|
||||
install-data-hook:
|
||||
mkdir -p $(DESTDIR)$(configdir)
|
||||
@(echo cd $(DESTDIR)$(configdir); \
|
||||
Index: fontconfig-2.10.92/conf.d/README.in
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ fontconfig-2.10.92/conf.d/README.in
|
||||
@@ -0,0 +1,23 @@
|
||||
+conf.d/README
|
||||
+
|
||||
+Each file in this directory is a fontconfig configuration file. Fontconfig
|
||||
+scans this directory, loading all files of the form [0-9][0-9]*.conf.
|
||||
+These files are normally installed in @TEMPLATEDIR@
|
||||
+and then symlinked here, allowing them to be easily installed and then
|
||||
+enabled/disabled by adjusting the symlinks.
|
||||
+
|
||||
+The files are loaded in numeric order, the structure of the configuration
|
||||
+has led to the following conventions in usage:
|
||||
+
|
||||
+ Files begining with: Contain:
|
||||
+
|
||||
+ 00 through 09 Font directories
|
||||
+ 10 through 19 system rendering defaults (AA, etc)
|
||||
+ 20 through 29 font rendering options
|
||||
+ 30 through 39 family substitution
|
||||
+ 40 through 49 generic identification, map family->generic
|
||||
+ 50 through 59 alternate config file loading
|
||||
+ 60 through 69 generic aliases, map generic->family
|
||||
+ 70 through 79 select font (adjust which fonts are available)
|
||||
+ 80 through 89 match target="scan" (modify scanned patterns)
|
||||
+ 90 through 99 font synthesis
|
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 11 10:24:57 UTC 2013 - pgajdos@suse.com
|
||||
|
||||
- dropped metric-arial-narrow.patch (upstreamed)
|
||||
- dropped metric-croscore.patch (upstreamed)
|
||||
- /etc/conf.d/55-local.conf
|
||||
- tag /etc/fonts/conf.d/*.conf files as %config, not
|
||||
%config(noreplace)
|
||||
- /etc/fonts/conf.d/README now mentions correct template dir
|
||||
[bnc#810034]
|
||||
* conf.d-readme-templatedir.patch
|
||||
- revert the change from Mon May 28 11:53:08 UTC 2012 because
|
||||
hintslight implies autohinter. Rather render Liberation, DejaVu
|
||||
and Droid sans serif and serif fonts with BCI, even if it means
|
||||
thin (sometimes too much, see Liberation Sans 'R') glyphs. It
|
||||
should be readable (less blurred). I'll add fontconfig hinting
|
||||
profile in near future which will force autohinter for those
|
||||
which like more thick fonts even if sometimes more blurred.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 5 15:32:01 UTC 2013 - hrvoje.senjan@gmail.com
|
||||
|
||||
|
@ -74,10 +74,8 @@ Source58: 58-suse-post-user.conf
|
||||
Patch0: make-check.patch
|
||||
# suse specific
|
||||
Patch1: usr-share-doc-packages.patch
|
||||
# to be upstreamed https://bugs.freedesktop.org/show_bug.cgi?id=47721
|
||||
Patch3: metric-croscore.patch
|
||||
# to be upstreamed https://bugs.freedesktop.org/show_bug.cgi?id=60783
|
||||
Patch4: metric-arial-narrow.patch
|
||||
# to be upstreamed
|
||||
Patch2: conf.d-readme-templatedir.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: ipa-fonts-config = 003.02
|
||||
Obsoletes: ipa-fonts-config <= 003.02
|
||||
@ -122,8 +120,7 @@ accepts font patterns and returns the nearest matching font.
|
||||
%endif
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch3
|
||||
%patch4
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
# ----- build with automake 1.13
|
||||
@ -179,8 +176,8 @@ install -m 644 conf.d/README %{buildroot}%{_sysconfdir}/fonts/conf.d
|
||||
# tune links in conf.d
|
||||
pushd %{buildroot}%{_sysconfdir}/fonts/conf.d
|
||||
mv 50-user.conf 56-user.conf
|
||||
mv 51-local.conf 55-local.conf
|
||||
rm -f 51-local.conf
|
||||
rm 51-local.conf
|
||||
ln -s ../local.conf 55-local.conf
|
||||
popd
|
||||
for i in $RPM_SOURCE_DIR/[0-9]*.conf; do
|
||||
j=${i##*/}
|
||||
@ -203,7 +200,7 @@ install -m 644 $RPM_SOURCE_DIR/local.conf.instsys %{buildroot}%{_sysconfdir}/fon
|
||||
# packaging /etc/fonts/conf.avail for compatibility reasons
|
||||
%dir %{_sysconfdir}/fonts/conf.avail
|
||||
%config %{_sysconfdir}/fonts/fonts.conf
|
||||
%config(noreplace) %{_sysconfdir}/fonts/conf.d/*.conf
|
||||
%config %{_sysconfdir}/fonts/conf.d/*.conf
|
||||
%config(noreplace) %{_sysconfdir}/fonts/local.conf
|
||||
%config %{_sysconfdir}/fonts/local.conf.instsys
|
||||
%{_sysconfdir}/fonts/conf.d/README
|
||||
|
@ -1,20 +0,0 @@
|
||||
Index: conf.d/30-metric-aliases.conf
|
||||
===================================================================
|
||||
--- conf.d/30-metric-aliases.conf
|
||||
+++ conf.d/30-metric-aliases.conf
|
||||
@@ -296,5 +296,15 @@
|
||||
</accept>
|
||||
</alias>
|
||||
|
||||
+ <!-- Map Arial Narrow <-> Liberation Sans Narrow -->
|
||||
|
||||
+ <alias binding="same">
|
||||
+ <family>Arial Narrow</family>
|
||||
+ <accept><family>Liberation Sans Narrow</family></accept>
|
||||
+ </alias>
|
||||
+
|
||||
+ <alias binding="same">
|
||||
+ <family>Liberation Sans Narrow</family>
|
||||
+ <accept><family>Arial Narrow</family></accept>
|
||||
+ </alias>
|
||||
</fontconfig>
|
@ -1,57 +0,0 @@
|
||||
Index: conf.d/30-metric-aliases.conf
|
||||
===================================================================
|
||||
--- conf.d/30-metric-aliases.conf
|
||||
+++ conf.d/30-metric-aliases.conf
|
||||
@@ -23,6 +23,10 @@
|
||||
Liberation Sans Narrow
|
||||
Liberation Serif
|
||||
Liberation Mono
|
||||
+ Croscore fonts;
|
||||
+ Arimo
|
||||
+ Tinos
|
||||
+ Cousine
|
||||
StarOffice fonts:
|
||||
Albany
|
||||
Thorndale
|
||||
@@ -102,6 +106,13 @@
|
||||
</alias>
|
||||
|
||||
<alias binding="same">
|
||||
+ <family>Arimo</family>
|
||||
+ <default>
|
||||
+ <family>Arial</family>
|
||||
+ </default>
|
||||
+ </alias>
|
||||
+
|
||||
+ <alias binding="same">
|
||||
<family>Albany</family>
|
||||
<default>
|
||||
<family>Arial</family>
|
||||
@@ -130,6 +141,13 @@
|
||||
</alias>
|
||||
|
||||
<alias binding="same">
|
||||
+ <family>Tinos</family>
|
||||
+ <default>
|
||||
+ <family>Times New Roman</family>
|
||||
+ </default>
|
||||
+ </alias>
|
||||
+
|
||||
+ <alias binding="same">
|
||||
<family>Thorndale</family>
|
||||
<default>
|
||||
<family>Times New Roman</family>
|
||||
@@ -155,6 +173,13 @@
|
||||
<default>
|
||||
<family>Courier New</family>
|
||||
</default>
|
||||
+ </alias>
|
||||
+
|
||||
+ <alias binding="same">
|
||||
+ <family>Cousine</family>
|
||||
+ <default>
|
||||
+ <family>Courier New</family>
|
||||
+ </default>
|
||||
</alias>
|
||||
|
||||
<alias binding="same">
|
Loading…
x
Reference in New Issue
Block a user