Skip to content

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

Description

@weslord

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)

Activity

  1. kenmcd commented on Dec 9, 2024

    @kenmcd

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions