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

[write-fonts] Add 'PendingVariationIndex' table #544

Merged
merged 1 commit into from
Aug 4, 2023

Commits on Aug 2, 2023

  1. [write-fonts] Add 'PendingVariationIndex' table

    This is intended as a sentinal, which can be assigned a unique
    ID during compilation, and then remapped to the final VariationIndex
    values once the ItemVariationStore has been compiled.
    
    This type will panic if we attempt to serialize it, which will ensure
    that we never accidentally write temporary values to our VariationIndex
    tables.
    
    Although this is not part of the spec I am generating this in codegen
    since it's much easier than trying to do it manually; making this work
    required adding a new attribute, `#[write_fonts_only]`, to communicate
    to codegen that we should not generate any parsing code for this type
    (since it is not a real type that should ever exist in an actual font
    file).
    cmyr committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    619583d View commit details
    Browse the repository at this point in the history