recursive
recursive copied to clipboard
Firefox warning: empty gid used as component in glyph
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:
- Launch Firefox
- Navigate to https://www.recursive.design/
- Open developer console (
[Cmd]+[Opt]+K)
Environment (please complete the following information):
- OS: macOS 14.6.1
- Browser: Firefox 133.0 (aarch64)
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.