Lines Matching refs:ttcIndex
438 SkStreamAsset* onOpenStream(int* ttcIndex) const override { in onOpenStream()
439 *ttcIndex = fData->getIndex(); in onOpenStream()
486 SkStreamAsset* onOpenStream(int* ttcIndex) const override { in onOpenStream()
488 *ttcIndex = get_int(fPattern, FC_INDEX, 0); in onOpenStream()
927 int ttcIndex) const override { in onMakeFromStreamIndex()
936 if (!fScanner.scanFont(stream.get(), ttcIndex, &name, &style, &isFixedWidth, nullptr)) { in onMakeFromStreamIndex()
940 auto data = skstd::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onMakeFromStreamIndex()
968 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData> data, int ttcIndex) const override { in onMakeFromData()
969 return this->makeFromStream(skstd::make_unique<SkMemoryStream>(std::move(data)), ttcIndex); in onMakeFromData()
972 sk_sp<SkTypeface> onMakeFromFile(const char path[], int ttcIndex) const override { in onMakeFromFile()
973 return this->makeFromStream(SkStream::MakeFromFile(path), ttcIndex); in onMakeFromFile()
983 const int ttcIndex = fontData->getIndex(); in onMakeFromFontData() local
987 if (!fScanner.scanFont(stream, ttcIndex, &name, &style, &isFixedWidth, nullptr)) { in onMakeFromFontData()