-
Notifications
You must be signed in to change notification settings - Fork 111
FontFeature diagrams #131
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
FontFeature diagrams #131
Conversation
Adds a bunch of samples for FontFeature.
This adds support and documentation for: * FontFeature.alternative(n) * FontFeature.alternativeFractions() * FontFeature.contextualAlternates() * FontFeature.caseSensitiveForms() * FontFeature.characterVariant(v) * FontFeature.denominator() * FontFeature.fractions() * FontFeature.historicalForms() * FontFeature.historicalLigatures() * FontFeature.liningFigures() * FontFeature.localeAware(enable: false) * FontFeature.notationalForms(v) * FontFeature.numerators() * FontFeature.oldstyleFigures() * FontFeature.ordinalForms() * FontFeature.proportionalFigures() * FontFeature.randomize() (minor additions to documentation) * FontFeature.stylisticAlternates() * FontFeature.scientificInferiors() * FontFeature.stylisticSet(n) (documentation) * FontFeature.subscripts() * FontFeature.superscripts() * FontFeature.swash(v) * FontFeature.tabularFigures() (documentation) * FontFeature.slashedZero() There's hundreds more we could add but this is what I have so far. See flutter/assets-for-api-docs#131 for the diagrams.
|
See flutter/engine#23730 for what these document. |
|
cc @GaryQian |
This adds support and documentation for: * FontFeature.alternative(n) * FontFeature.alternativeFractions() * FontFeature.contextualAlternates() * FontFeature.caseSensitiveForms() * FontFeature.characterVariant(v) * FontFeature.denominator() * FontFeature.fractions() * FontFeature.historicalForms() * FontFeature.historicalLigatures() * FontFeature.liningFigures() * FontFeature.localeAware(enable: false) * FontFeature.notationalForms(v) * FontFeature.numerators() * FontFeature.oldstyleFigures() * FontFeature.ordinalForms() * FontFeature.proportionalFigures() * FontFeature.randomize() (minor additions to documentation) * FontFeature.stylisticAlternates() * FontFeature.scientificInferiors() * FontFeature.stylisticSet(n) (documentation) * FontFeature.subscripts() * FontFeature.superscripts() * FontFeature.swash(v) * FontFeature.tabularFigures() (documentation) * FontFeature.slashedZero() There's hundreds more we could add but this is what I have so far. See flutter/assets-for-api-docs#131 for the diagrams.
This adds support and documentation for: * FontFeature.alternative(n) * FontFeature.alternativeFractions() * FontFeature.contextualAlternates() * FontFeature.caseSensitiveForms() * FontFeature.characterVariant(v) * FontFeature.denominator() * FontFeature.fractions() * FontFeature.historicalForms() * FontFeature.historicalLigatures() * FontFeature.liningFigures() * FontFeature.localeAware(enable: false) * FontFeature.notationalForms(v) * FontFeature.numerators() * FontFeature.oldstyleFigures() * FontFeature.ordinalForms() * FontFeature.proportionalFigures() * FontFeature.randomize() (minor additions to documentation) * FontFeature.stylisticAlternates() * FontFeature.scientificInferiors() * FontFeature.stylisticSet(n) (documentation) * FontFeature.subscripts() * FontFeature.superscripts() * FontFeature.swash(v) * FontFeature.tabularFigures() (documentation) * FontFeature.slashedZero() There's hundreds more we could add but this is what I have so far. See flutter/assets-for-api-docs#131 for the diagrams.
| final List<String> categories = flags['category'] as List<String>; | ||
| final List<String> names = flags['name'] as List<String>; | ||
|
|
||
| print('Filters:\n categories: $categories\n names: $names'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Was this meant to be for debug or actually included here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was intended to stay. The generator is really only run by us, so it's useful to see what it's doing. Previously we didn't report what filters we applied. (This is especially helpful on Linux where we don't currently handle arguments so the filters you specify on the command line don't actually apply and previously that was very confusing.)
|
|
||
| - family: Ubuntu Mono | ||
| fonts: | ||
| - asset: fonts/UbuntuMono-Bold.ttf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit trailing newline
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, fixed
GaryQian
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, looks really comprehensive!
|
Thanks, will land on green. |
This adds support and documentation for: * FontFeature.alternative(n) * FontFeature.alternativeFractions() * FontFeature.contextualAlternates() * FontFeature.caseSensitiveForms() * FontFeature.characterVariant(v) * FontFeature.denominator() * FontFeature.fractions() * FontFeature.historicalForms() * FontFeature.historicalLigatures() * FontFeature.liningFigures() * FontFeature.localeAware(enable: false) * FontFeature.notationalForms(v) * FontFeature.numerators() * FontFeature.oldstyleFigures() * FontFeature.ordinalForms() * FontFeature.proportionalFigures() * FontFeature.randomize() (minor additions to documentation) * FontFeature.stylisticAlternates() * FontFeature.scientificInferiors() * FontFeature.stylisticSet(n) (documentation) * FontFeature.subscripts() * FontFeature.superscripts() * FontFeature.swash(v) * FontFeature.tabularFigures() (documentation) * FontFeature.slashedZero() There's hundreds more we could add but this is what I have so far. See flutter/assets-for-api-docs#131 for the diagrams.
This adds support and documentation for: * FontFeature.alternative(n) * FontFeature.alternativeFractions() * FontFeature.contextualAlternates() * FontFeature.caseSensitiveForms() * FontFeature.characterVariant(v) * FontFeature.denominator() * FontFeature.fractions() * FontFeature.historicalForms() * FontFeature.historicalLigatures() * FontFeature.liningFigures() * FontFeature.localeAware(enable: false) * FontFeature.notationalForms(v) * FontFeature.numerators() * FontFeature.oldstyleFigures() * FontFeature.ordinalForms() * FontFeature.proportionalFigures() * FontFeature.randomize() (minor additions to documentation) * FontFeature.stylisticAlternates() * FontFeature.scientificInferiors() * FontFeature.stylisticSet(n) (documentation) * FontFeature.subscripts() * FontFeature.superscripts() * FontFeature.swash(v) * FontFeature.tabularFigures() (documentation) * FontFeature.slashedZero() There's hundreds more we could add but this is what I have so far. See flutter/assets-for-api-docs#131 for the diagrams.
This adds support and documentation for: * FontFeature.alternative(n) * FontFeature.alternativeFractions() * FontFeature.contextualAlternates() * FontFeature.caseSensitiveForms() * FontFeature.characterVariant(v) * FontFeature.denominator() * FontFeature.fractions() * FontFeature.historicalForms() * FontFeature.historicalLigatures() * FontFeature.liningFigures() * FontFeature.localeAware(enable: false) * FontFeature.notationalForms(v) * FontFeature.numerators() * FontFeature.oldstyleFigures() * FontFeature.ordinalForms() * FontFeature.proportionalFigures() * FontFeature.randomize() (minor additions to documentation) * FontFeature.stylisticAlternates() * FontFeature.scientificInferiors() * FontFeature.stylisticSet(n) (documentation) * FontFeature.subscripts() * FontFeature.superscripts() * FontFeature.swash(v) * FontFeature.tabularFigures() (documentation) * FontFeature.slashedZero() There's hundreds more we could add but this is what I have so far. See flutter/assets-for-api-docs#131 for the diagrams.
This adds support and documentation for: * FontFeature.alternative(n) * FontFeature.alternativeFractions() * FontFeature.contextualAlternates() * FontFeature.caseSensitiveForms() * FontFeature.characterVariant(v) * FontFeature.denominator() * FontFeature.fractions() * FontFeature.historicalForms() * FontFeature.historicalLigatures() * FontFeature.liningFigures() * FontFeature.localeAware(enable: false) * FontFeature.notationalForms(v) * FontFeature.numerators() * FontFeature.oldstyleFigures() * FontFeature.ordinalForms() * FontFeature.proportionalFigures() * FontFeature.randomize() (minor additions to documentation) * FontFeature.stylisticAlternates() * FontFeature.scientificInferiors() * FontFeature.stylisticSet(n) (documentation) * FontFeature.subscripts() * FontFeature.superscripts() * FontFeature.swash(v) * FontFeature.tabularFigures() (documentation) * FontFeature.slashedZero() There's hundreds more we could add but this is what I have so far. See flutter/assets-for-api-docs#131 for the diagrams.
Adds a bunch of samples for FontFeature.