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)
SkScalerContextProxy(sk_sp< SkTypeface > tf, const SkScalerContextEffects &effects, const SkDescriptor *desc, sk_sp< SkStrikeClient::DiscardableHandleManager > manager)
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
SkScalerContext(sk_sp< SkTypeface >, const SkScalerContextEffects &, const SkDescriptor *)
void flatten(SkWriteBuffer &buffer) const
static std::optional< SkTypefaceProxyPrototype > MakeFromBuffer(SkReadBuffer &buffer)
SkTypefaceID serverTypefaceID() const
SkTypefaceProxyPrototype(const SkTypeface &typeface)
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
SkTypefaceProxy(const SkTypefaceProxyPrototype &prototype, sk_sp< SkStrikeClient::DiscardableHandleManager > manager, bool isLogging=true)
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
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font manager
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace buffer
std::shared_ptr< const fml::Mapping > data