Files
NapCatQQ/.pnpm-store/v3/files/58/0f38bd5e5208373c5419db5683da630ce87dfae77687743b39f972d9cd35e05deb8975140366a028082f179c7d5aabac3ffe3b32dee4f994cd2bd1488a873a
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

31 lines
622 B
Plaintext

/**
* @file GPOS
* @author fr33z00(https://github.com/fr33z00)
*
* @reference: https://learn.microsoft.com/en-us/typography/opentype/spec/gpos
*/
import table from './table';
export default table.create(
'GPOS',
[],
{
read(reader, ttf) {
const length = ttf.tables.GPOS.length;
return reader.readBytes(this.offset, length);
},
write(writer, ttf) {
if (ttf.GPOS) {
writer.writeBytes(ttf.GPOS, ttf.GPOS.length);
}
},
size(ttf) {
return ttf.GPOS ? ttf.GPOS.length : 0;
}
}
);