Accepting request 452790 from home:MargueriteSu:branches:M17N

OBS-URL: https://build.opensuse.org/request/show/452790
OBS-URL: https://build.opensuse.org/package/show/M17N/fonts-config?expand=0&rev=81
This commit is contained in:
Marguerite Su 2017-01-26 19:07:02 +00:00 committed by Git OBS Bridge
parent 52f42a9ffe
commit 3cdc569ff9
4 changed files with 29 additions and 17 deletions

View File

@ -2,7 +2,7 @@
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig> <fontconfig>
<!-- hinting --> <!-- hinting -->
<match target="font"> <match target="pattern">
<!-- hinting is on unconditionally, but that --> <!-- hinting is on unconditionally, but that -->
<!-- can be controlled via hintstyle (hintnone) --> <!-- can be controlled via hintstyle (hintnone) -->
<edit name="hinting" mode="assign"> <edit name="hinting" mode="assign">
@ -11,12 +11,12 @@
</match> </match>
<!-- hint type: autohinter or BCI --> <!-- hint type: autohinter or BCI -->
<match target="font"> <match target="pattern">
<edit name="autohint" mode="assign"> <edit name="autohint" mode="assign">
<bool>true</bool> <bool>true</bool>
</edit> </edit>
</match> </match>
<match target="font"> <match target="pattern">
<test name="font_type"> <test name="font_type">
<string>TT Instructed Font</string> <string>TT Instructed Font</string>
</test> </test>
@ -24,7 +24,7 @@
<bool>false</bool> <bool>false</bool>
</edit> </edit>
</match> </match>
<match target="font"> <match target="pattern">
<test name="font_type"> <test name="font_type">
<string>NON TT Instructed Font</string> <string>NON TT Instructed Font</string>
</test> </test>
@ -32,7 +32,7 @@
<bool>true</bool> <bool>true</bool>
</edit> </edit>
</match> </match>
<match target="font"> <match target="pattern">
<test name="fontformat"> <test name="fontformat">
<string>CFF</string> <string>CFF</string>
</test> </test>
@ -40,7 +40,7 @@
<bool>false</bool> <bool>false</bool>
</edit> </edit>
</match> </match>
<match target="font"> <match target="pattern">
<test name="force_autohint"> <test name="force_autohint">
<bool>true</bool> <bool>true</bool>
</test> </test>
@ -50,12 +50,12 @@
</match> </match>
<!-- hint style --> <!-- hint style -->
<match target="font"> <match target="pattern">
<edit name="hintstyle"> <edit name="hintstyle">
<const>hintslight</const> <const>hintslight</const>
</edit> </edit>
</match> </match>
<match target="font"> <match target="pattern">
<test name="autohint"> <test name="autohint">
<bool>false</bool> <bool>false</bool>
</test> </test>
@ -66,7 +66,7 @@
<const>hintfull</const> <const>hintfull</const>
</edit> </edit>
</match> </match>
<match target="font"> <match target="pattern">
<test name="force_hintstyle"> <test name="force_hintstyle">
<string>hintnone</string> <string>hintnone</string>
</test> </test>
@ -74,7 +74,7 @@
<const>hintnone</const> <const>hintnone</const>
</edit> </edit>
</match> </match>
<match target="font"> <match target="pattern">
<test name="force_hintstyle"> <test name="force_hintstyle">
<string>hintslight</string> <string>hintslight</string>
</test> </test>
@ -82,7 +82,7 @@
<const>hintslight</const> <const>hintslight</const>
</edit> </edit>
</match> </match>
<match target="font"> <match target="pattern">
<test name="force_hintstyle"> <test name="force_hintstyle">
<string>hintmedium</string> <string>hintmedium</string>
</test> </test>
@ -90,7 +90,7 @@
<const>hintmedium</const> <const>hintmedium</const>
</edit> </edit>
</match> </match>
<match target="font"> <match target="pattern">
<test name="force_hintstyle"> <test name="force_hintstyle">
<string>hintfull</string> <string>hintfull</string>
</test> </test>
@ -100,7 +100,7 @@
</match> </match>
<!-- font smooth or don't font smooth --> <!-- font smooth or don't font smooth -->
<match target="font"> <match target="pattern">
<!-- this test should not be needed, <!-- this test should not be needed,
as antialiasing is done only for outlines, as antialiasing is done only for outlines,
but workarounds Qt5 issue, see bug 866705 --> but workarounds Qt5 issue, see bug 866705 -->
@ -111,7 +111,7 @@
<bool>true</bool> <bool>true</bool>
</edit> </edit>
</match> </match>
<match target="font"> <match target="pattern">
<test name="force_bw"> <test name="force_bw">
<bool>true</bool> <bool>true</bool>
</test> </test>

View File

@ -2,7 +2,7 @@
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig> <fontconfig>
<match target="font"> <match target="pattern">
<test name="force_bw_monospace"> <test name="force_bw_monospace">
<bool>true</bool> <bool>true</bool>
</test> </test>

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Jan 26 18:52:28 UTC 2017 - i@marguerite.su
- fixed boo#904015: outlined fonts didn't get their antialias
enabled by fontconfig in openSUSE 13.2 and above
* 11-base-rendering.conf and 12-tt-monospace-rendering.conf:
fixed misused match target 'font' to 'pattern'. if 'font'
target is used, there should be a test matched only one font,
and all other tests/edits go to this font. any match that
wishes to have multiple possible results should use 'pattern'
target.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 21 13:35:53 UTC 2016 - ftake@geeko.jp Wed Sep 21 13:35:53 UTC 2016 - ftake@geeko.jp

View File

@ -1,7 +1,7 @@
# #
# spec file for package fonts-config # spec file for package fonts-config
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -22,9 +22,9 @@ Name: fonts-config
Version: 20160921 Version: 20160921
Release: 0 Release: 0
Summary: Configures Fonts for X Windows and other applications Summary: Configures Fonts for X Windows and other applications
# MIT for infinality
License: GPL-2.0+ and MIT License: GPL-2.0+ and MIT
Group: System/X11/Fonts Group: System/X11/Fonts
# MIT for infinality
Source0: fonts-config Source0: fonts-config
Source1: sysconfig.fonts-config Source1: sysconfig.fonts-config
Source2: fontconfig.SUSE.properties.template Source2: fontconfig.SUSE.properties.template