Closed Bug 1851623 Opened 9 months ago Closed 9 months ago

fontawesome font error: Glyph bbox was incorrect

Categories

(Core :: Layout: Text and Fonts, defect)

Firefox 118
Desktop
Windows 10
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: alex.keene, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0

Steps to reproduce:

Visiting any site that uses fontawesome such as https://fontawesome.com/search

Actual results:

For each glyph a console warning is generated:

downloadable font: glyf: Glyph bbox was incorrect; adjusting (glyph 2535) (font-family: "Font Awesome 6 Pro" style:normal weight:900 stretch:100 src index:0) source: https://site-assets.fontawesome.com/releases/v6.4.2/webfonts/fa-solid-900.woff2

Expected results:

No warning should be generated.

OS: Unspecified → Windows 10
Hardware: Unspecified → Desktop

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Text and Fonts' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Layout: Text and Fonts
Product: Firefox → Core

This glyph bbox problem also happens to me when working normally with Wordpress plugins in Firefox Beta 118 (118.0b4 currently)

examples of plugins affected:

https://wordpress.org/plugins/wordfence/
In the WordFence wp-admin sections

(random text selection)
20:58:33.925 downloadable font: glyf: Glyph bbox was incorrect; adjusting (glyph 686) (font-family: "FontAwesome" style:normal weight:400 stretch:100 src index:0) source: ..site_here../wp-content/plugins/wordfence/fonts/fontawesome-webfont.woff?v=4.7.0
20:58:33.925 downloadable font: glyf: Glyph bbox was incorrect; adjusting (glyph 688) (font-family: "FontAwesome" style:normal weight:400 stretch:100 src index:0) source: ..site_here../wp-content/plugins/wordfence/fonts/fontawesome-webfont.woff?v=4.7.0
20:58:33.925 downloadable font: glyf: Glyph bbox was incorrect; adjusting (glyph 691) (font-family: "FontAwesome" style:normal weight:400 stretch:100 src index:0) source: ..site_here../wp-content/plugins/wordfence/fonts/fontawesome-webfont.woff?v=4.7.0
20:58:33.998 downloadable font: glyf: Glyph bbox was incorrect; adjusting (glyph 3) (font-family: "Ionicons" style:normal weight:400 stretch:100 src index:0) source: ..site_here../wp-content/plugins/wordfence/fonts/ionicons.woff?v=2.0.0
20:58:33.998 downloadable font: glyf: Glyph bbox was incorrect; adjusting (glyph 5) (font-family: "Ionicons" style:normal weight:400 stretch:100 src index:0) source: ..site_here../wp-content/plugins/wordfence/fonts/ionicons.woff?v=2.0.0
20:58:33.998 downloadable font: glyf: Glyph bbox was incorrect; adjusting (glyph 25) (font-family: "Ionicons" style:normal weight:400 stretch:100 src index:0) source: ..site_here../wp-content/plugins/wordfence/fonts/ionicons.woff?v=2.0.0
20:58:33.998 downloadable font: glyf: Glyph bbox was incorrect; adjusting (glyph 36) (font-family: "Ionicons" style:normal weight:400 stretch:100 src index:0) source: ..site_here../wp-content/plugins/wordfence/fonts/ionicons.woff?v=2.0.0

https://wordpress.org/plugins/maintenance/
when the site has the maintenace mode active and you load the front page without logging in

random text selection:
20:56:29.374 downloadable font: glyf: Glyph bbox was incorrect; adjusting (glyph 181) (font-family: "foundation-icons" style:normal weight:400 stretch:100 src index:1) source: ..site_here../wp-content/plugins/maintenance/load/fonts/foundation-icons.woff
20:56:29.374 downloadable font: glyf: Glyph bbox was incorrect; adjusting (glyph 185) (font-family: "foundation-icons" style:normal weight:400 stretch:100 src index:1) source: ..site_here../wp-content/plugins/maintenance/load/fonts/foundation-icons.woff
20:56:29.374 downloadable font: glyf: Glyph bbox was incorrect; adjusting (glyph 186) (font-family: "foundation-icons" style:normal weight:400 stretch:100 src index:1) source: ..site_here../wp-content/plugins/maintenance/load/fonts/foundation-icons.woff
20:56:29.374 downloadable font: glyf: Glyph bbox was incorrect; adjusting (glyph 187) (font-family: "foundation-icons" style:normal weight:400 stretch:100 src index:1) source: ..site_here../wp-content/plugins/maintenance/load/fonts/foundation-icons.woff

https://wordpress.org/plugins/w3-total-cache/
when loading the (wp-admin) site normally:
downloadable font: glyf: Glyph bbox was incorrect; adjusting (glyph 4) (font-family: "w3tc" style:normal weight:400 stretch:100 src index:1) source: ..site here.../wp-content/plugins/w3-total-cache/pub/fonts/w3tc.woff

This is a bug in the font; it has incorrect bounding box data in some of the glyph records. In bug 1847959, Firefox was updated to detect and fix this type of error when loading the font resource, and issue a warning in the console to make developers/authors aware of the error in the font.

So this is not a bug, it is a valid warning message regarding a buggy font.

In bug 1850738, we've just consolidated the warning messages so that fewer of them will appear. The underlying issue of incorrect data in the font should be reported to the font developer/vendor.

Status: UNCONFIRMED → RESOLVED
Closed: 9 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.