Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate builders #4

Open
io7m opened this issue Mar 4, 2019 · 0 comments
Open

Validate builders #4

io7m opened this issue Mar 4, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@io7m
Copy link
Member

io7m commented Mar 4, 2019

Right now, builders allow creating fonts that are structurally sound but still considered invalid by some implementations. In particular, the spec contains text such as:

The zone’s wInstGenNdx points to the first generator for that zone. Unless the zone is a global zone, the last generator in the list is a “sampleID” generator, whose value is a pointer to the sample associated with that zone. If a “key range” generator exists for the zone, it is always the first generator in the list for that zone. If a “velocity range” generator exists for the zone, it will only be preceded by a key range generator. If any generators follow a sampleID generator, they will be ignored.

The builder will happily let you insert generators in any order (it'll use the exact order you specify).

@io7m io7m added the enhancement New feature or request label Mar 4, 2019
@io7m io7m self-assigned this Mar 4, 2019
io7m added a commit to io7m/com.io7m.music.kit.dust_yard that referenced this issue Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant