[Bug] 部份軟體的中文為方框 [論壇 - Ubuntu 養蟲箱 - bug share]


正在瀏覽:   1 名遊客


 到底部   前一個主題   下一個主題  [無發表權] 請登錄或者註冊

« 1 2 3 4 (5) 6 7 8 ... 26 »


#41 回覆: [Bug] 文件檢視器(Evince)等軟體中文字為方框
Xenomorph0525 2010/11/8 23:15
感謝
我真的很希望這個問題與「修復模式」亂碼問題能在11.04修正好
#42 回覆: [Bug] 文件檢視器(Evince)等軟體中文字為方框
poloshiao 2011/1/4 13:37
Attn: xenomorph0525

有兩篇文章 你有何回應嗎?

I got some time to test the proposed solution, the PDFs are rendered correctly, but other applications using English text are displayed uglier for using a Chinese font. by Aron Xu
https://bugs.launchpad.net/ubuntu-translations/+bug/659280/comments/8

I found xpdf with xpdf-chinese-* installed can work without touching /etc/fonts. I think we should ask for a solution regarding poppler (which are used by evince and okular to work with PDFs) instead of making changes to fontconfig settings. by Aron Xu
Changed in fontconfig (Ubuntu):
status: New → Invalid
Changed in poppler-data (Ubuntu):
status: New → Confirmed
Changed in language-selector (Ubuntu):
status: New → Invalid
https://bugs.launchpad.net/ubuntu-translations/+bug/659280/comments/9
#43 回覆: [Bug] 文件檢視器(Evince)等軟體中文字為方框
Xenomorph0525 2011/1/4 14:48
修改後英文會比較大 只是因為所採用的中文字型檔其英文樣貌就是長這樣
如果不喜歡的話 可以把英文樣貌看得順眼的中文字型檔排位放在第一

並且即使xpdf-chinese-*可以解決PDF檔的「中文呈現方框問題」 也解決不了其他應用程式的
終究還是要把「沒有中文的字型」從/etc/fonts/conf.avail/69-language-selector-zh-*.conf裡去除

------------------------------------------------------------

上面麻煩您轉達了
以下只是牢騷 不要翻譯

為什麼這麼多人不想把「沒有中文的字型」從69-language-selector-zh-*.conf去除啊???
從根本的邏輯來看 69-language-selector-*.conf是用來指定中文的無襯線字型、襯線字型、等寬字型採用哪個字型檔
既然如此 本來就不應該放個沒有中文字的字型在那裡啊

這樣不就跟「徵中文教師結果錄取了一個洋人然後再找一個華人來輔助」一樣嗎
錄取那個華人教師不就好了嗎
#44 回覆: [Bug] 文件檢視器(Evince)等軟體中文字為方框
poloshiao 2011/1/4 15:44
Attn: xenomorph0525
請修正

修改後英文會比較大 只是因為所採用的中文字型檔其英文樣貌就是長這樣
Those applications using English text are displayed uglier owing to their original appearance of English letter character from the adopted chinese font.

如果不喜歡的話 可以把英文樣貌看得順眼的中文字型檔排位放在第一
You may put those chinese fonts with confortable appearance of English letter character into superior order to rule out those ugly ones, if you dislike them.

並且即使xpdf-chinese-*可以解決PDF檔的「中文呈現方框問題」 也解決不了其他應用程式的
It still can not solve the square character problems in chinese when one applys other application even though xpdf-chinese-* could solve the square character problems in chinese PDF files.

終究還是要把「沒有中文的字型」從/etc/fonts/conf.avail/69-language-selector-zh-*.conf裡去除
However it should be better to wipe out those fonts without chinese chacters from the file /etc/fonts/conf.avail/69-language-selector-zh-*.conf so that the annoying square character problems in chinese OS never appear forever.
#45 回覆: [Bug] 文件檢視器(Evince)等軟體中文字為方框
Xenomorph0525 2011/1/4 15:55
就照這樣
麻煩您了
謝謝你
#46 回覆: [Bug] 文件檢視器(Evince)等軟體中文字為方框
poloshiao 2011/1/4 21:08
#47 回覆: [Bug] 文件檢視器(Evince)等軟體中文字為方框
hepha 2011/1/5 14:07
poloshiao 寫到:
已貼文於此
Comment 10 for bug 659280

有新回應囉
#48 回覆: [Bug] 文件檢視器(Evince)等軟體中文字為方框
poloshiao 2011/1/5 22:34
有新回應囉

謝謝 hepha

Attn: xenomorph0525
有沒有要回應這篇文章 ?

>Those applications using English text are displayed uglier owing to their original
> appearance of English letter character from the adopted chinese font.
>
> You may put those chinese fonts with confortable appearance of English letter
> character into superior order to rule out those ugly ones, if you dislike them.

This is an unacceptable resolution, because people may change their preferred English fonts to any fonts other than Dejavu or Bitstream Vera, you cannot force them to use a Chinese font which cannot provide best experience.

Fontconfig has the concept of priority, it is designed to make everything *just work* - When there isn't a character in the fonts of higher priority, applications should go and look at other fonts of lower priority.

I've read on the forum post you've shown. At least for now, 69-language-selector-zh-*.conf shouldn't be removed because nobody stands out to propose a better solution which does not produce regressions.

> It still can not solve the square character problems in chinese when one applys other
> application even though xpdf-chinese-* could solve the square character problems in
> chinese PDF files.

I guess the "Other application" in your words are most likely to say evince, okular, nautilus preview, etc. But please be aware, they all use poppler library, and they all use poppler-data for CJK typefaces. We should consider poppler-data is buggy, so the issue should be fixed ultimately within poppler*. xpdf sets us an example that everything is possible to be OK if we do not break user experience.

You might be aware, that Ubuntu's default font settings are accepted by most users and considered as the best defaults. If we do remove 69-language-selector-zh-*.conf, Chinese font appearance will most likely have minor differences to Debian, which does not has any tweak for Chinese.

> However it should be better to wipe out those fonts without chinese chacters from the
> file /etc/fonts/conf.avail/69-language-selector-zh-*.conf so that the annoying square
> character problems in chinese OS never appear forever.

No, at least not now. The buggy thing is poppler-data, which does not have correct maps like xpdf-chinese-* (and dependencies) do. Because poppler is widely used, it generates an impression that "other applications" are affected, but only xpdf survived because it is a special case.

資料來源:
Comment 11 for bug 659280 by Aron Xu wrote on 2011-01-04:
#49 回覆: [Bug] 文件檢視器(Evince)等軟體中文字為方框
Xenomorph0525 2011/1/5 22:45
好長....
我看不下去...

poloshiao兄 若你有什麼看法 就回應你的看法吧
我就略過了
#50 回覆: [Bug] 文件檢視器(Evince)等軟體中文字為方框
poloshiao 2011/1/5 23:30
讓我再進修一下 language-selector 和 Fontconfig 的相關基礎
才能決定夠不夠能力來接你這個 棒子

« 1 2 3 4 (5) 6 7 8 ... 26 »

 [無發表權] 請登錄或者註冊


可以查看帖子.
不可發帖.
不可回覆.
不可編輯自己的帖子.
不可刪除自己的帖子.
不可發起投票調查.
不可在投票調查中投票.
不可上傳附件.
不可不經審核直接發帖.