Show More
Commit Description:
force log out when password change
Commit Description:
force log out when password change
References:
File last commit:
Show/Diff file:
Action:
node_modules/fontkit/src/glyph/WOFF2Glyph.js | 15 lines | 391 B | application/javascript | JavascriptLexer |
import TTFGlyph from './TTFGlyph';
/**
* Represents a TrueType glyph in the WOFF2 format, which compresses glyphs differently.
*/
export default class WOFF2Glyph extends TTFGlyph {
_decode() {
// We have to decode in advance (in WOFF2Font), so just return the pre-decoded data.
return this._font._transformedGlyphs[this.id];
}
_getCBox() {
return this.path.bbox;
}
}