INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Linux => Topic started by: andyKT on May 12, 2015, 07:55:24 pm

Title: (Solved) Japanese Font Not Shown Properly
Post by: andyKT on May 12, 2015, 07:55:24 pm
A couple of Japanese MC20 Linux users posted similar problems on the subject on Japanese FORUM.

They presume the problems as follows;

>Only one font set is being used to disply Japanese Kanji charactors.
  Thesefore, iso10646 encorded font needs to be used.

>Windows version converts charactor cods ShiftJIS→UTF-8, but the current Linux version doesn't.

Attaching a screen shot of the "Japanses" font being displayed as squares.

Thank you.
 
 (http://blog-imgs-76.fc2.com/j/r/i/jrivermediacenter/20150513093115402.png)

Title: Re: Japanese Font Not Shown Properly
Post by: JimH on May 12, 2015, 08:28:50 pm
I'm not expert on this, but I would guess that the problem is related to missing fonts.

In MC, you can choose a font under Tools > Options > Tree & View.
Title: Re: Japanese Font Not Shown Properly
Post by: kinomoto on May 13, 2015, 04:11:25 am
Hello.

First, I tell you, I can not understand English , very well.
I will use easy English only.

> In MC, you can choose a font under Tools > Options > Tree & View.

The Problem are not so easy.

Tools > Options > Tree and View

I can choose the Fonts ,  "Lucida" "Unifont" ""User Defined" only.

3 pattern , I did try test.

but can not shown Japanese Fonts.

Thank you.



kinomoto



Title: Re: Japanese Font Not Shown Properly
Post by: bob on May 14, 2015, 10:01:51 am
Hello.

First, I tell you, I can not understand English , very well.
I will use easy English only.

> In MC, you can choose a font under Tools > Options > Tree & View.

The Problem are not so easy.

Tools > Options > Tree and View

I can choose the Fonts ,  "Lucida" "Unifont" ""User Defined" only.

3 pattern , I did try test.

but can not shown Japanese Fonts.

Thank you.



kinomoto


You need to use the unifont and it needs to be installed in the OS.
In debian:
sudo apt-get install xfonts-unifont

Title: Re: Japanese Font Not Shown Properly
Post by: kinomoto on May 14, 2015, 01:46:06 pm
>You need to use the unifont and it needs to be installed in the OS.
>In debian:
>sudo apt-get install xfonts-unifont

Thankyou for your reply.
My OS are "Ubuntu Studio 14.04.2 LTS"(32 bit).
But I think , command is same.
Type
sudo apt-get install xfonts-unifont
Install is success.
and
Tools > Options > Tree and View
Change font to unifont......but......
problem is not to good.
Same problem continue.......

For example , Can I open MC's setting file by "gedit" or "vi" ?
I want try add "Codepage=932" , or another code.

thankyou.


kinomoto

Title: Re: Japanese Font Not Shown Properly
Post by: Awesome Donkey on May 14, 2015, 01:48:02 pm
You might try rebooting after installing the font.
Title: Re: Japanese Font Not Shown Properly
Post by: bob on May 14, 2015, 01:53:32 pm
You might try rebooting after installing the font.
This is likely the issue with MC not seeing the font.

MC doesn't use codepages. The language is selected in Tools->Language. Don't change it until you get the display of your media looking right.
Title: Re: Japanese Font Not Shown Properly
Post by: kinomoto on May 14, 2015, 02:26:31 pm
thankyou for your reply.

reboot PC.
But same problem.

I try another Linux PC install JRMC20.
and I try same things.
but same problem.

Is it Ubuntu Studio 14.04.2 LTS useing are so bad ?

Should I try another Linux ?
for example "debian".


Title: Re: Japanese Font Not Shown Properly
Post by: bob on May 14, 2015, 03:41:26 pm
thankyou for your reply.

reboot PC.
But same problem.

I try another Linux PC install JRMC20.
and I try same things.
but same problem.

Is it Ubuntu Studio 14.04.2 LTS useing are so bad ?

Should I try another Linux ?
for example "debian".


You might have to reselect "unifont" in MC after rebooting.
If it still doesn't work try this:
xlsfonts | grep unifont
from a terminal prompt. You should see this:
-gnu-unifont-medium-r-normal--0-0-75-75-c-0-iso10646-1
-gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1
if you don't the fonts are still missing.

You could try the current debian Jessie 64 bit build and use the apt repository here if that above doesn't work.


Title: Re: Japanese Font Not Shown Properly
Post by: Awesome Donkey on May 14, 2015, 03:59:34 pm
I thought the Jessie release wouldn't work on Ubuntu 14.04.2? I'll be testing that shortly.
Title: Re: Japanese Font Not Shown Properly
Post by: bob on May 14, 2015, 04:46:00 pm
I thought the Jessie release wouldn't work on Ubuntu 14.04.2? I'll be testing that shortly.
I wasn't clear, sorry. I meant he could try installing debian jessie and then trying the 64 bit build on that instead of ubuntu.
Title: Re: Japanese Font Not Shown Properly
Post by: Awesome Donkey on May 14, 2015, 04:50:39 pm
Ah, right. :) And yes, the Jessie build won't work in 14.04.2 nor Linux Mint 17.1. ;)
Title: Re: Japanese Font Not Shown Properly
Post by: kinomoto on May 14, 2015, 08:46:55 pm
thankyou for your reply.

I did try...but...


kinomoto@AY320S:~$ xlsfonts | grep unifont
-gnu-unifont sample-medium-r-normal-sans-0-0-75-75-c-0-iso10646-1
-gnu-unifont sample-medium-r-normal-sans-16-160-75-75-c-80-iso10646-1
-gnu-unifont-medium-r-normal-sans-0-0-75-75-c-0-iso10646-1
-gnu-unifont-medium-r-normal-sans-16-160-75-75-c-80-iso10646-1



Is it , I don't the fonts are still missing ?

If so then can I recover the Japanese fonts ?
How should I do it ?
Please , more support.

Thankyou.

kinomoto



(http://s1.gazo.cc/up/133308.png)
Title: Re: Japanese Font Not Shown Properly
Post by: kinomoto on May 14, 2015, 11:35:08 pm
Excuse me , sir.

I did try them.......


kinomoto@AY320S:~$ sudo aptitude -y install language-pack-ja-base language-pack-ja ibus-mozc
[sudo] password for kinomoto:
kinomoto@AY320S:~$ sudo update-locale LANG=ja_JP.UTF-8 LANGUAGE="ja_JP:ja"
kinomoto@AY320S:~$ source /etc/default/locale
kinomoto@AY320S:~$ echo $LANG
ja_JP.UTF-8


......and , reboot PC....
........but.......probrem is not to good.
oh..........no.........
Title: Re: Japanese Font Not Shown Properly
Post by: bob on May 15, 2015, 10:51:32 am
Excuse me , sir.

I did try them.......


kinomoto@AY320S:~$ sudo aptitude -y install language-pack-ja-base language-pack-ja ibus-mozc
[sudo] password for kinomoto:
kinomoto@AY320S:~$ sudo update-locale LANG=ja_JP.UTF-8 LANGUAGE="ja_JP:ja"
kinomoto@AY320S:~$ source /etc/default/locale
kinomoto@AY320S:~$ echo $LANG
ja_JP.UTF-8


......and , reboot PC....
........but.......problem is not to good.
oh..........no.........

You did go into the Tools->Options->Tree & Views->Select Font and made sure to reselect Unifont, right?

If it still doesn't work, email me the smallest audio file that will show the missing characters. bob (at) jriver (dot) com. Thanks.
Title: Re: Japanese Font Not Shown Properly
Post by: bob on May 15, 2015, 11:30:35 am
Testing here I've found that the 32 bit build of MC works for this and the 64 bit does not.
Doing more investigation.
Title: Re: Japanese Font Not Shown Properly
Post by: bob on May 15, 2015, 11:43:13 am
Testing here I've found that the 32 bit build of MC works for this and the 64 bit does not.
Doing more investigation.

It's because the newer unifonts in jessie (and I assume ubuntu) have changed.
What you can do is choose "User Defined" in the font selection then in the "User Defined Font String" box, put
-gnu-unifont-medium-r-normal-sans-16-160-75-75-c-80-iso10646-1

You'll have to type that in by hand unless you've installed autocutsel for copy and paste to/from the desktop apps.
Title: Re: Japanese Font Not Shown Properly
Post by: kinomoto on May 16, 2015, 04:07:28 am
thankyou for your reply.

>You did go into the Tools->Options->Tree & Views->Select Font and made sure to reselect Unifont, right?

Sure.  :-)

>What you can do is choose "User Defined" in the font selection then in the "User Defined Font String" box, put
>-gnu-unifont-medium-r-normal-sans-16-160-75-75-c-80-iso10646-1

Oh !!!!!  That is great !!!!!
I can Japanese font seeing !!!!!!
Thanks a lot for your support !!!!!!
Very , very , thanks for you.

but Can I say some luxury ?
Just little bit , Fonts are unshapely.   :-)

But , but , this is great !!!!!
I will use MC , It became easy to use it !!!!!!

The Problem is all clear.

Thank you very much.

kinomoto  --- Japanese MC fan :-)

Title: Re: Japanese Font Not Shown Properly
Post by: andyKT on May 16, 2015, 10:22:09 am
bob, Awesome Donkey and JimH,

Thanks a lot!
Title: Re: Japanese Font Not Shown Properly
Post by: bob on May 18, 2015, 11:09:07 am
The MC posted on Friday (at the top of this forum) should fix this automatically when using unifont.
It also clears up some issues with interline spacing..