Searched refs:fontStream (Results 1 - 8 of 8) sorted by relevance

/external/skia/src/core/
H A DSkFontDescriptor.cpp125 std::unique_ptr<SkStreamAsset> fontStream = fFontData->detachStream(); local
126 size_t length = fontStream->getLength();
128 stream->writeStream(fontStream.get(), length);
/external/skqp/src/core/
H A DSkFontDescriptor.cpp125 std::unique_ptr<SkStreamAsset> fontStream = fFontData->detachStream(); local
126 size_t length = fontStream->getLength();
128 stream->writeStream(fontStream.get(), length);
/external/skia/src/utils/
H A DSkWhitelistTypefaces.cpp70 SkStreamAsset* fontStream = fontData->getStream(); local
71 if (!fontStream) {
75 size_t length = fontStream->getLength();
80 if (!fontStream->peek(data.begin(), length)) {
/external/skqp/src/utils/
H A DSkWhitelistTypefaces.cpp70 SkStreamAsset* fontStream = fontData->getStream(); local
71 if (!fontStream) {
75 size_t length = fontStream->getLength();
80 if (!fontStream->peek(data.begin(), length)) {
/external/skia/src/pdf/
H A DSkPDFFont.cpp422 auto fontStream = sk_make_sp<SkPDFSharedStream>(std::move(fontAsset)); local
423 fontStream->dict()->insertInt("Length1", fontSize);
424 descriptor->insertObjRef("FontFile2", std::move(fontStream));
428 auto fontStream = sk_make_sp<SkPDFSharedStream>(std::move(fontAsset)); local
429 fontStream->dict()->insertName("Subtype", "CIDFontType0C");
430 descriptor->insertObjRef("FontFile3", std::move(fontStream));
514 auto fontStream = sk_make_sp<SkPDFStream>(std::move(fontData)); local
515 fontStream->dict()->insertInt("Length1", header);
516 fontStream->dict()->insertInt("Length2", data);
517 fontStream
[all...]
/external/skqp/src/pdf/
H A DSkPDFFont.cpp422 auto fontStream = sk_make_sp<SkPDFSharedStream>(std::move(fontAsset)); local
423 fontStream->dict()->insertInt("Length1", fontSize);
424 descriptor->insertObjRef("FontFile2", std::move(fontStream));
428 auto fontStream = sk_make_sp<SkPDFSharedStream>(std::move(fontAsset)); local
429 fontStream->dict()->insertName("Subtype", "CIDFontType0C");
430 descriptor->insertObjRef("FontFile3", std::move(fontStream));
514 auto fontStream = sk_make_sp<SkPDFStream>(std::move(fontData)); local
515 fontStream->dict()->insertInt("Length1", header);
516 fontStream->dict()->insertInt("Length2", data);
517 fontStream
[all...]
/external/skia/src/xps/
H A DSkXPSDevice.cpp1841 SkTScopedComPtr<IStream> fontStream; local
1845 HRM(SkIStream::CreateFromSkStream(fontData, true, &fontStream),
1860 HRM(this->fXpsFactory->CreateFontResource(fontStream.get(),
/external/skqp/src/xps/
H A DSkXPSDevice.cpp1841 SkTScopedComPtr<IStream> fontStream; local
1845 HRM(SkIStream::CreateFromSkStream(fontData, true, &fontStream),
1860 HRM(this->fXpsFactory->CreateFontResource(fontStream.get(),

Completed in 224 milliseconds