mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
Fix CI and replacement character (#133)
This commit is contained in:
@@ -61,7 +61,7 @@ public:
|
||||
CodePoint m_codePoint;
|
||||
GlyphIndex m_glyphIndex;
|
||||
};
|
||||
static constexpr GlyphIndex IndexForReplacementCharacterCodePoint = 134;
|
||||
static constexpr GlyphIndex IndexForReplacementCharacterCodePoint = 190;
|
||||
GlyphIndex indexForCodePoint(CodePoint c) const;
|
||||
|
||||
void setGlyphGrayscalesForCodePoint(CodePoint codePoint, GlyphBuffer * glyphBuffer) const;
|
||||
|
||||
@@ -155,7 +155,7 @@ KDFont::GlyphIndex KDFont::indexForCodePoint(CodePoint c) const {
|
||||
return endPair->glyphIndex();
|
||||
}
|
||||
NoMatchingGlyph:
|
||||
assert(SimpleCodePoints[IndexForReplacementCharacterCodePoint] == 0xFFFD);
|
||||
assert(ExtendedCodePoints[IndexForReplacementCharacterCodePoint] == 0xFFFD);
|
||||
return IndexForReplacementCharacterCodePoint;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user