You are not logged in.
Hi, I am having trouble trying to install the Chinese font HDZB_7.TTF.
From
http://www.certifiedchinesetranslation. … inese.html
I download the HDZB_7.TTF font:
$ wget http://www.certifiedchinesetranslation.com/fonts/HDZB_7.TTFThen I try installing it using:
$ chmod a+r HDZB_7.TTF
# cp HDZB_7.TTF /usr/share/fonts/TTF
# fc-cache -svf /usr/share/fonts/TTFThen after rebooting the machine, I can not find the HDZB_7 font in LibreOffice Writer.
When I check using
$ fc-cat | grep -i hdzb
...
"HDZB_7.TTF" 0 "䡡湄楮札䍓ⵆ潮瑳:familylang=zh-cn:style=Regular:stylelang=zh-cn:fullname=䡡湄楮札䍓ⵆ潮瑳:fullnamelang=zh-cn:slant=0:weight=80:width=100:spacing=100:foundry=unknown:index=0:outline=True:scalable=True:charset=:lang=:fontversion=0:fontformat=TrueType:decorative=False:hash=sha256\\:49b9cff7bcf38341598c5738c8b9a7e7e5b212aaa24cc03d99f96e9ce4359cc1:postscriptname=䡡湄楮札䍓ⵆ潮瑳"... then when I go to LibreOffice Writer and select the font name 䡡湄楮札䍓ⵆ潮瑳, the font does not look like the sample Clerical Script Font Characters shown on their website.
So next I try gnome-font-viewer. First I install gnome-font-viewer:
$ pacman -S gnome-font-viewerThen I try it on the HDZB_7 font:
$ gnome-font-viewer HDZB_7.TTF
(gnome-font-viewer:6435): Pango-CRITICAL **: pango_find_base_dir: assertion 'text != NULL || length == 0' failed
Segmentation fault (core dumped)So then I found this post saying how someone fixed these Pango-CRITICAL errors using pango-querymodules:
https://menzonius.wordpress.com/2006/08 … -in-gnome/
However the current version of pango is 1.38.1:
$ pacman -Ss pango
extra/pango 1.38.1-1 [installed]
A library for layout and rendering of text... but it seems that since version 1.38.0 pango no longer has pango-querymodules:
https://github.com/Homebrew/homebrew/issues/44764
Has anyone had this problem before? Thanks in advance! ![]()
Offline
Then I try it on the HDZB_7 font:
$ gnome-font-viewer HDZB_7.TTF (gnome-font-viewer:6435): Pango-CRITICAL **: pango_find_base_dir: assertion 'text != NULL || length == 0' failed Segmentation fault (core dumped)So then I found this post saying how someone fixed these Pango-CRITICAL errors using pango-querymodules:
https://menzonius.wordpress.com/2006/08 … -in-gnome/However the current version of pango is 1.38.1:
$ pacman -Ss pango extra/pango 1.38.1-1 [installed] A library for layout and rendering of text... but it seems that since version 1.38.0 pango no longer has pango-querymodules:
https://github.com/Homebrew/homebrew/issues/44764
I don't think it has anything to do with Pango. Searching the net shows many instances of gnome-font-viewer crashing.
This one might be of interest to you: https://bugzilla.gnome.org/show_bug.cgi?id=751759
Edit: Moving to "Applications and Desktop Environments".
Last edited by x33a (2016-02-06 09:22:32)
Offline
Hi x33a,
Thanks for your help. I have now found an alternative font "HanWangLiSuMedium - wt021.ttf - Traditional" from here:
http://www.wildboar.net/multilingual/as … osoft.html
This will solve my problem as it works on Arch Linux! I am going to mark this thread as solved! ![]()
Offline