New DNA API

This commit is contained in:
Jack Andersen 2018-02-23 20:16:55 -10:00
parent 45d51f6ea7
commit 41e5641470
2 changed files with 7 additions and 7 deletions

View File

@ -87,25 +87,25 @@ private:
std::vector<Glyph> m_glyphs;
std::unordered_map<atUint16, std::vector<std::pair<atUint16, atInt16>>> m_kernAdjs;
struct TT_KernHead : athena::io::DNA<athena::BigEndian>
struct TT_KernHead : athena::io::DNA<athena::Big>
{
DECL_DNA
AT_DECL_DNA
Value<atUint32> length;
Value<atUint16> coverage;
};
struct TT_KernSubHead : athena::io::DNA<athena::BigEndian>
struct TT_KernSubHead : athena::io::DNA<athena::Big>
{
DECL_DNA
AT_DECL_DNA
Value<atUint16> nPairs;
Value<atUint16> searchRange;
Value<atUint16> entrySelector;
Value<atUint16> rangeShift;
};
struct TT_KernPair : athena::io::DNA<athena::BigEndian>
struct TT_KernPair : athena::io::DNA<athena::Big>
{
DECL_DNA
AT_DECL_DNA
Value<atUint16> left;
Value<atUint16> right;
Value<atInt16> value;

@ -1 +1 @@
Subproject commit 5282ae63088493434fcbcd68ec8d762f31665f09
Subproject commit 527b503bd78b3ac996e68f68d5e35a55bf43dbc3