lib-font
Version:
A JS based OpenType font inspector
18 lines (15 loc) • 401 B
JavaScript
import { SimpleTable } from "../../simple-table.js";
/**
* The OpenType `LTSH` table.
*
* See https://docs.microsoft.com/en-us/typography/opentype/spec/LTSH
*/
class LTSH extends SimpleTable {
constructor(dict, dataview) {
const { p } = super(dict, dataview);
this.version = p.uint16;
this.numGlyphs = p.uint16;
this.yPels = p.readBytes(this.numGlyphs);
}
}
export { LTSH };