8#ifndef SkRemoteTypeface_DEFINED
9#define SkRemoteTypeface_DEFINED
68 bool glyphMaskNeedsCurrentColor);
77 style.fValue = fStyleValue;
81 const int fGlyphCount;
82 const int32_t fStyleValue;
83 const bool fIsFixedPitch;
87 const bool fGlyphMaskNeedsCurrentColor;
100 bool glyphMaskNeedsCurrentColor,
112 std::unique_ptr<SkStreamAsset>
onOpenStream(
int* ttcIndex)
const override {
113 SK_ABORT(
"Should never be called.");
116 SK_ABORT(
"Should never be called.");
119 return fGlyphMaskNeedsCurrentColor;
122 int coordinateCount)
const override {
123 SK_ABORT(
"Should never be called.");
126 int parameterCount)
const override {
127 SK_ABORT(
"Should never be called.");
134 SK_ABORT(
"Should never be called.");
137 SK_ABORT(
"Should never be called.");
140 SK_ABORT(
"Should never be called.");
143 SK_ABORT(
"Should never be called.");
148 return std::make_unique<SkScalerContextProxy>(
156 SK_ABORT(
"Should never be called.");
159 SK_ABORT(
"Should never be called.");
163 SK_ABORT(
"Should never be called.");
167 SK_ABORT(
"Should never be called.");
170 SK_ABORT(
"Should never be called.");
177 SK_ABORT(
"Should never be called.");
182 const int fGlyphCount;
183 const bool fIsLogging;
184 const bool fGlyphMaskNeedsCurrentColor;
#define SK_ABORT(message,...)
sk_sp< T > sk_ref_sp(T *obj)
void generateFontMetrics(SkFontMetrics *metrics) override
sk_sp< SkDrawable > generateDrawable(const SkGlyph &) override
bool generatePath(const SkGlyph &glyph, SkPath *path) override
SkTypefaceProxy * getProxyTypeface() const
void generateImage(const SkGlyph &, void *) override
GlyphMetrics generateMetrics(const SkGlyph &, SkArenaAlloc *) override
void flatten(SkWriteBuffer &buffer) const
static std::optional< SkTypefaceProxyPrototype > MakeFromBuffer(SkReadBuffer &buffer)
SkTypefaceID serverTypefaceID() const
bool onGlyphMaskNeedsCurrentColor() const override
std::unique_ptr< SkScalerContext > onCreateScalerContext(const SkScalerContextEffects &effects, const SkDescriptor *desc) const override
void onFilterRec(SkScalerContextRec *rec) const override
void getPostScriptGlyphNames(SkString *) const override
std::unique_ptr< SkAdvancedTypefaceMetrics > onGetAdvancedMetrics() const override
int onGetTableTags(SkFontTableTag tags[]) const override
size_t onGetTableData(SkFontTableTag, size_t offset, size_t length, void *data) const override
void onGetFontDescriptor(SkFontDescriptor *, bool *) const override
int onGetUPEM() const override
void * onGetCTFontRef() const override
void onGetFamilyName(SkString *familyName) const override
void getGlyphToUnicodeMap(SkUnichar *) const override
SkTypeface::LocalizedStrings * onCreateFamilyNameIterator() const override
bool onGetPostScriptName(SkString *) const override
SkTypefaceID remoteTypefaceID() const
sk_sp< SkTypeface > onMakeClone(const SkFontArguments &args) const override
int onCountGlyphs() const override
int onGetVariationDesignPosition(SkFontArguments::VariationPosition::Coordinate coordinates[], int coordinateCount) const override
void onCharsToGlyphs(const SkUnichar *chars, int count, SkGlyphID glyphs[]) const override
std::unique_ptr< SkStreamAsset > onOpenStream(int *ttcIndex) const override
int onGetVariationDesignParameters(SkFontParameters::Variation::Axis parameters[], int parameterCount) const override
bool isFixedPitch() const
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
static const uint8_t buffer[]