分页: 4 / 6

Re: Linux 字体配置要略(2012-02-15 更新)

发表于 : 2012-06-01 15:47
YeLee
直接扔到~/.fonts.conf吧。

Re: Linux 字体配置要略(2012-02-15 更新)

发表于 : 2012-06-17 17:54
YeLee
我说建客,干嘛不把文鼎那几个字都加个accept啊,那样起码不会有时候繁简混合的时候出问题啊。 :em06

Re: Linux 字体配置要略(2012-02-15 更新)

发表于 : 2012-06-19 22:17
自由建客
YeLee 写了:我说建客,干嘛不把文鼎那几个字都加个accept啊,那样起码不会有时候繁简混合的时候出问题啊。 :em06
啥?

Re: Linux 字体配置要略(2012-02-15 更新)

发表于 : 2012-06-20 10:19
YeLee
[bash]
<alias binding="strong">
<family>AR PL UMing CN</family>
<accept>
<family>AR PL UMing TW</family>
</accept>
</alias>

<alias binding="strong">
<family>AR PL SungtiL GB</family>
<family>文鼎PL简报宋</family>
<accept>
<family>AR PL Mingti2L Big5</family>
</accept>
</alias>

<alias binding="strong">
<family>AR PL UKai CN</family>
<accept>
<family>AR PL UKai TW</family>
</accept>
</alias>

<alias binding="strong">
<family>AR PL KaitiM GB</family>
<family>文鼎PL简中楷</family>
<accept>
<family>AR PL KaitiM Big5</family>
</accept>
</alias>
[/bash]

Re: Linux 字体配置要略(2012-02-15 更新)

发表于 : 2012-06-20 12:18
自由建客
这版配制就是不分语言的,等下版。

Re: Linux 字体配置要略(2012-02-15 更新)

发表于 : 2012-06-20 12:26
YeLee
坐等新版。 :em11

Re: Linux 字体配置要略(2012-02-15 更新)

发表于 : 2012-06-20 12:30
自由建客
YeLee 写了:坐等新版。 :em11
耐心等吧!
首先,我是慢性子。
其次,我能力就这点。
再次,我发现 fontconfig 有很大的问题,想修改或干脆将其换掉。
再有,这还牵涉到 gtk、qt 等。

Re: Linux 字体配置要略(2012-02-15 更新)

发表于 : 2012-06-20 12:31
YeLee
:em06

Re: Linux 字体配置要略(2012-02-15 更新)

发表于 : 2012-06-26 11:13
a14331990
请问楼主为何不拆分文件
具体在这里
/etc/fonts/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 ../conf.avail 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
用户配置在
$ ls ~/.fonts.conf.d/
000-fontstweak-ezfc.conf 61-replace-fonts.conf

加载顺序确实是按数字顺序 命名规则只是惯例但不强制
000-fontstweak-ezfc.conf是fonts-tweak-tool自动生成的,61-replace-fonts.conf是我自己写的。

Re: Linux 字体配置要略(2012-02-15 更新)

发表于 : 2012-08-10 8:25
levee
貌似发现一处错误。

《Linux 字体配置要略》(2012-02-15)一文第五页4.4节第一段代码中的第一行

代码: 全选

<alias binding="sgrong">
其中的sgrong似乎应该是strong。
1.png

Re: Linux 字体配置要略(2012-02-15 更新)

发表于 : 2012-08-10 12:47
自由建客
levee, 多谢提醒,还真是如此。

Re: Linux 字体配置要略(2012-02-15 更新)

发表于 : 2012-09-18 20:58
杨钧文
何时出新版?

Re: Linux 字体配置要略(2012-02-15 更新)

发表于 : 2012-09-30 10:28
hark
师兄,我使用arch,用了此配置,可是无论如何字体没法漂亮,不知何故,请指点。

Re: Linux 字体配置要略(2012-02-15 更新)

发表于 : 2012-09-30 22:42
自由建客
Arch 太过激进,据说规则变了。我现在还没空搞那些,自己研究一下吧,或者再忍忍。

Re: Linux 字体配置要略(2012-02-15 更新)

发表于 : 2012-10-04 15:04
Very.Very.Sorry
:em11 :em11 给力给力!!!