Home
last modified time | relevance | path

Searched refs:fontData (Results 1 – 21 of 21) sorted by relevance

/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_doc.cpp160 CPDF_CountedObject<CPDF_Font*>* fontData; in ~CPDF_DocPageData() local
161 m_FontMap.GetNextAssoc(pos, fontDict, fontData); in ~CPDF_DocPageData()
162 delete fontData; in ~CPDF_DocPageData()
196 CPDF_CountedObject<CPDF_Font*>* fontData; in Clear() local
197 m_FontMap.GetNextAssoc(pos, fontDict, fontData); in Clear()
198 if (!fontData->m_Obj) { in Clear()
201 if (bForceRelease || fontData->m_nCount < 2) { in Clear()
202 delete fontData->m_Obj; in Clear()
203 fontData->m_Obj = NULL; in Clear()
279 CPDF_CountedObject<CPDF_Font*>* fontData; in GetFont() local
[all …]
/external/skia/tools/
Dsk_tool_utils_font.cpp26 SkTestFontData& fontData = gTestFonts[index]; in release_portable_typefaces() local
27 SkSafeUnref(fontData.fFontCache); in release_portable_typefaces()
35 SkTestFontData* fontData = NULL; in create_font() local
41 fontData = &sub->fFont; in create_font()
45 if (!fontData) { in create_font()
51 fontData = &sub->fFont; in create_font()
56 if (fontData->fFontCache) { in create_font()
57 font = SkSafeRef(fontData->fFontCache); in create_font()
59 font = SkNEW_ARGS(SkTestFont, (*fontData)); in create_font()
62 fontData->fFontCache = SkSafeRef(font); in create_font()
[all …]
/external/skia/src/sfnt/
DSkOTUtils.cpp36 SkData* SkOTUtils::RenameFont(SkStreamAsset* fontData, const char* fontName, int fontNameLen) { in RenameFont() argument
40 if (fontData->read(&sfntHeader, sizeof(sfntHeader)) < sizeof(sfntHeader)) { in RenameFont()
49 if (fontData->read(&tableEntry, sizeof(tableEntry)) < sizeof(tableEntry)) { in RenameFont()
60 if (!fontData->rewind()) { in RenameFont()
83 size_t originalDataSize = fontData->getLength() - oldNameTablePhysicalSize; in RenameFont()
89 if (fontData->read(data, oldNameTableOffset) < oldNameTableOffset) { in RenameFont()
92 if (fontData->skip(oldNameTablePhysicalSize) < oldNameTablePhysicalSize) { in RenameFont()
95 …if (fontData->read(data + oldNameTableOffset, originalDataSize - oldNameTableOffset) < originalDat… in RenameFont()
DSkOTUtils.h39 static SkData* RenameFont(SkStreamAsset* fontData, const char* fontName, int fontNameLen);
/external/skia/src/fonts/
DSkTestScalerContext.cpp20 SkTestFont::SkTestFont(const SkTestFontData& fontData) in SkTestFont() argument
22 , fCharCodes(fontData.fCharCodes) in SkTestFont()
23 , fCharCodesCount(fontData.fCharCodesCount) in SkTestFont()
24 , fWidths(fontData.fWidths) in SkTestFont()
25 , fMetrics(fontData.fMetrics) in SkTestFont()
26 , fName(fontData.fName) in SkTestFont()
29 init(fontData.fPoints, fontData.fVerbs); in SkTestFont()
/external/skia/src/pdf/
DSkPDFFont.cpp594 SkAutoTDelete<SkStream> fontData(typeface->openStream(&ttcIndex)); in get_subset_font_stream() local
595 SkASSERT(fontData.get()); in get_subset_font_stream()
597 size_t fontSize = fontData->getLength(); in get_subset_font_stream()
604 if (fontData->read(originalFont.begin(), fontSize) == fontSize) { in get_subset_font_stream()
629 fontData->rewind(); in get_subset_font_stream()
636 *fontStream = new SkPDFStream(fontData.get()); in get_subset_font_stream()
1083 SkAutoTDelete<SkStream> fontData( in addFontDescriptor() local
1085 fontStream.reset(new SkPDFStream(fontData.get())); in addFontDescriptor()
1086 fontSize = fontData->getLength(); in addFontDescriptor()
1098 SkAutoTDelete<SkStream> fontData(typeface()->openStream(&ttcIndex)); in addFontDescriptor() local
[all …]
/external/skia/experimental/PdfViewer/
DSkPdfFont.cpp131 SkPdfStandardFontEntry fontData; in SkTypefaceFromPdfStandardFont() local
133 if (standardFontMap.find(fontName, &fontData)) { in SkTypefaceFromPdfStandardFont()
136 bold = bold || fontData.fIsBold; in SkTypefaceFromPdfStandardFont()
137 italic = italic || fontData.fIsItalic; in SkTypefaceFromPdfStandardFont()
140 fontData.fName, in SkTypefaceFromPdfStandardFont()
/external/skia/tests/
DFontHostStreamTest.cpp99 SkAutoTDelete<SkStreamAsset> fontData(origTypeface->openStream(&ttcIndex)); in DEF_TEST() local
100 SkTypeface* streamTypeface = SkTypeface::CreateFromStream(fontData.detach()); in DEF_TEST()
/external/skia/src/gpu/gl/
DGrGLPathRendering.cpp124 const void* fontData = fontStream->getMemoryBase(); in createGlyphs() local
125 if (NULL == fontData) { in createGlyphs()
129 fontData = &fontTempBuffer.front(); in createGlyphs()
138 fontDataLength, fontData, faceIndex, 0, in createGlyphs()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/
DComponentsView.java272 FontData[] fontData = (font==null ? JFaceResources.getDefaultFont() : font).getFontData(); in getBoldFont() local
273 FontData boldFontData = new FontData(fontData[0].getName(), fontData[0].getHeight(), SWT.BOLD); in getBoldFont()
/external/skia/src/core/
DSkAdvancedTypefaceMetrics.cpp311 void* fontData,
315 bool (*getAdvance)(void* fontData, int gId, int16_t* data));
/external/skia/src/device/xps/
DSkXPSDevice.cpp124 , fontData(NULL) in TypefaceUse()
349 (unsigned char *) current->fontData->getMemoryBase(), in subset_typeface()
350 (unsigned long) current->fontData->getLength(), in subset_typeface()
1901 SkStream* fontData = typeface->openStream(&ttcIndex); in CreateTypefaceUse() local
1903 HRM(SkIStream::CreateFromSkStream(fontData, true, &fontStream), in CreateTypefaceUse()
1926 uint8_t* data = (uint8_t*)fontData->getMemoryBase(); in CreateTypefaceUse()
1928 fontData->getLength() >= sizeof(SkTTCFHeader) && in CreateTypefaceUse()
1934 newTypefaceUse.fontData = fontData; in CreateTypefaceUse()
/external/skia/include/device/xps/
DSkXPSDevice.h143 SkStream* fontData; variable
/external/skia/src/ports/
DSkFontHost_win.cpp1920 static HANDLE activate_font(SkData* fontData) { in activate_font() argument
1923 HANDLE fontHandle = AddFontMemResourceEx(const_cast<void*>(fontData->data()), in activate_font()
1924 static_cast<DWORD>(fontData->size()), in activate_font()
/external/skia/include/gpu/gl/
DGrGLFunctions.h264 …stPathName, GrGLenum fontTarget, GrGLsizeiptr fontSize, const GrGLvoid *fontData, GrGLsizei faceIn…
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jface_3.6.1.M20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.jface.text_3.6.1.r361_v20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/
Dperformanceui.jarMETA-INF/MANIFEST.MF .project about.html plugin.xml build.properties images ...