// Copyright (c) 2018 The OTS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file.
if (!ParseItemVariationStore(GetFont(), data + itemVariationStoreOffset,
length - itemVariationStoreOffset)) { return DropVariations("Failed to parse item variation store");
}
if (advanceHeightMappingOffset) { if (!ParseDeltaSetIndexMap(GetFont(), data + advanceHeightMappingOffset,
length - advanceHeightMappingOffset)) { return DropVariations("Failed to parse advance height mappings");
}
}
if (tsbMappingOffset) { if (!ParseDeltaSetIndexMap(GetFont(), data + tsbMappingOffset,
length - tsbMappingOffset)) { return DropVariations("Failed to parse TSB mappings");
}
}
if (bsbMappingOffset) { if (!ParseDeltaSetIndexMap(GetFont(), data + bsbMappingOffset,
length - bsbMappingOffset)) { return DropVariations("Failed to parse BSB mappings");
}
}
if (vOrgMappingOffset) { if (!ParseDeltaSetIndexMap(GetFont(), data + vOrgMappingOffset,
length - vOrgMappingOffset)) { return DropVariations("Failed to parse vOrg mappings");
}
}
this->m_data = data;
this->m_length = length;
returntrue;
}
bool OpenTypeVVAR::Serialize(OTSStream* out) { if (!out->Write(this->m_data, this->m_length)) { return Error("Failed to write VVAR table");
}
returntrue;
}
} // namespace ots
Messung V0.5
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.