317
contributi
m (→Infinality) |
m (→Ubuntu: patch per font Ubuntu) |
||
Riga 197: | Riga 197: | ||
<fontconfig> | <fontconfig> | ||
<!-- | <!-- Fixes for Ubuntu family: | ||
- Medium variant is used instead of Regular on Qt apps: | |||
https://bugs.launchpad.net/ubuntu-font-family/+bug/744812 | |||
- Medium and Bold looks the same in certain applications: | |||
https://bugs.launchpad.net/ubuntu/+source/gnome-specimen/+bug/813373 | |||
--> | |||
<match target="scan"> | <match target="scan"> | ||
<test name=" | <test name="fullname" compare="eq"> | ||
<string>Ubuntu Light</string> | |||
</test> | |||
<edit name="family" mode="assign"> | |||
<string>Ubuntu</string> | <string>Ubuntu</string> | ||
</edit> | |||
<edit name="familylang" mode="assign"> | |||
<string>en</string> | |||
</edit> | |||
<edit name="style" mode="assign"> | |||
<string>Light</string> | |||
</edit> | |||
<edit name="stylelang" mode="assign"> | |||
<string>en</string> | |||
</edit> | |||
</match> | |||
<match target="scan"> | |||
<test name="fullname" compare="eq"> | |||
<string>Ubuntu Light Italic</string> | |||
</test> | |||
<edit name="family" mode="assign"> | |||
<string>Ubuntu</string> | |||
</edit> | |||
<edit name="familylang" mode="assign"> | |||
<string>en</string> | |||
</edit> | |||
<edit name="style" mode="assign"> | |||
<string>Light Italic</string> | |||
</edit> | |||
<edit name="stylelang" mode="assign"> | |||
<string>en</string> | |||
</edit> | |||
</match> | |||
<match target="scan"> | |||
<test name="fullname" compare="eq"> | |||
<string>Ubuntu Medium</string> | |||
</test> | </test> | ||
< | <edit name="family" mode="assign"> | ||
<string>Ubuntu</string> | |||
</edit> | |||
<edit name="familylang" mode="assign"> | |||
<string>en</string> | |||
</edit> | |||
<edit name="style" mode="assign"> | |||
<string>Medium</string> | <string>Medium</string> | ||
</ | </edit> | ||
<edit name="weight"> | <edit name="stylelang" mode="assign"> | ||
<string>en</string> | |||
</edit> | |||
<edit name="weight" mode="assign"> | |||
<const>demibold</const> | <const>demibold</const> | ||
</edit> | </edit> | ||
Riga 213: | Riga 262: | ||
<match target="scan"> | <match target="scan"> | ||
<test name=" | <test name="fullname" compare="eq"> | ||
<string>Ubuntu Medium Italic</string> | |||
</test> | |||
<edit name="family" mode="assign"> | |||
<string>Ubuntu</string> | <string>Ubuntu</string> | ||
</ | </edit> | ||
< | <edit name="familylang" mode="assign"> | ||
<string>en</string> | |||
</edit> | |||
<edit name="style" mode="assign"> | |||
<string>Medium Italic</string> | <string>Medium Italic</string> | ||
</ | </edit> | ||
<edit name="weight"> | <edit name="stylelang" mode="assign"> | ||
<string>en</string> | |||
</edit> | |||
<edit name="weight" mode="assign"> | |||
<const>demibold</const> | <const>demibold</const> | ||
</edit> | </edit> |
contributi