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

A little more metrics for glyphs #307

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Next Next commit
Fix VHEA table structure
Signed-off-by: Vsevolod Volkov <[email protected]>
Vsevolod Volkov committed Mar 26, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit c4a882018a80038e556e3bb4b7674f829856c0ea
3 changes: 2 additions & 1 deletion src/tables/vhea.js
Original file line number Diff line number Diff line change
@@ -2,7 +2,8 @@ import * as r from 'restructure';

// Vertical Header Table
export default new r.Struct({
version: r.uint16, // Version number of the Vertical Header Table
majorVersion: r.uint16, // Major version number of the Vertical Header Table
minorVersion: r.uint16, // Minor version number of the Vertical Header Table
ascent: r.int16, // The vertical typographic ascender for this font
descent: r.int16, // The vertical typographic descender for this font
lineGap: r.int16, // The vertical typographic line gap for this font