MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    issue with polish letters - font missing diacritical marks

    Scheduled Pinned Locked Moved Troubleshooting
    9 Posts 2 Posters 6.0k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      j.e.f.f Project Sponsor Module Developer @efevee
      last edited by

      @efevee MagicMirror uses Roboto as its default font, which supports the Latin extended character set. I just tested this on my MacBook and I was able to get those charcters to render properly on MagicMirror. I haven’t tried on my mirror, but I wonder if there’s a difference between the character set on Raspbian OS vs. other systems…

      That said, I’ve had no problems getting other special characters to render properly on my mirror, French accents, German umlaut, etc.

      1 Reply Last reply Reply Quote 0
      • J Offline
        j.e.f.f Project Sponsor Module Developer @efevee
        last edited by

        @efevee I just made a test on my mirror by adding a dummy calendar event. Here’s how it renders on my screen. This is running on the Pi. I haven’t done anything special, I’m using the default font.

        0_1509595038485_chars.jpg

        1 Reply Last reply Reply Quote 0
        • E Offline
          efevee
          last edited by efevee

          I’m running RPI3 too… I have fresh install and this worries me a bit what could go wrong or where to look for error.
          Did git pull && npm install again, it didn’t help. Locale in system is set to en.gb.utf-8 but I suppose it shouldn’t matter.
          In MM language is set to ‘pl’

          It looks like this:
          jakość in AirQuality module title or piątek in calendar:
          jakość is wrong and piątek

          RSS feed - petycją or krzyża
          krzyża

          same here in RSS feed
          powązkach

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            j.e.f.f Project Sponsor Module Developer @efevee
            last edited by

            @efevee it’s interesting that the heavier text seems to work fine. It’s only the lighter text that seems to be missing the characters. I wonder if The issue is with Roboto Light or Roboto Light Condensed…

            1 Reply Last reply Reply Quote 0
            • E Offline
              efevee
              last edited by

              I had earlier MM not updated for some time (running on jessie) - think 2.1.2 version as previous had some polish translation bugs and it was working fine, however my SD card died and had to redeploy from scratch.

              Have read that the font folder / approach to fonts has been reworked and I have the bad feeling something didn’t go as planned but have noone to confirm if it is only my issue or “version-wide”

              J 2 Replies Last reply Reply Quote 0
              • J Offline
                j.e.f.f Project Sponsor Module Developer @efevee
                last edited by

                @efevee perhaps… I’m running 2.10 on my Mirror and 2.12 on my laptop. I’ll see if I can do some mores testing to see if there are differences.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  j.e.f.f Project Sponsor Module Developer @efevee
                  last edited by j.e.f.f

                  @efevee OK Interesting find! I already had Roboto and Roboto condensed installed on my laptop as fonts in Fontbook. When I disabled those, this is what I see:

                  0_1509633194397_1890a023-bfc2-456b-9a19-6711878a5105-image.png

                  So it looks as though Roboto is fine (that’s the font used in the blue heading) but the version of Roboto Condensed that comes with MagicMirror does not contain the extra characters. In my case, it’s falling back to the generic “sans serif” font, as per the CSS rule. So try installing the entire Roboto and Roboto Condensed font families in your OS (i.e.: in Pixel Desktop) to see if that fixes your issue. You can go to the Google Fonts specimen page for Roboto and Roboto Condensed, choose all of the weights, then click the download button. I believe that will give you the font in TTF format.

                  E 1 Reply Last reply Reply Quote 0
                  • E Offline
                    efevee @j.e.f.f
                    last edited by efevee

                    downloaded ttf fonts from google, then copied to:

                    /usr/share/fonts/truetype
                    

                    executed

                    fc-cache -fv
                    pm2 restart mm
                    

                    it fixed the issue, however it means that MagicMirror has bug in its newest version…

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    • First post
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy