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

Make MATH variable #4

Open
be5invis opened this issue Mar 14, 2019 · 2 comments
Open

Make MATH variable #4

be5invis opened this issue Mar 14, 2019 · 2 comments

Comments

@be5invis
Copy link

be5invis commented Mar 14, 2019

There are cases that we need to bolden the entire equation, like, equations in titles:

DISCLAIMER: This is NOT a proposal from Microsoft, just from me.

@stone-zeng
Copy link

See firamath/firamath#20.

@be5invis
Copy link
Author

be5invis commented Mar 30, 2019

Some concept:

MATH Header, version 1.1

Type Name Description
uint16 majorVersion Major version of the MATH table, = 1.
uint16 minorVersion Minor version of the MATH table, = 1.
Offset16 mathConstantsOffset Offset to MathConstants table - from the beginning of MATH table.
Offset16 mathGlyphInfoOffset Offset to MathGlyphInfo table - from the beginning of MATH table.
Offset16 mathVariantsOffset Offset to MathVariants table - from the beginning of MATH table.
Offset32 itemVariationStore Offset to Item Variation Store

MathValueRecord

Type Name Description
int16 value The X or Y value in design units
Offset16 deviceTableOffset Offset to the Device or Variation Index Table – from the beginning of parent table. May be NULL.

DISCLAIMER: This is NOT a proposal from Microsoft, just from me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants