PDA

View Full Version : Japanese fonts



badbob
2009-08-21, 03:37
Just tried playing some japanese jpop, tags are either borked or have japanese fonts. But on the Squeezebox they look garbage, not Japanese letters. I've installed Windows asian fonts in windows.

Does squeezebox display non english letters correctly, or are just my files tagging knackered?

Siduhe
2009-08-21, 06:00
Do you mean on the Squeezebox player screen (SB3/Classic) or on the Controller (or both)?

Both the player interface and the controller support non-western fonts, but you may need to install a specific font to get them to show up on the Controller.

http://wiki.slimdevices.com/index.php/Adding_Chinese%2C_Japanese%2C_Korean%2C_etc._Fonts _to_Your_Controller

If you just mean in the web interface and player interface, these should be shown automatically if you are running a standard up to date install of Squeezecenter. If you are running a special package install (for a NAS) you may need to check all the fonts have been included.

Also, check your tags are in UTF8 format - if they are encoded differently, they may not show.

Owen Emry
2009-11-25, 11:43
I can confirm that Japanese fonts aren't displaying correctly on my SB3 (firmware 130). The tags are correct (UTF-8) and they look great in the server (7.4.2 on Ubuntu) but on the SB3 display they show up looking badly aliased.

To me, it looks like they were transferred as graphics and poorly resized on the fly. They're almost legible with the largest font size, but anything smaller shows up as mostly black.

Thanks in advance for any help!

Regards,
Owen

andyg
2009-11-25, 12:44
Non-ASCII chars are handled by creating a bitmapped version of the character from a font file. So at smaller font sizes these can look a bit weird I guess as less pixels are available to render the character. I have some Japanese tags and they look fine to me. Maybe you can take a picture and show what you mean?

Owen Emry
2009-11-25, 13:17
andyg wrote:
> Non-ASCII chars are handled by creating a bitmapped version of the
> character from a font file. So at smaller font sizes these can look a
> bit weird I guess as less pixels are available to render the character.

No, it's not that. They really are borked. To me it looks like when a smoothly-aliased grayscale font has been forced to a 2bpp rendering. (The glyphs show up as mostly black, with vestiges of the strokes.)

> I have some Japanese tags and they look fine to me. Maybe you can take
> a picture and show what you mean?

I fixed it by reverting to servers 7.2.1 and 7.3.4 (which installed SB3 firmwares 113 and 127, respectively).

Still closing in on the version that broke it, but it definitely was broken with server 7.4.2 and firmware 130. I will post a photograph when I manage to break it again.

-Owen

Owen Emry
2009-11-25, 13:21
andyg wrote:
> Non-ASCII chars are handled by creating a bitmapped version of the
> character from a font file. So at smaller font sizes these can look a
> bit weird I guess as less pixels are available to render the character.
> I have some Japanese tags and they look fine to me. Maybe you can take
> a picture and show what you mean?

Alas, I am now unable to reproduce it.

I regressed all the way back to nightly build 7.4.2~29410 (SB3 firmware 130) and the Japanese fonts still look good. My wife confirms they weren't working before -- so I'm not definitely crazy. :-)

-Owen

Owen Emry
2009-12-05, 14:20
andyg wrote:
> Non-ASCII chars are handled by creating a bitmapped version of the
> character from a font file. So at smaller font sizes these can look a
> bit weird I guess as less pixels are available to render the character.
> I have some Japanese tags and they look fine to me. Maybe you can take
> a picture and show what you mean?

I managed to reproduce my original problem while experimenting with SoftSqueeze and SBS on Windows. Something is simply wrong with the font rendering/scaling. The graphics must be provided by the server (?) because the problem follows the server, not the player. Reinstalling the server eventually seems to make the problem go away.

Here are screenshots of a SoftSqueeze "Transporter" displaying the same artist (Yoshimura Yumi, FWIW) correctly (connected to SBS 7.4.2 on Ubuntu) and incorrectly (connected to SBS 7.4.1 on Windows).

http://owen.theemrys.com/sb_jp_fonts/


Regards,
Owen

andyg
2009-12-05, 17:19
Thanks for the screenshots. That's definitely not right, something must be adding those vertical pipe characters somehow. Would you mind filing a bug?

putte_xvi
2009-12-06, 06:24
I had the same problem some time ago on my Boom, after upgrading to 7.4 (on Windows XP). From my notes: "This fixed itself automagically after I had restarted SqueezeCenter a few times, rescanned and changed some unrelated settings."

Photo of the screen attached.