recursive icon indicating copy to clipboard operation
recursive copied to clipboard

Firefox warning: empty gid used as component in glyph

Open weslord opened this issue 1 year ago • 1 comments

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)

weslord avatar Dec 09 '24 20:12 weslord

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.

kenmcd avatar Dec 09 '24 20:12 kenmcd