Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Font rendering issue in Firefox

Community Beginner ,
Mar 11, 2017 Mar 11, 2017

I'm producing a project in Adobe Animate and have changed my text boxes from static to dynamic text using Google web fonts because of the large file size the static text was producing. Using dynamic text has cut the file size in half and it renders fine in Chrome and IE. The problem I have is the way the text looks in Firefox, it seems that Firefox shifts the baseline of the text up compared to the other browsers. See the screen grabs below, the first grab is the Firefox rendering, the second one below is Chrome. As you can see the large number 1 has shifted up and also the smaller text has shifted, but is less noticeable.

firefox_font_rendering.jpg y

chrome_font_ rendering.jpg

Does anyone have any advice on this to get some consistency of text rendering across the different browsers. Any help on this issue will be most appreciated.

659
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Mar 11, 2017 Mar 11, 2017

This is a known bug in Firefox's canvas text rendering.

The only way to get 100% consistent canvas text across all browsers is to bake the text directly into the background graphics. This will also provide the advantages of smaller file size, better looking text, and faster startup due to not having to download a remote font.

Translate
LEGEND ,
Mar 11, 2017 Mar 11, 2017
LATEST

This is a known bug in Firefox's canvas text rendering.

The only way to get 100% consistent canvas text across all browsers is to bake the text directly into the background graphics. This will also provide the advantages of smaller file size, better looking text, and faster startup due to not having to download a remote font.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines