How i can add Chinese and other Asian font to terminal?

Language Packs


Moderator: Forum moderators

Post Reply
Zuzia
Posts: 106
Joined: Wed Oct 21, 2020 2:32 pm
Has thanked: 13 times
Been thanked: 6 times

How i can add Chinese and other Asian font to terminal?

Post by Zuzia »

Hi its me!
I have properly displayed Chinese font in system but no in terminal And i must torture You all again :)

Example my music in cmus looks like this...

terminal chinese font.jpg
terminal chinese font.jpg (201.96 KiB) Viewed 2749 times

Can anyone tell me i must edit some setting to add code page in urxvt or i must add difrent font for terminal?
But i rly. dont wont change my terminal font...

Is possible display properly Chinese, Japanese, Korean, Thai, Vietnamese, Lao. fonts using some special font from Asia? Anyone know name that font in *.ttf file?

I Wait for answer :thumbup2: Thanks!

mistfire
Posts: 718
Joined: Thu Jul 16, 2020 2:16 am
Location: CALABARZON, PH
Has thanked: 3 times
Been thanked: 173 times

Re: How i can add Chinese and other Asian font to terminal?

Post by mistfire »

@Zuzia

1. Install unifont ttf file
2. Get language packs from @icake thread on this forum

Zuzia
Posts: 106
Joined: Wed Oct 21, 2020 2:32 pm
Has thanked: 13 times
Been thanked: 6 times

Re: How i can add Chinese and other Asian font to terminal?

Post by Zuzia »

Hi i find this... Becouse my is bionic 8 x64
viewtopic.php?p=29561#p29561
but i have font in system but not in terminal.
That file is iso 300+MB this is too big also i read her this:
Chinese language pets will give you Simplified Chinese (zhcn deb) or Traditional Chinese (zhhk deb) menus, icon labels, tooltips for BionicDog (20180604)
I not wont change all OS language i need only missing font in terminal. Menus, icons, labels?? I rly dont know what i must do with that file...

User avatar
MochiMoppel
Posts: 1236
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 21 times
Been thanked: 439 times

Re: How i can add Chinese and other Asian font to terminal?

Post by MochiMoppel »

Zuzia wrote: Sat Nov 06, 2021 7:59 pm

But i rly. dont wont change my terminal font...

.. but you might have to change your terminal.
My urxvt terminal struggles with Asian fonts while the sakura terminal can properly display them. And then of course the program that you are running in the terminal must also support multibyte fonts (alledgedly cmus does but I haven't tested)

Is possible display properly Chinese, Japanese, Korean, Thai, Vietnamese, Lao. fonts using some special font from Asia?

Lao? No problem. Lao is supported by Puppy's default font DejaVu Sans, and if you can display ສະບາຍດີ then your terminal most probably can too. If you already have a Chinese font installed then - with a supporting terminal - you should not need language packs or additional fonts to display Chinese song titles in cmus

Screenshot(1).png
Screenshot(1).png (28.31 KiB) Viewed 2728 times
jamesbond
Posts: 717
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 124 times
Been thanked: 402 times

Re: How i can add Chinese and other Asian font to terminal?

Post by jamesbond »

urxvt works for me. At least when displaying stuff.

(Please mind the text. I don't know what they mean, I just copy paste from some websites to the attach to the filenames. I hope they don't contain any rude or inappropriate words).

xscreenshot-20211107T222746.png
xscreenshot-20211107T222746.png (11.54 KiB) Viewed 2711 times
xscreenshot-20211107T222714.png
xscreenshot-20211107T222714.png (18.4 KiB) Viewed 2711 times
Zuzia
Posts: 106
Joined: Wed Oct 21, 2020 2:32 pm
Has thanked: 13 times
Been thanked: 6 times

Re: How i can add Chinese and other Asian font to terminal?

Post by Zuzia »

Hi this is wierd if work in Sakura but no in urxvt :) My Lao and chinese work also in rox but in terminal no luck...

All look good in Sakura. But what you do to display all properly in urxvt?

My Sakura cmus looks much better but still i some symbol missing. But ok now how i can setup all in urxvt?

sakura.jpg
sakura.jpg (226.3 KiB) Viewed 2704 times
Last edited by Zuzia on Sun Nov 07, 2021 3:17 pm, edited 1 time in total.
Zuzia
Posts: 106
Joined: Wed Oct 21, 2020 2:32 pm
Has thanked: 13 times
Been thanked: 6 times

Re: How i can add Chinese and other Asian font to terminal?

Post by Zuzia »

No problem. Lao is supported by Puppy's default font DejaVu Sans, and if you can display ສະບາຍດີ then your terminal most probably can too. If you already have a Chinese font installed then - with a supporting terminal - you should not need language packs or additional fonts to display Chinese song titles in cmus
Screenshot(1).png

Yes but all the time i use urxvt coz i config all what i wont but also my Chinese font looks same as on Your screen above @jamesbond is any way i can fix that?

Zuzia
Posts: 106
Joined: Wed Oct 21, 2020 2:32 pm
Has thanked: 13 times
Been thanked: 6 times

Re: How i can add Chinese and other Asian font to terminal?

Post by Zuzia »

jamesbond wrote: Sun Nov 07, 2021 12:32 pm

urxvt works for me. At least when displaying stuff.
xscreenshot-20211107T222746.pngxscreenshot-20211107T222714.png

You change something in system, becouse first urxvt not display chinese or lao and japanese and now i see all...
How You repair that?

Zuzia
Posts: 106
Joined: Wed Oct 21, 2020 2:32 pm
Has thanked: 13 times
Been thanked: 6 times

[SOLVED]How i can add Chinese and other Asian font to terminal?

Post by Zuzia »

mistfire wrote: Sat Nov 06, 2021 9:22 pm

@Zuzia

1. Install unifont ttf file
2. Get language packs from @icake thread on this forum

OK problem SOLVED just install that unifont help now terminal display all great :) i must check some korean language but i think will be ok :)
Still some missing on wm title bar... but this hapend if font is bold italic etc. somtimes same in cmus but i can configure theme to work nice. Still is much better then before... :)
I must try that language pack also meybe that help but i must download that iso file first and look what file is on that iso image...

I give you link for font deb package :) just install in puppy :)
https://packages.ubuntu.com/bionic/all/ ... t/download
Thanks for hellp @mistfire and @jamesbond thumb up for any info :) and help!
Bonus screen urxvt :)

solved!.jpg
solved!.jpg (173.51 KiB) Viewed 2691 times
Post Reply

Return to “Internationalization”