Fix signature

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
jpirnay
2026-04-28 17:46:37 +02:00
co-authored by Copilot
parent 639a9f350c
commit c84b971455
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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;
+2 -1
View File
@@ -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();