japanese (and other unicode symbols) not shown in browser

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
Dingo
Posts: 244
Joined: Sat Aug 01, 2020 3:03 pm
Has thanked: 10 times
Been thanked: 17 times

japanese (and other unicode symbols) not shown in browser

Post by Dingo »

Woof Woof!

In Xenialpup 7.5, with every browser I tried, when it comes to the task to display special unicode symbols or japanese like this:

https://sakurapup.com/forum1/

I only get little boxes like this

sakurapup.png
sakurapup.png (141.54 KiB) Viewed 421 times

the same for some little unicode emoticons that youtube users like to put in their descriptions. How can be fixed this?

User avatar
pp4mnklinux
Posts: 1108
Joined: Wed Aug 19, 2020 5:43 pm
Location: Edinburgh
Has thanked: 630 times
Been thanked: 280 times
Contact:

Re: japanese (and other unicode symbols) not shown in browser

Post by pp4mnklinux »

Xenial pup 7.5 XXL.

Tested in SlimJet 38 portable (cc2 @mikeslr ) and as you can see there is no problem with my browser (tested with Chrome 110 and FF 110.01)

As I wrote in one of my previous posts, I had this problem when using Rox with Tahr Pup 6.0.7, but no problem with xenial viewtopic.php?p=80023#p80023

Possible solutions:- https://support.mozilla.org/bm/questions/1367181

:arrow:

XFCE_FUSILLI . ===> https://puppyxfcefusilli.wordpress.com/

YouTube How_To . ==> https://bit.ly/f96ce_xfce_fusilli_HOWTO

Learning EASY OS . => https://easyos.org/

dimkr
Posts: 2412
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1197 times

Re: japanese (and other unicode symbols) not shown in browser

Post by dimkr »

Install fonts-noto-cjk.

User avatar
Dingo
Posts: 244
Joined: Sat Aug 01, 2020 3:03 pm
Has thanked: 10 times
Been thanked: 17 times

Re: japanese (and other unicode symbols) not shown in browser

Post by Dingo »

dimkr wrote: Sun Feb 26, 2023 9:31 pm

Install fonts-noto-cjk.

Downloaded the gigantic zip archive of 243 MB, uncompressed and linked the directory with fonts to /root/.fonts directory. Noto-cjk fonts displayed and available to be used in all applications but I still continue to see the boxes instead of Japanese

Burunduk
Posts: 250
Joined: Thu Jun 16, 2022 6:16 pm
Has thanked: 7 times
Been thanked: 126 times

Re: japanese (and other unicode symbols) not shown in browser

Post by Burunduk »

The Droid Sans Fallback font is much smaller (unpacked deb is about 7 MB) but still allows to see all the characters on that sakura site. It's available from the PPM on Fossapup, maybe on Xenial too. Try to search for fonts-droid-fallback.

It's not clear why the browser can't use your fonts. On Fossa only dillo refuses to see the available fonts and shows squares instead. If you can see the Japanese text when you copy the squares in the browser and paste them to the text editor, then something is wrong with the browser settings. Maybe it is configured to use a specific font all the time. But firefox shows unicode chars regardless the settings.

dimkr
Posts: 2412
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1197 times

Re: japanese (and other unicode symbols) not shown in browser

Post by dimkr »

Dingo wrote: Sun Feb 26, 2023 11:52 pm

to /root/.fonts directory.

Try /usr/share/fonts/TTF and fc-cache -fv, plus make sure you have /etc/fonts/conf.d/70-fonts-noto-cjk.conf

User avatar
Dingo
Posts: 244
Joined: Sat Aug 01, 2020 3:03 pm
Has thanked: 10 times
Been thanked: 17 times

Re: japanese (and other unicode symbols) not shown in browser

Post by Dingo »

dimkr wrote: Mon Feb 27, 2023 6:38 am
Dingo wrote: Sun Feb 26, 2023 11:52 pm

to /root/.fonts directory.

Try /usr/share/fonts/TTF and fc-cache -fv, plus make sure you have /etc/fonts/conf.d/70-fonts-noto-cjk.conf

done. and this time everything worked like a charm. Now I can see webpages in japanese so, today I learned that the /usr/share/fonts/TTF and /root/.fonts directories are not the same thing

Burunduk
Posts: 250
Joined: Thu Jun 16, 2022 6:16 pm
Has thanked: 7 times
Been thanked: 126 times

Re: japanese (and other unicode symbols) not shown in browser

Post by Burunduk »

Dingo wrote: Mon Feb 27, 2023 4:06 pm

today I learned that the /usr/share/fonts/TTF and /root/.fonts directories are not the same thing

~/.fonts is deprecated but still on the list in /etc/fonts/font.conf on Fossapup64-9.5 and even VanillaDpup-9.3.4 On these systems, fonts put in the ~/.fonts directory are found and can be used without any additional configuration.
The Xenialpup's font.conf seems to be different.

Post Reply

Return to “Users”