Fontconfig-210 » История » Версия 1
Андрей Волков, 2013-02-16 16:06
| 1 | 1 | Андрей Волков | h1. Fontconfig-210 |
|---|---|---|---|
| 2 | |||
| 3 | h2. После обновления до fontconfig-2.10 имеем: |
||
| 4 | |||
| 5 | <pre> |
||
| 6 | Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated. |
||
| 7 | </pre> |
||
| 8 | |||
| 9 | Нехорошо |
||
| 10 | |||
| 11 | h2. Смотрим, что у нас есть: |
||
| 12 | |||
| 13 | *cat ~/.fonts.conf* |
||
| 14 | |||
| 15 | <pre> |
||
| 16 | <code class="xml"> |
||
| 17 | <?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd"> |
||
| 18 | <fontconfig> |
||
| 19 | <match target="font" > |
||
| 20 | <edit mode="assign" name="rgba" > |
||
| 21 | <const>none</const> |
||
| 22 | </edit> |
||
| 23 | </match> |
||
| 24 | <match target="font" > |
||
| 25 | <edit mode="assign" name="hinting" > |
||
| 26 | <bool>true</bool> |
||
| 27 | </edit> |
||
| 28 | </match> |
||
| 29 | <match target="font" > |
||
| 30 | <edit mode="assign" name="hintstyle" > |
||
| 31 | <const>hintmedium</const> |
||
| 32 | </edit> |
||
| 33 | </match> |
||
| 34 | <match target="font" > |
||
| 35 | <edit mode="assign" name="antialias" > |
||
| 36 | <bool>true</bool> |
||
| 37 | </edit> |
||
| 38 | </match> |
||
| 39 | </fontconfig> |
||
| 40 | </code> |
||
| 41 | </pre> |
||
| 42 | |||
| 43 | h2. Решаем |
||
| 44 | |||
| 45 | sudo eselect fontconfig enable 10-no-sub-pixel.conf |
||
| 46 | sudo eselect fontconfig enable 10-autohint.conf |