Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    Wrong font in newsfeed

    Custom CSS
    6
    10
    2260
    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.
    • Maros
      Maros last edited by Maros

      Hi all,

      i’ve added some modules to my MM and i see that there is some problem with fonts as you can see some characters have different font. (most visible in newsfeed)

      i’ve edited custom.css and added this lines :
      body {
      @font-face {
      font-family: “Verdana”;
      font-style: normal;
      font-weight: 100;
      src:
      local(“Verdana”),
      url("/fonts/Verdana.ttf") format(“truetype”);
      },
      .newsfeed {
      font-family: Verdana;
      },
      }

      i’ve downloaded font Verdana.ttf and copied to MagicMirror/fonts folder
      but it’s not working font is still not ok
      Can you please help me how to solve this problem ?
      0_1532607723631_screen_test.jpg

      1 Reply Last reply Reply Quote 0
      • Maros
        Maros last edited by

        i’ve tried also woff font Verdana.woff as mentioned here :
        https://forum.magicmirror.builders/topic/4824/i-need-help-to-change-the-fonts/3

        but it’s also not working at all 😞

        1 Reply Last reply Reply Quote 0
        • Maros
          Maros last edited by

          Noone any idea?

          1 Reply Last reply Reply Quote 0
          • D
            davidnesbitt7 last edited by

            Open up your console in dev tools and see if you’re getting any errors

            broberg 1 Reply Last reply Reply Quote 0
            • broberg
              broberg Project Sponsor @davidnesbitt7 last edited by broberg

              Folder path is misdirected, try this

              body {
              @font-face {
              font-family: “Verdana”;
              font-style: normal;
              font-weight: 100;
              src:
              local(“Verdana”),
              url("../fonts/Verdana.ttf") format(“truetype”);
              },
              .newsfeed {
              font-family: Verdana;
              }, 
              }
              
              1 Reply Last reply Reply Quote 0
              • Maros
                Maros last edited by Maros

                @broberg said in Wrong font in newsfeed:

                @font-face {
                font-family: “Verdana”;
                font-style: normal;
                font-weight: 100;
                src:
                local(“Verdana”),
                url("…/fonts/Verdana.ttf") format(“truetype”);
                },
                .newsfeed {
                font-family: Verdana;
                },

                i’ve tried but still same

                @davidnesbitt7 i’ve checked error log on pm2 but there nothing mentioned about rss feed font error

                1 Reply Last reply Reply Quote 0
                • C
                  cabott last edited by cabott

                  @maros Did you fix this issue? I’ve encountered the same with Polish news…

                  edit:
                  solved by installing Roboto fonts into Raspbian (found somewhere here at the forum or in the Internet).

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    radokristof @cabott last edited by

                    @cabott I have the same problems. Some characters are not showing properly only on the newsfeed module.
                    I have tried installing roboto fonts with apt, how did you installed it? (And which package).

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      cabott @radokristof last edited by

                      @radokristof sorry for late answer, I completely missed this topic. For those who still had this issue:
                      I just installed the fonts with

                      sudo apt-get update
                      sudo apt-get install fonts-roboto
                      

                      then

                      fc-cache -fv
                      pm2 restart MagicMirror
                      

                      and voila… works for me.

                      1 Reply Last reply Reply Quote 1
                      • F
                        Fifin404 last edited by

                        Work for me. Thank you

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy