/external/chromium_org/third_party/skia/src/core/ |
H A D | SkFontStream.h | 28 * @param ttcIndex 0 for normal sfnts, or the index within a TTC sfnt. 33 static int GetTableTags(SkStream*, int ttcIndex, SkFontTableTag tags[]); 36 * @param ttcIndex 0 for normal sfnts, or the index within a TTC sfnt. 41 static size_t GetTableData(SkStream*, int ttcIndex, SkFontTableTag tag, 44 static size_t GetTableSize(SkStream* stream, int ttcIndex, SkFontTableTag tag) { argument 45 return GetTableData(stream, ttcIndex, tag, 0, ~0U, NULL);
|
H A D | SkFontHost.cpp | 164 SkTypeface* SkFontMgr::createFromData(SkData* data, int ttcIndex) { argument 168 return this->onCreateFromData(data, ttcIndex); 171 SkTypeface* SkFontMgr::createFromStream(SkStream* stream, int ttcIndex) { argument 175 return this->onCreateFromStream(stream, ttcIndex); 178 SkTypeface* SkFontMgr::createFromFile(const char path[], int ttcIndex) { argument 182 return this->onCreateFromFile(path, ttcIndex);
|
H A D | SkFontStream.cpp | 54 static int count_tables(SkStream* stream, int ttcIndex, size_t* offsetToDir) { argument 55 SkASSERT(ttcIndex >= 0); 71 if ((unsigned)ttcIndex >= count) { 75 if (ttcIndex > 0) { // need to read more of the shared header 77 size_t amount = sizeof(SkSharedTTHeader) + ttcIndex * sizeof(uint32_t); 84 offset = SkEndian_SwapBE32((&header->fCollection.fOffset0)[ttcIndex]); 113 bool init(SkStream* stream, int ttcIndex) { argument 117 fCount = count_tables(stream, ttcIndex, &offsetToDir); 155 int SkFontStream::GetTableTags(SkStream* stream, int ttcIndex, argument 158 if (!header.init(stream, ttcIndex)) { 170 GetTableData(SkStream* stream, int ttcIndex, SkFontTableTag tag, size_t offset, size_t length, void* data) argument [all...] |
H A D | SkTypeface.cpp | 106 int ttcIndex; // TODO: write this to the stream? local 107 SkAutoTUnref<SkStream> rstream(this->openStream(&ttcIndex)); 165 SkStream* SkTypeface::openStream(int* ttcIndex) const { 167 if (NULL == ttcIndex) { 169 ttcIndex = &ttcIndexStorage; 171 return this->onOpenStream(ttcIndex);
|
/external/skia/src/core/ |
H A D | SkFontStream.h | 28 * @param ttcIndex 0 for normal sfnts, or the index within a TTC sfnt. 33 static int GetTableTags(SkStream*, int ttcIndex, SkFontTableTag tags[]); 36 * @param ttcIndex 0 for normal sfnts, or the index within a TTC sfnt. 41 static size_t GetTableData(SkStream*, int ttcIndex, SkFontTableTag tag, 44 static size_t GetTableSize(SkStream* stream, int ttcIndex, SkFontTableTag tag) { argument 45 return GetTableData(stream, ttcIndex, tag, 0, ~0U, NULL);
|
H A D | SkFontHost.cpp | 164 SkTypeface* SkFontMgr::createFromData(SkData* data, int ttcIndex) { argument 168 return this->onCreateFromData(data, ttcIndex); 171 SkTypeface* SkFontMgr::createFromStream(SkStream* stream, int ttcIndex) { argument 175 return this->onCreateFromStream(stream, ttcIndex); 178 SkTypeface* SkFontMgr::createFromFile(const char path[], int ttcIndex) { argument 182 return this->onCreateFromFile(path, ttcIndex);
|
H A D | SkFontStream.cpp | 54 static int count_tables(SkStream* stream, int ttcIndex, size_t* offsetToDir) { argument 55 SkASSERT(ttcIndex >= 0); 71 if ((unsigned)ttcIndex >= count) { 75 if (ttcIndex > 0) { // need to read more of the shared header 77 size_t amount = sizeof(SkSharedTTHeader) + ttcIndex * sizeof(uint32_t); 84 offset = SkEndian_SwapBE32((&header->fCollection.fOffset0)[ttcIndex]); 113 bool init(SkStream* stream, int ttcIndex) { argument 117 fCount = count_tables(stream, ttcIndex, &offsetToDir); 155 int SkFontStream::GetTableTags(SkStream* stream, int ttcIndex, argument 158 if (!header.init(stream, ttcIndex)) { 170 GetTableData(SkStream* stream, int ttcIndex, SkFontTableTag tag, size_t offset, size_t length, void* data) argument [all...] |
H A D | SkTypeface.cpp | 106 int ttcIndex; // TODO: write this to the stream? local 107 SkAutoTUnref<SkStream> rstream(this->openStream(&ttcIndex)); 165 SkStream* SkTypeface::openStream(int* ttcIndex) const { 167 if (NULL == ttcIndex) { 169 ttcIndex = &ttcIndexStorage; 171 return this->onOpenStream(ttcIndex);
|
/external/chromium_org/third_party/skia/include/device/xps/ |
H A D | SkXPSDevice.h | 152 int ttcIndex; member in class:SkXPSDevice::TypefaceUse
|
/external/skia/include/device/xps/ |
H A D | SkXPSDevice.h | 152 int ttcIndex; member in class:SkXPSDevice::TypefaceUse
|
/external/skia/tests/ |
H A D | FontHostStreamTest.cpp | 101 int ttcIndex; local 102 SkStream* fontData = origTypeface->openStream(&ttcIndex);
|
H A D | FontHostTest.cpp | 76 SkStream* stream, int ttcIndex) { 77 int n = SkFontStream::GetTableTags(stream, ttcIndex, NULL); 80 int n2 = SkFontStream::GetTableTags(stream, ttcIndex, array.get()); 91 SkDebugf("[%d:%d] '%s'\n", ttcIndex, i, str.c_str()); 93 size_t size = SkFontStream::GetTableSize(stream, ttcIndex, array[i]); 75 test_fontstream(skiatest::Reporter* reporter, SkStream* stream, int ttcIndex) argument
|
/external/chromium_org/third_party/skia/src/fonts/ |
H A D | SkFontMgr_fontconfig.cpp | 264 virtual SkTypeface* onCreateFromData(SkData*, int ttcIndex) { return NULL; } argument 266 virtual SkTypeface* onCreateFromStream(SkStream* stream, int ttcIndex) { argument 281 virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) { argument 283 return stream.get() ? this->createFromStream(stream, ttcIndex) : NULL;
|
/external/skia/src/fonts/ |
H A D | SkFontMgr_fontconfig.cpp | 264 virtual SkTypeface* onCreateFromData(SkData*, int ttcIndex) { return NULL; } argument 266 virtual SkTypeface* onCreateFromStream(SkStream* stream, int ttcIndex) { argument 281 virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) { argument 283 return stream.get() ? this->createFromStream(stream, ttcIndex) : NULL;
|
/external/chromium_org/third_party/skia/src/device/xps/ |
H A D | SkXPSDevice.cpp | 341 int ttcCount = (current->ttcIndex + 1); 354 current->ttcIndex, 2052 int ttcIndex; local 2053 SkStream* fontData = typeface->openStream(&ttcIndex); 2084 newTypefaceUse.ttcIndex = isTTC ? ttcIndex : -1; 2111 HRM(glyphs->SetFontFaceIndex(font->ttcIndex), "Could not set glyph font face index.");
|
/external/skia/src/device/xps/ |
H A D | SkXPSDevice.cpp | 341 int ttcCount = (current->ttcIndex + 1); 354 current->ttcIndex, 2052 int ttcIndex; local 2053 SkStream* fontData = typeface->openStream(&ttcIndex); 2084 newTypefaceUse.ttcIndex = isTTC ? ttcIndex : -1; 2111 HRM(glyphs->SetFontFaceIndex(font->ttcIndex), "Could not set glyph font face index.");
|