Topic: Roboto font looks jagged on Firefox+Windows on older Machines
                  
                  Spilter
                  pro
                  asked 7 years ago
                
                      
                      MDBootstrap
                      staff
                        answered 6 years ago
                    
Hi,
thank you for contributing to solve this problem. We are aware of this font behaviour and will try to fix it in future, but for now your temporary solution is simple and effective. As Piotr Glejzer said this is mainly the windows problem and we need to understand how to deal with it.
For now I believe this is all I can tell you.
Best Regards, Piotr
                      
                      petergasser
                      free
                        answered 6 years ago
                    
Hello after trying it out I have a temporary solution ..the problem is directly related to the font size. if you change it e.g. : 1.25rem then the font error is almost not visible.
                      
                      Piotr Glejzer
                      staff
                        answered 6 years ago
                    
did you guys see related posts on stack overflow or similar website? 
 this is a problem with windows 
 
https://superuser.com/questions/941958/fixing-bad-fonts-in-web-pages-in-firefox-on-windows-7 
https://stackoverflow.com/questions/37301132/chrome-overall-font-rendering-issue-2016/39167439#39167439  
https://stackoverflow.com/questions/19279461/web-fonts-look-choppy-in-firefox-only
                      
                      magikweb
                      free
                        answered 6 years ago
                    
Hello MDB, Was there a fix for this issue? We are reproducing the same issue with MDB 4.7.5 on Firefox + Windows 7.
Thank you!
Piotr Glejzer staff commented 6 years ago
Which version of Firefox do you use?
magikweb free commented 6 years ago
Didn't see your comment, sorry. Windows 7 with Firefox 66. I just retried on Firefox 67 and it has the same issue.
                      
                      Spilter
                      pro
                        answered 7 years ago
                    
 
The same post on mdbootstrap.com (Chrome, Windows7, anti-aliased):
So you see that anti-aliasing fixes the font a little bit and it's not so noticably 'wrong', but still it's not really OK.
A couple of screenshots from a test-application:
mdb-roboto, Firefox, Windows7, no anti-aliasing:
 
mdb-roboto, Chrome, Windows7, anti-aliased
 
google-webfont-roboto, Firefox, Windows7, no anti-aliasing
 
google-webfont-roboto, Chrome, Windows7, anti-aliased
 
So, you see that the Roboto-version downloaded from Google is crisp and clear, even without anti-aliasing.
My conclusions:
- the version of Roboto that is shipped with MDB is somehow 'wrong'. Maybe corrupted or and old version
 - it seems a bit squashed at the top
 - it may go unnoticed when using anti-aliasing as was the standard on pretty much all machines, but since Firefox now seems to disable anti-aliasing on older machines (https://support.mozilla.org/en-US/questions/1167092) it starts to get really noticable
 - even with anti-aliasing the version of Roboto directly from Google looks better (a bit less squashed at the top)
 
Piotr Glejzer staff commented 7 years ago
Hi,
thank you very much for your description to fix the problem and general description of the problem. We will check that and try to fix as soon as possible.
Best,
Piotr
Spilter pro commented 7 years ago
Thank you!
Regards,
Karim
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
 - Premium support: No
 - Technology: General Bootstrap questions
 - MDB Version: -
 - Device: PC
 - Browser: Firefox
 - OS: Windows
 - Provided sample code: No
 - Provided link: No
 
Piotr Glejzer staff commented 7 years ago
Hello,
Its weird situation, do you have some errors in your console?
You can use that site to upload the images to show screenshots.
https://imgbb.com/
Best,
Piotr
Spilter pro commented 7 years ago
Hello Piotr,
Thank you for replying. I've attached a comment below with inline screenshots.
(No, there are no errors in the console)
Regards,
Karim