google / google/fonts

bug(marck-script): “downloadable font: Glyph bbox was incorrect”

Open
#7,130 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
20.5k
Forks
2.9k
Avg merge
1d 21h
Merged PRs (30d)
95

Description

### 1. Summary

If I use [**Marck Script**](https://fonts.google.com/specimen/Marck+Script) Google font, I get a bug in Firefox console:

> downloadable font: Glyph bbox was incorrect (glyph ids 41 75 135) (font-family: "Marck Script" style:normal weight:400 stretch:100 src index:0) source: https://fonts.gstatic.com/s/marckscript/v20/nwpTtK2oNgBA3Or78gapdwuyyCg_.woff2

![Marck Script font in Firefox 121.0](https://i.imgur.com/CMaBunF.png)

I found a [**similar problem for FontAwesome**](https://github.com/FortAwesome/Font-Awesome/issues/19925). [**Mozilla developer Jonathan Kew**](https://bugzilla.mozilla.org/show_bug.cgi?id=1851623#c3) and [**Font Awesome developer Mike Wilkerson**](https://github.com/FortAwesome/Font-Awesome/issues/19925#issuecomment-1817942605) says, that this is a font problem, not Firefox bug. Perhaps in the case of Marck Script it’s also a problem of the font itself.

### 2. MCVE

This MCVE on Codepen:

1. [**Sources**](https://codepen.io/Kristinita/pen/ExMxGxy)
1. [**Demonstration**](https://codepen.io/Kristinita/full/ExMxGxy)

```html

Kira Goddess!

```

```stylus
.KiraMarckScript
font-family "Marck Script", "Brush Script MT", cursive
font-size 3.5625rem
```

### 3. Steps to reproduce

I ran Firefox in [**Troubleshoot Mode**](https://support.mozilla.org/en-US/kb/diagnose-firefox-issues-using-troubleshoot-mode) → I opened Codepen demo page → I [**opened Firefox developer tools**](https://firefox-source-docs.mozilla.org/devtools-user/#the-core-tools) → `Console`.

### 4. Environment

1. Microsoft Windows [Version 10.0.22621.2134]
1. Firefox 121.0 (64-bit)

Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.