@@ -800,7 +800,7 @@ int SdCardFont::prewarmStyle(uint8_t styleIdx, const uint32_t* codepoints, uint3
|
|||||||
freeStyleMiniData(s);
|
freeStyleMiniData(s);
|
||||||
// Recurse with rebuild semantics by clearing tryMerge state and trying
|
// Recurse with rebuild semantics by clearing tryMerge state and trying
|
||||||
// again — implemented as inline reset below.
|
// again — implemented as inline reset below.
|
||||||
return prewarmStyle(styleIdx, codepoints, cpCount, metadataOnly);
|
return prewarmStyle(styleIdx, codepoints, cpCount, metadataOnly, loadKernLigatureData);
|
||||||
}
|
}
|
||||||
mappings[validCount].codepoint = cp;
|
mappings[validCount].codepoint = cp;
|
||||||
mappings[validCount].globalIndex = idx;
|
mappings[validCount].globalIndex = idx;
|
||||||
|
|||||||
@@ -204,7 +204,8 @@ class SdCardFont {
|
|||||||
void applyKernLigaturePointers(PerStyle& s, EpdFontData& data) const;
|
void applyKernLigaturePointers(PerStyle& s, EpdFontData& data) const;
|
||||||
void applyGlyphMissCallback(uint8_t styleIdx);
|
void applyGlyphMissCallback(uint8_t styleIdx);
|
||||||
int32_t findGlobalGlyphIndex(const PerStyle& s, uint32_t codepoint) const;
|
int32_t findGlobalGlyphIndex(const PerStyle& s, uint32_t codepoint) const;
|
||||||
int prewarmStyle(uint8_t styleIdx, const uint32_t* codepoints, uint32_t cpCount, bool metadataOnly);
|
int prewarmStyle(uint8_t styleIdx, const uint32_t* codepoints, uint32_t cpCount, bool metadataOnly,
|
||||||
|
bool loadKernLigatureData);
|
||||||
|
|
||||||
// Global helpers
|
// Global helpers
|
||||||
void freeAll();
|
void freeAll();
|
||||||
|
|||||||
Reference in New Issue
Block a user