anye Posted September 2, 2021 Share Posted September 2, 2021 (edited) Find a font file that supports Chinese, such as C:\Windows\Fonts\msyh.ttc in the Windows system directory You can fix this by copying the file into the/usr/share/fonts/TTF or \usr\lib64\ Firefox \fonts directory, Also hope developers to add support for Chinese font files@JavyLiu @lyqalex. 找到一个支持中文的字体文件,例如Windows系统目录下的C:\Windows\Fonts\msyh.ttc 将文件拷贝到/usr/share/fonts/TTF 或者 \usr\lib64\firefox\fonts目录中即可解决这个问题, 同时希望开发者@JavyLiu @lyqalex 添加支持中文字体文件. Edited September 2, 2021 by anye Quote Link to comment
bonienl Posted September 3, 2021 Share Posted September 3, 2021 Does this happen only when you access the GUI from a local terminal using firefox? Quote Link to comment
anye Posted September 3, 2021 Author Share Posted September 3, 2021 11 hours ago, bonienl said: 仅当您使用 Firefox 从本地终端访问 GUI 时才会发生这种情况吗? Yes, for Simplified Chinese, not for other fonts Quote Link to comment
lyqalex Posted September 5, 2021 Share Posted September 5, 2021 我日常同时用火狐和微软的edge浏览器,未出现中文显示问题。 Quote Link to comment
vvqboy Posted December 11, 2022 Share Posted December 11, 2022 1 hour ago, vvqboy said: The local GUI @bonienl Quote Link to comment
speedylynx Posted December 13, 2022 Share Posted December 13, 2022 (edited) 太好了,終於有解決辦法。這貼一定要置頂,每個新來的unraid菜鳥都是必須的。 為了後來者,我也說明多一點。 1> 在c:\Windows\Fonts\ 找繁簡字體如下: msjh.ttc (繁體) msjhl.ttc (繁體幼) msjhbd.ttc (繁體粗) msyh.ttc (簡體) msyhl.ttc (簡體幼) msyhbd.ttc (簡體粗) 2> 先把以上6個檔案拷貝到 /mnt/user/isos/fonts/ 3> 打開unraid主頁面的Terminal,及試試看unraid基本自帶字體情況 ls -la /usr/share/fonts/TTF/ 4> 拷貝isos/fonts內的字體到usr/share去 cp /mnt/user/isos/fonts/*.ttc /user/share/fonts/TTF/ 5> 再看看有否加進去 ls -la /usr/share/fonts/TTF/ 如果看到了6個檔案都新加了進去便完成,unraid自帶原生的firefox就可以看到中文了。 但是這時,firefox只能看中文,不能輸入中文。Firefox也不能儲存設定,重起後設定就恢復原狀。不知道有沒有高人有解決方案? Edited December 13, 2022 by speedylynx 1 Quote Link to comment
speedylynx Posted December 13, 2022 Share Posted December 13, 2022 (edited) Unraid 重起後,Firefox恢復原設置,中文字體也沒有了。 所以,要在Plugins上的User Scripts中,加一個新的“ADD NEW SCRIPT”,並設定為 "At Startup of Array"。內容如下: #!/bin/bash cp /mnt/user/isos/font/*.ttc /usr/share/fonts/TTF/ 名稱如:Copy_Chinese_fonts_to_UnraidWebInterface_Firefox 總結: 1> Unraid官方沒做到位啊,這些基本中文支援都沒有,要中文用家折騰這些東西。 2> 字體上好似6選1便可,筆者懶惰,不想折騰選字體,就索性放6個進去。 3> 在isos內放fonts,只是筆者覺得方便,大家可以隨便更改存放fonts的位置。 Edited December 13, 2022 by speedylynx 1 Quote Link to comment
speedylynx Posted December 13, 2022 Share Posted December 13, 2022 網上有幾個中文在線輸入法,大家可以搜搜。未有解決辦法前,可以湊合用。 如下: 速成輸入法 https://www.simpleinput.com 可能有人會問,為甚麼要折騰Unraid OS GUI Mode呢?遠端網頁不香嗎?筆者覺得unRAID OS GUI Mode有他的實用性,尤其是系統設定初期/關鍵時刻,或設置網絡如openwrt或網口時,GUI Mode可以救你一命,但如果不能駛用中文,這連看看網上中文說明或硬盤上的中文檔案/文件夾等都做不到,問題就變得非常複雜了。 Quote Link to comment
speedylynx Posted December 13, 2022 Share Posted December 13, 2022 (edited) 如果登入firefox戶口,便可以儲存網址及密碼,用起來比較方便。但每次重啟都需要手動登入。 如果有Ubuntu作為vm的朋友,也可以在其內置的firefox上登入,兩者便可分享firefox資源。 Edited December 13, 2022 by speedylynx Quote Link to comment
45558744 Posted December 18, 2022 Share Posted December 18, 2022 On 9/3/2021 at 1:07 AM, anye said: Find a font file that supports Chinese, such as C:\Windows\Fonts\msyh.ttc in the Windows system directory You can fix this by copying the file into the/usr/share/fonts/TTF or \usr\lib64\ Firefox \fonts directory, Also hope developers to add support for Chinese font files@JavyLiu @lyqalex. 找到一个支持中文的字体文件,例如Windows系统目录下的C:\Windows\Fonts\msyh.ttc 将文件拷贝到/usr/share/fonts/TTF 或者 \usr\lib64\firefox\fonts目录中即可解决这个问题, 同时希望开发者@JavyLiu @lyqalex 添加支持中文字体文件. 使用终端,并没有找到/usr/share/fonts/TTF 文件夹,自己创建?然后怎么把本地的字库拷贝进去,cp命令怎么写呢?我不太会 Quote Link to comment
speedylynx Posted December 18, 2022 Share Posted December 18, 2022 你可能找錯終端,是主頁右上角那裡的。 文件夾本身就有的,不用創建。 你把上面的命令行拷貝一下,然後在終端上直接貼上去便成 字體在windows上找,提議你拷貝到isos文件夾上,這個文件夾應該大家都做了"共享"給windows使用。 Quote Link to comment
ms2003 Posted December 27, 2022 Share Posted December 27, 2022 On 12/19/2022 at 3:05 AM, speedylynx said: 你可能找錯終端,是主頁右上角那裡的。 文件夾本身就有的,不用創建。 你把上面的命令行拷貝一下,然後在終端上直接貼上去便成 字體在windows上找,提議你拷貝到isos文件夾上,這個文件夾應該大家都做了"共享"給windows使用。 这两个目录确实是没有的 Quote Link to comment
speedylynx Posted December 31, 2022 Share Posted December 31, 2022 看吧,手把手的教你 SVID_20221231_112810_1.mp4 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.