Files
NapCatQQ/.pnpm-store/v3/files/5b/dde991f630cb44b8c1319827b6cdb3a2ab6cc9fa239685f86d88a1d13f83c6b1620072aba62fb20c7aaba98e65a3630db306d38492e374cdafc0a0cb0cff4d
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
631 B
Plaintext

/**
* @file kerx
* @author mengke01(kekee000@gmail.com)
*
* @reference: https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6kerx.html
*/
import table from './table';
export default table.create(
'kerx',
[],
{
read(reader, ttf) {
const length = ttf.tables.kerx.length;
return reader.readBytes(this.offset, length);
},
write(writer, ttf) {
if (ttf.kerx) {
writer.writeBytes(ttf.kerx, ttf.kerx.length);
}
},
size(ttf) {
return ttf.kerx ? ttf.kerx.length : 0;
}
}
);