我想, 那些應該要 submit 到 freetype devel, xft/fc devel, 然後才會被 gentoo 採納吧.pahud wrote:題外話,firefly的patch以及xttmgr等,我覺得應該幫她寫個ebuild才對...
當然, 有 got 的推薦說不定也比較容易進去.
xttmgr 是一定要 ebuild 的.
Moderator: Forums Team
我想, 那些應該要 submit 到 freetype devel, xft/fc devel, 然後才會被 gentoo 採納吧.pahud wrote:題外話,firefly的patch以及xttmgr等,我覺得應該幫她寫個ebuild才對...
Code: Select all
epatch /path/to/fontconfig-2.1.92-CJK-fixwidth-multifamily-20030401.patchCode: Select all
***** fontconfig-2.2-local_fontdir.patch *****
==============================================
PATCH COMMAND: patch -p0 < /usr/portage/media-libs/fontconfig/files/patch/font
config-2.2-local_fontdir.patch
==============================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur fontconfig-2.1.94/fonts.conf.in fontconfig-2.1.94.patched/fonts.conf.i
n
|--- fontconfig-2.1.94/fonts.conf.in 2003-04-16 23:57:38.000000000 +0200
|+++ fontconfig-2.1.94.patched/fonts.conf.in 2003-04-18 02:59:54.000000000 +0
200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
==============================================
PATCH COMMAND: patch -p1 < /usr/portage/media-libs/fontconfig/files/patch/fontconfig-2.2-local_fontdir.patch
==============================================
patching file fonts.conf.in
Hunk #1 FAILED at 25.
1 out of 1 hunk FAILED -- saving rejects to file fonts.conf.in.rej
==============================================
PATCH COMMAND: patch -p2 < /usr/portage/media-libs/fontconfig/files/patch/font
config-2.2-local_fontdir.patch
==============================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur fontconfig-2.1.94/fonts.conf.in fontconfig-2.1.94.patched/fonts.conf.i
n
|--- fontconfig-2.1.94/fonts.conf.in 2003-04-16 23:57:38.000000000 +0200
|+++ fontconfig-2.1.94.patched/fonts.conf.in 2003-04-18 02:59:54.000000000 +0
200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
==============================================
PATCH COMMAND: patch -p3 < /usr/portage/media-libs/fontconfig/files/patch/font
config-2.2-local_fontdir.patch
==============================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur fontconfig-2.1.94/fonts.conf.in fontconfig-2.1.94.patched/fonts.conf.i
n
|--- fontconfig-2.1.94/fonts.conf.in 2003-04-16 23:57:38.000000000 +0200
|+++ fontconfig-2.1.94.patched/fonts.conf.in 2003-04-18 02:59:54.000000000 +0
200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
==============================================
PATCH COMMAND: patch -p4 < /usr/portage/media-libs/fontconfig/files/patch/font
config-2.2-local_fontdir.patch
==============================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur fontconfig-2.1.94/fonts.conf.in fontconfig-2.1.94.patched/fonts.conf.i
n
|--- fontconfig-2.1.94/fonts.conf.in 2003-04-16 23:57:38.000000000 +0200
|+++ fontconfig-2.1.94.patched/fonts.conf.in 2003-04-18 02:59:54.000000000 +0
200
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignoredCode: Select all
# emerge search fontconfig
Searching...
[ Results for search key : fontconfig ]
[ Applications found : 1 ]
* media-libs/fontconfig
Latest version available: 2.1-r1
Latest version installed: 2.1-r1
Size of downloaded files: 531 kB
Homepage: http://fontconfig.org/
Description: A library for configuring and customizing font access.Code: Select all
src_unpack() {
unpack ${A}
cd ${S}
local PPREFIX="${FILESDIR}/patch/${PN}"
# Cvs update from XFree86 tree
epatch ${PPREFIX}-${PV}-cvs-update-20021221.patch
# Some patches from Redhat
epatch ${PPREFIX}-2.0-defaultconfig.patch
epatch ${PPREFIX}-${PV}-slighthint.patch
# Blacklist certain fonts that freetype can't handle
epatch ${PPREFIX}-0.0.1.020826.1330-blacklist.patch
# Fix config script to alway include X11 fontpath and remove date
epatch ${PPREFIX}-${PV}-x11fontpath-date-configure-v2.patch
# fix font width bug with cjk fonts
epatch ${PPREFIX}-${PV}-fixedwidth.patch
# patch from firefly
epatch /path/to/fontconfig-2.1.92-CJK-fixwidth-multifamily-20030401.patch
}我是在一個討論區看到螢火飛提到此問題才解決了困擾我幾個月的問題。coolbook wrote:謝謝各位的幫助
我照著si的作法已經可以成功顯示那些字了
就是改/etc/fonts/fonts.conf這個檔
<match target="font" >
<test compare="contains" name="lang" >
<string>zh</string>
</test>
<edit mode="assign" name="hinting" >
<bool>false</bool>
</edit>
</match>
把上面那個false改成true ^^
還有請問各位先進
你們怎麼都知道這是那里出問題,要改那些地方
我也好想研究一下中文化呦!!
其實... 是這段搞的鬼Si wrote:我是在一個討論區看到螢火飛提到此問題才解決了困擾我幾個月的問題。coolbook wrote:還有請問各位先進
你們怎麼都知道這是那里出問題,要改那些地方
我也好想研究一下中文化呦!!
Code: Select all
<!--
We can't hint CJK fonts well, so turn off hinting for CJK fonts.
-->
<match target="font">
<test name="lang" compare="contains">
<string>ja</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="lang" compare="contains">
<string>ko</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="lang" compare="contains">
<string>zh</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>Code: Select all
<!--
We can't hint CJK fonts well, so turn off hinting for CJK fonts.
<match target="font">
<test name="lang" compare="contains">
<string>ja</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="lang" compare="contains">
<string>ko</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="lang" compare="contains">
<string>zh</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
-->看了各位的討論小弟也覺得很奇怪,Si wrote:我是在一個討論區看到螢火飛提到此問題才解決了困擾我幾個月的問題。coolbook wrote:謝謝各位的幫助
我照著si的作法已經可以成功顯示那些字了
就是改/etc/fonts/fonts.conf這個檔
<match target="font" >
<test compare="contains" name="lang" >
<string>zh</string>
</test>
<edit mode="assign" name="hinting" >
<bool>false</bool>
</edit>
</match>
把上面那個false改成true ^^
還有請問各位先進
你們怎麼都知道這是那里出問題,要改那些地方
我也好想研究一下中文化呦!!
Code: Select all
我的 xmms 用遍了各種解決方案居然都沒用,選單的中文就是亂碼.............Code: Select all
-dynalab-pmingliu-medium-r-normal--0-0-0-0-c-0-big5-0,-dynalab-pmingliu-medium-r-normal--0-0-0-0-p-0-iso8859-1