Skip to content

padding is undocumented #28

Description

@omar-hanafy

padding is the setting that corrects oversized glyphs from full-bleed artwork, but it is effectively undiscoverable.

  • README.md contains a single occurrence: the bare line "padding": 0, inside a config sample, with no explanation.
  • docs/ contains zero occurrences.
  • No document mentions the symptom it addresses, so searching for something like "icons too big" finds nothing.

A user whose icons render oversized has no path from the symptom to the setting other than reading src/glyphpact/font_builder.py or the JSON schema.

Also worth stating explicitly in docs: padding is top-level only. Per-icon overrides accept name, matchTextDirection, author, copyright, license, sourceUrl, and partialAlpha, but not padding. That bounds what the setting can fix, since a pack mixing full-bleed and already-padded art cannot be normalized by one global value.

Activity

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