Lines Matching defs:ttcIndex
92 std::unique_ptr<SkStreamAsset> onOpenStream(int* ttcIndex) const override {
93 *ttcIndex = fIndex;
144 std::unique_ptr<SkStreamAsset> onOpenStream(int* ttcIndex) const override {
145 *ttcIndex = fData->getIndex();
195 const int ttcIndex = fontFile.fIndex;
200 if (!scanner.scanFont(stream.get(), ttcIndex,
239 pathName, cacheFontFiles, ttcIndex, axisValues.get(), axisDefinitions.count(),
433 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData> data, int ttcIndex) const override {
435 ttcIndex);
438 sk_sp<SkTypeface> onMakeFromFile(const char path[], int ttcIndex) const override {
440 return stream ? this->makeFromStream(std::move(stream), ttcIndex) : nullptr;
444 int ttcIndex) const override {
448 if (!fScanner.scanFont(stream.get(), ttcIndex, &name, &style, &isFixedPitch, nullptr)) {
451 auto data = std::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0);