• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Wrong font in newsfeed

Scheduled Pinned Locked Moved Custom CSS
10 Posts 6 Posters 3.1k Views 5 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.
  • M Offline
    Maros
    last edited by Maros Jul 26, 2018, 12:22 PM Jul 26, 2018, 12:19 PM

    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
    • M Offline
      Maros
      last edited by Jul 26, 2018, 1:23 PM

      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
      • M Offline
        Maros
        last edited by Jul 27, 2018, 1:51 PM

        Noone any idea?

        1 Reply Last reply Reply Quote 0
        • D Offline
          davidnesbitt7
          last edited by Jul 28, 2018, 9:35 PM

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

          Do. Or do not. There is no try

          B 1 Reply Last reply Jul 29, 2018, 12:52 PM Reply Quote 0
          • B Offline
            broberg Project Sponsor @davidnesbitt7
            last edited by broberg Jul 29, 2018, 12:53 PM Jul 29, 2018, 12:52 PM

            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
            • M Offline
              Maros
              last edited by Maros Jul 29, 2018, 9:27 PM Jul 29, 2018, 9:22 PM

              @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 Offline
                cabott
                last edited by cabott Dec 10, 2018, 5:34 PM Dec 8, 2018, 8:39 PM

                @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 Mar 12, 2019, 2:10 PM Reply Quote 0
                • R Offline
                  radokristof @cabott
                  last edited by Mar 12, 2019, 2:10 PM

                  @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 Feb 4, 2020, 6:44 PM Reply Quote 0
                  • C Offline
                    cabott @radokristof
                    last edited by Feb 4, 2020, 6:44 PM

                    @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 Offline
                      Fifin404
                      last edited by Feb 11, 2020, 4:59 PM

                      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 Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy