+ -
当前位置:首页 → 问答吧 → 如何防止overlay里的包被更新?

如何防止overlay里的包被更新?

时间:2006-03-13

来源:互联网

xgl和中文美化的overlay里都有cairo,xgl里的比中文美化里的新,如何使中文美化里的cairo不会被升级替换掉?

作者: guoys   发布时间: 2006-03-13

quickpkg一下
然后再装一遍就好了

或者还有一个方法
其实我那个cario的补丁不是必需的
只要fonts.conf里对中文字体小字号(比如小于18)关闭antialias就行了
这也是我现在采取的方法

补丁的作用是强制使用点阵字体,省却了配置fonts.conf的麻烦

作者: zhllg   发布时间: 2006-03-13

引用:
只要fonts.conf里对中文字体小字号(比如小于18)关闭antialias就行了
这个要怎么做?

作者: guoys   发布时间: 2006-03-13

代码:
<!-- 關閉 8到17號字體的AA -->
        <match target="font" >
 <test compare="contains" name="lang" >
 <string>zh-cn</string>
 <string>zh-tw</string>
 <string>ja</string>
 <string>ko</string>
 </test>
 <test compare="more_eq" name="pixelsize" qual="any" >
 <double>8</double>
 </test>
 <test compare="less_eq" name="pixelsize" qual="any" >
 <double>17</double>
 </test>
 <edit mode="assign" name="antialias" >
 <bool>false</bool>
 </edit>
        </match>
        <!--設定中文最小字號,使得小字的中文美觀-->
        <match target="font" >
 <test name="family" qual="any" >
 <string>SimSun</string>
 <string>NSimSun</string>
 <string>SimHei</string>
 <string>FangSong_GB2312</string>
 <string>KaiTi_GB2312</string>
 </test>
 <test compare="more_eq" name="pixelsize" >
 <int>8</int>
 </test>
 <test compare="less_eq" name="pixelsize" >
 <int>12</int>
 </test>
 <edit compare="eq" name="pixelsize" >
 <int>12</int>
 </edit>
        </match>

作者: ifree   发布时间: 2006-03-13

Just mask it, for example I don't want the kernel to be upgraded. I put

>sys-kerenls/gentoo-sources-2.6.15-r1

into /etc/portage/package.mask

作者: Nankai   发布时间: 2006-03-14

楼上的不错.

作者: Yuri   发布时间: 2006-03-14

往font.conf里加入这一段后
代码:
   <match target="font" >
 <test compare="contains" name="lang" >
 <string>zh-cn</string>
 <string>zh-tw</string>
 <string>ja</string>
 <string>ko</string>
 </test>
 <test compare="more_eq" name="pixelsize" qual="any" >
 <double>8</double>
 </test>
 <test compare="less_eq" name="pixelsize" qual="any" >
 <double>17</double>
 </test>
 <edit mode="assign" name="antialias" >
 <bool>false</bool>
 </edit>
        </match>
,thunderbird非常容易崩溃,把这一段注释掉后就正常了,但字体难看,如果要用这一段,就要将fontconfig换回原来的。

作者: guoys   发布时间: 2006-03-14

thunderbird好了,刚才发现gedit很不稳定
错误信息:
The program 'gedit' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadLength (poly request too large or internal Xlib length erro'.
(Details: serial 16654 error_code 16 request_code 156 minor_code 20)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

作者: guoys   发布时间: 2006-03-14

热门下载

更多