Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox warning: empty gid used as component in glyph #539

Open
weslord opened this issue Dec 9, 2024 · 1 comment
Open

Firefox warning: empty gid used as component in glyph #539

weslord opened this issue Dec 9, 2024 · 1 comment

Comments

@weslord
Copy link

weslord commented Dec 9, 2024

Problem description

Firefox displays a couple of warnings in the developer console when using this font.

Examples below are from visiting https://www.recursive.design:

downloadable font: glyf: empty gid 1 used as component in glyph 2 (font-family: "RecVF" style:normal weight:300..1000 stretch:100 src index:0) source: https://www.recursive.design/assets/fonts/Recursive_VF_1.085.woff2
downloadable font: glyf: empty gid 1 used as component in glyph 822 (font-family: "RecVF" style:normal weight:300..1000 stretch:100 src index:0) source: https://www.recursive.design/assets/fonts/Recursive_VF_1.085.woff2

To Reproduce
Steps to reproduce the behavior:

  1. Launch Firefox
  2. Navigate to https://www.recursive.design/
  3. Open developer console ([Cmd]+[Opt]+K)

Environment (please complete the following information):

  • OS: macOS 14.6.1
  • Browser: Firefox 133.0 (aarch64)
@kenmcd
Copy link

kenmcd commented Dec 9, 2024

Hmmmm...
gid 1 is the space (the Space character which is of course empty)
glyph 2 is the nbspace (No-break space)
which has the space as a component (linking their width)
glyph 822 is hyphen_space_brktleft_space_brktright.code
which appears to be a coding ligature - which includes the space

So the warning, while correct, does not appear to be cause for concern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants