Home | History | Annotate | Download | only in ports

Lines Matching refs:ttcIndex

400 ttcIndex) const override {
401 *ttcIndex = fData->getIndex();
435 SkStreamAsset* onOpenStream(int* ttcIndex) const override {
437 *ttcIndex = get_int(fPattern, FC_INDEX, 0);
820 SkTypeface* onCreateFromStream(SkStreamAsset* bareStream, int ttcIndex) const override {
829 if (!fScanner.scanFont(stream, ttcIndex, nullptr, &style, &isFixedWidth, nullptr)) {
833 return new SkTypeface_stream(new SkFontData(stream.detach(), ttcIndex, nullptr, 0), style,
860 SkTypeface* onCreateFromData(SkData* data, int ttcIndex) const override {
861 return this->createFromStream(new SkMemoryStream(data), ttcIndex);
864 SkTypeface* onCreateFromFile(const char path[], int ttcIndex) const override {
865 return this->createFromStream(SkStream::NewFromFile(path), ttcIndex);
875 const int ttcIndex = fontData->getIndex();
878 if (!fScanner.scanFont(stream, ttcIndex, nullptr, &style, &isFixedWidth, nullptr)) {