Skip to content

Proposal: Configurable check for OS/2 achVendID.#3941

Closed
bramstein wants to merge 2 commits intofonttools:mainfrom
the-type-founders:bs-os2-vendor-id
Closed

Proposal: Configurable check for OS/2 achVendID.#3941
bramstein wants to merge 2 commits intofonttools:mainfrom
the-type-founders:bs-os2-vendor-id

Conversation

@bramstein
Copy link
Copy Markdown
Contributor

Description

We manage fonts for multiple foundries and would like to use a check for the OS/2 achVendID (vendor ID) value. We often see cases where some families have the correct vendor ID, while other families (or even styles) within the same foundry have a different vendor id. Rather than creating a profile and checks for each of our foundries, it seems sensible to make the vendor id check configurable. That way, each foundry can have a .fontbakery.yaml file (or similar) that configures its own vendor ID. The check is skipped if the configuration value is not found.

This is different from com.google.fonts/check/vendor_id (which checks if the vendor id is not set to a default value and registered) and com.fontwerk/check/vendor_id (which checks for a single foundry). I've added it to the opentype/universal profile since it seems generally useful to other foundries, but please let me know if you prefer to keep it in a (new) thetypefounders profile.

To Do

  • update CHANGELOG.md
  • wait for all checks to pass
  • request a review

@felipesanches felipesanches added New check proposal ATTENTION: Please, report proposals on the Fontspector project instead! Profile: Open Type Checks are separated in one sub-profile for each of the Open Type tables labels Nov 7, 2022
felipesanches pushed a commit to felipesanches/fontbakery that referenced this pull request Nov 7, 2022
com.thetypefounders/check/vendor_id
When a font project's Vendor ID is specified explicitely on FontBakery's configuration file,
all binaries must have a matching vendor identifier value in the OS/2 table.

(PR fonttools#3941)
@felipesanches
Copy link
Copy Markdown
Collaborator

I've added an entry to CHANGELOG.md and made a few code-style adjustments to your contribution. The resulting code was squashed into a single commit and will be merged at the follow-up PR: #3942

Thanks, @bramstein

felipesanches pushed a commit to felipesanches/fontbakery that referenced this pull request Nov 7, 2022
com.thetypefounders/check/vendor_id
When a font project's Vendor ID is specified explicitely on FontBakery's configuration file,
all binaries must have a matching vendor identifier value in the OS/2 table.

(PR fonttools#3941)
felipesanches pushed a commit that referenced this pull request Nov 7, 2022
com.thetypefounders/check/vendor_id
When a font project's Vendor ID is specified explicitely on FontBakery's configuration file,
all binaries must have a matching vendor identifier value in the OS/2 table.

(PR #3941)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New check proposal ATTENTION: Please, report proposals on the Fontspector project instead! Profile: Open Type Checks are separated in one sub-profile for each of the Open Type tables

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants