getmusicbee.com

Support => Questions => Topic started by: mysterioustrumpet on September 18, 2019, 09:34:27 PM

Title: Japanese characters show up as empty boxes
Post by: mysterioustrumpet on September 18, 2019, 09:34:27 PM
I just opened Musicbee today and characters were like this:

(https://i.imgur.com/TJxddkT.png)

I tried uninstalling and reinstalling, and I'm using the latest version. Usually the Japanese characters show up fine, but now they're not. What's going on?
Title: Re: Japanese characters show up as empty boxes
Post by: sveakul on September 19, 2019, 12:28:23 AM
First do a file rescan:  Tools-->Advanced-->Rescan All Files.

If the problem remains, right-click one of the affected files, choose Edit, and tell us what the tags look like (a screenshot would be best).
Title: Re: Japanese characters show up as empty boxes
Post by: mysterioustrumpet on September 19, 2019, 01:37:50 AM
Yep, tried all of those. Here's what the tag looks like, it didn't use to be like this.

(https://i.imgur.com/5D64FmV.png)
Title: Re: Japanese characters show up as empty boxes
Post by: frankz on September 19, 2019, 01:50:33 AM
Does your default font (Edit->Edit Preferences->Layout(1)) include this character set?

Did another program like Windows Media Player scan your files and adjust your tags?
Title: Re: Japanese characters show up as empty boxes
Post by: jdkoren on November 21, 2019, 08:12:12 AM
Hello, I am facing the same issue as mysterioustrumpet.

I played the file in another media player and verified that the tags are correct (showing Japanese characters), so it seems they just don't render in MusicBee. Was there any solution found?

Thanks
Title: Re: Japanese characters show up as empty boxes
Post by: SkyZippr on November 21, 2019, 12:56:42 PM
Have you checked what frankz mentioned?
Title: Re: Japanese characters show up as empty boxes
Post by: Steven on November 21, 2019, 06:03:37 PM
Another thing is for ID3 files, when v2.3 tags are stored and they are set to ISO encoding then MB uses the windows default code page for non-ascii chars. Other players might be using a different windows codepage. Its best to use v2.4 tags with UTF encoding or staying with v2.3 MB would use Unicode encoding so they always display correctly
Title: Re: Japanese characters show up as empty boxes
Post by: jdkoren on November 22, 2019, 07:08:08 AM
Have you checked what frankz mentioned?
I can't seem to find any fonts with CJK support listed when I use the font selection dialog inside of MuiscBee. It may have to do with the fact that I'm using Wine on Ubuntu and not actual Windows. I've already searched for solutions regarding CJK fonts in Wine, so far nothing has produced any positive results.

As mentioned in my previous post, the tag content is not mangled. Other programs (and command line tools) show the CJK characters without issue.

Another thing is for ID3 files, when v2.3 tags are stored and they are set to ISO encoding then MB uses the windows default code page for non-ascii chars. Other players might be using a different windows codepage. Its best to use v2.4 tags with UTF encoding or staying with v2.3 MB would use Unicode encoding so they always display correctly
Out of curiosity, what about FLAC files with Vorbis tag format?
Title: Re: Japanese characters show up as empty boxes
Post by: merulox on December 03, 2021, 05:44:00 AM
having the same issue here
I'm also running musicbee on linux however
Title: Re: Japanese characters show up as empty boxes
Post by: merulox on February 10, 2022, 01:39:05 AM
Hey, I found the Tahoma font to work properly, however, as you'll see, larger text uses another font that doesn't seem to be customizable, not to mention that the Japanese characters don't blend in well in that font. Not ideal, but that might help us find out how to fix it.
(https://i.imgur.com/gi7JydY.png)
(Running MusicBee through wine on linux)
Title: Re: Japanese characters show up as empty boxes
Post by: merulox on February 26, 2022, 06:07:16 AM
Ah, it turns out the Tahoma font doesn't support Japanese characters for larger text/headers?
switched to Yu Gothic and now it feels like I'm back on windows, finally
Title: Re: Japanese characters show up as empty boxes
Post by: Comexs on May 21, 2022, 06:24:32 AM
Quote
Ah, it turns out the Tahoma font doesn't support Japanese characters for larger text/headers?
switched to Yu Gothic and now it feels like I'm back on windows, finally

I tried to switch to Yu Gothic but every time I switch to it a get a error
Code
The selected font is not a valid font for MusicBee (the selected font needs to be a TrueType font)
Title: Re: Japanese characters show up as empty boxes
Post by: karbock on May 24, 2022, 09:38:54 AM
Quote
I tried to switch to Yu Gothic but every time I switch to it a get a error
Code
The selected font is not a valid font for MusicBee (the selected font needs to be a TrueType font)

Have you tried refreshing the font cache (Linux)?
Code
sudo fc-cache -f -v
Title: Re: Japanese characters show up as empty boxes
Post by: phred on May 24, 2022, 01:02:03 PM
Have you tried refreshing the font cache (Linux)?
Code
sudo fc-cache -f -v
The user hasn't said anything about using Linux. Perhaps you should tell the user how to delete the font cache in Windows.
Title: Re: Japanese characters show up as empty boxes
Post by: karbock on May 25, 2022, 08:41:59 AM
Quote
The user hasn't said anything about using Linux. Perhaps you should tell the user how to delete the font cache in Windows.

Thanks phred for pointing this out, I was probably misled because I remember having the same message on Linux only, where rebuilding the font cache solved the case.

A batch file for that purpose under Windows 10 is provided here (see "Method 2", run batch and reboot):
https://techcult.com/rebuild-font-cache-in-windows-10/
I have just tested it on my machine and switched MB to font Yu Gothic: no error message issued, and the only title in Japanese from my collection is displayed correctly.

But the display was already flawless on Windows before (Japanese + Latin, Cyrillic, and Greek).

Note: MB works as a charm with .otf and .ttf fonts on both Windows and Linux (my distro: Linux Mint 18.3 x32 with wine installed).
Title: Re: Japanese characters show up as empty boxes
Post by: Comexs on May 25, 2022, 03:50:30 PM
Code
Artix:[comexs]:~$ sudo fc-cache -f -v
Font directories:
/root/.local/share/fonts
/usr/local/share/fonts
/usr/share/fonts
/root/.fonts
/usr/share/fonts/TTF
/usr/share/fonts/adobe-source-code-pro
/usr/share/fonts/cantarell
/usr/share/fonts/droid
/usr/share/fonts/encodings
/usr/share/fonts/gsfonts
/usr/share/fonts/liberation
/usr/share/fonts/mathjax2
/usr/share/fonts/misc
/usr/share/fonts/encodings/large
/usr/share/fonts/mathjax2/HTML-CSS
/usr/share/fonts/mathjax2/HTML-CSS/Asana-Math
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Pagella
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Termes
/usr/share/fonts/mathjax2/HTML-CSS/Latin-Modern
/usr/share/fonts/mathjax2/HTML-CSS/Neo-Euler
/usr/share/fonts/mathjax2/HTML-CSS/STIX-Web
/usr/share/fonts/mathjax2/HTML-CSS/TeX
/usr/share/fonts/mathjax2/HTML-CSS/Asana-Math/woff
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Pagella/woff
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Termes/woff
/usr/share/fonts/mathjax2/HTML-CSS/Latin-Modern/woff
/usr/share/fonts/mathjax2/HTML-CSS/Neo-Euler/woff
/usr/share/fonts/mathjax2/HTML-CSS/STIX-Web/woff
/usr/share/fonts/mathjax2/HTML-CSS/TeX/woff
/root/.local/share/fonts: skipping, no such directory
/usr/local/share/fonts: skipping, no such directory
/usr/share/fonts: caching, new cache contents: 0 fonts, 9 dirs
/usr/share/fonts/TTF: caching, new cache contents: 102 fonts, 0 dirs
/usr/share/fonts/adobe-source-code-pro: caching, new cache contents: 30 fonts, 0 dirs
/usr/share/fonts/cantarell: caching, new cache contents: 6 fonts, 0 dirs
/usr/share/fonts/droid: caching, new cache contents: 27 fonts, 0 dirs
/usr/share/fonts/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/liberation: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/mathjax2: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/mathjax2/HTML-CSS: caching, new cache contents: 0 fonts, 7 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Asana-Math: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Asana-Math/woff: caching, new cache contents: 23 fonts, 0 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Pagella: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Pagella/woff: caching, new cache contents: 23 fonts, 0 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Termes: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Termes/woff: caching, new cache contents: 23 fonts, 0 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Latin-Modern: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Latin-Modern/woff: caching, new cache contents: 24 fonts, 0 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Neo-Euler: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/mathjax2/HTML-CSS/Neo-Euler/woff: caching, new cache contents: 17 fonts, 0 dirs
/usr/share/fonts/mathjax2/HTML-CSS/STIX-Web: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/mathjax2/HTML-CSS/STIX-Web/woff: caching, new cache contents: 55 fonts, 0 dirs
/usr/share/fonts/mathjax2/HTML-CSS/TeX: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/mathjax2/HTML-CSS/TeX/woff: caching, new cache contents: 22 fonts, 0 dirs
/usr/share/fonts/misc: caching, new cache contents: 36 fonts, 0 dirs
/root/.fonts: skipping, no such directory
/usr/share/fonts/TTF: skipping, looped directory detected
/usr/share/fonts/adobe-source-code-pro: skipping, looped directory detected
/usr/share/fonts/cantarell: skipping, looped directory detected
/usr/share/fonts/droid: skipping, looped directory detected
/usr/share/fonts/encodings: skipping, looped directory detected
/usr/share/fonts/gsfonts: skipping, looped directory detected
/usr/share/fonts/liberation: skipping, looped directory detected
/usr/share/fonts/mathjax2: skipping, looped directory detected
/usr/share/fonts/misc: skipping, looped directory detected
/usr/share/fonts/encodings/large: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Asana-Math: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Pagella: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Termes: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Latin-Modern: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Neo-Euler: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/STIX-Web: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/TeX: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Asana-Math/woff: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Pagella/woff: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Gyre-Termes/woff: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Latin-Modern/woff: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/Neo-Euler/woff: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/STIX-Web/woff: skipping, looped directory detected
/usr/share/fonts/mathjax2/HTML-CSS/TeX/woff: skipping, looped directory detected
/var/cache/fontconfig: cleaning cache directory
/root/.cache/fontconfig: not cleaning non-existent cache directory
/root/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded

This is what I got from it. It still didn't work for me sadly.
Title: Re: Japanese characters show up as empty boxes
Post by: Comexs on May 25, 2022, 04:39:42 PM
okay I got it to work now but at the same time it isn't working. I had to use this guide https://getmusicbee.com/forum/index.php?topic=30205.0 to install musicbee on my pc since if I installed it by clicking the exe file the thing would crash or something I don't remember. but now trying to get my font problem to work I uninstalled it and reinstalled it the same method as before with the guide still had the same problem so I tried click the exe install and doing it the normal way and my font problem wasn't an issue on the new musicbee (the musicbee in the .wine folder) and I also was editing my locale.gen file by add ja_JP.UTF-8 to it.
Title: Re: Japanese characters show up as empty boxes
Post by: anonimous320346 on May 03, 2023, 09:32:14 AM
I have found a solution for Linux users.

(https://i.imgur.com/RwHBPsz.png)

1. Install takao font in your Wine prefix, through Winetricks > Select your-musicbee-prefix. Or use this command:

Code
WINEPREFIX=path/to/your/MusicBee/prefix winecfg takao

2. Set any Takao font in Musicbee. I tested them, and all of them are functional. Some look bad, some are great. I prefer the look TakaoPGothic.
Title: Re: Japanese characters show up as empty boxes
Post by: KiritoKiri on May 15, 2023, 11:29:03 AM
You can use Meiryo font instead and see if it looks better than Takao, it's available through winetricks(I think also included in the CJK font group package in winetricks). I have been using Meiryo for a long time so I stick to it. There are some other fonts too that you can try.