8#ifndef SkFontConfigTypeface_DEFINED
9#define SkFontConfigTypeface_DEFINED
31 return new SkTypeface_FCI(std::move(fci), fi, std::move(familyName), style);
40 std::unique_ptr<SkFontData> data = this->
cloneFontData(args, &style);
45 std::move(data), fFamilyName, style, this->
isFixedPitch()));
54 , fFCI(
std::move(fci))
56 , fFamilyName(
std::move(familyName)) {}
60 std::unique_ptr<SkStreamAsset>
onOpenStream(
int* ttcIndex)
const override;
const SkFontConfigInterface::FontIdentity & getIdentity() const
void onGetFamilyName(SkString *familyName) const override
void onGetFontDescriptor(SkFontDescriptor *, bool *) const override
std::unique_ptr< SkStreamAsset > onOpenStream(int *ttcIndex) const override
sk_sp< SkTypeface > onMakeClone(const SkFontArguments &args) const override
std::unique_ptr< SkFontData > onMakeFontData() const override
static SkTypeface_FCI * Create(sk_sp< SkFontConfigInterface > fci, const SkFontConfigInterface::FontIdentity &fi, SkString familyName, const SkFontStyle &style)
SkTypeface_FCI(sk_sp< SkFontConfigInterface > fci, const SkFontConfigInterface::FontIdentity &fi, SkString familyName, const SkFontStyle &style)
std::unique_ptr< SkFontData > cloneFontData(const SkFontArguments &, SkFontStyle *style) const
SkFontStyle fontStyle() const
bool isFixedPitch() const
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args