HomeSort by relevance Sort by last modified time
    Searched refs:fontData (Results 26 - 50 of 74) sorted by null

12 3

  /external/webkit/Source/WebCore/platform/graphics/opentype/
OpenTypeUtilities.cpp 194 bool getEOTHeader(SharedBuffer* fontData, EOTHeader& eotHeader, size_t& overlayDst, size_t& overlaySrc, size_t& overlayLength)
200 size_t dataLength = fontData->size();
201 const char* data = fontData->data();
338 eotHeader.updateEOTSize(fontData->size());
344 // adds fontName to the font table in fontData, and writes the new font table to rewrittenFontTable
346 static size_t renameFontInternal(SharedBuffer* fontData, const String& fontName, Vector<char> &rewrittenFontData)
348 size_t originalDataSize = fontData->size();
349 const sfntHeader* sfnt = reinterpret_cast<const sfntHeader*>(fontData->data());
364 rewrittenFontData.resize(fontData->size() + nameTableSize);
366 memcpy(data, fontData->data(), originalDataSize)
    [all...]
OpenTypeUtilities.h 58 bool getEOTHeader(SharedBuffer* fontData, EOTHeader& eotHeader, size_t& overlayDst, size_t& overlaySrc, size_t& overlayLength);
  /external/webkit/Source/WebCore/platform/graphics/chromium/
UniscribeHelperTextRun.cpp 110 const FontData *fontData = m_font->fontDataAt(m_fontIndex);
111 if (!fontData) {
120 fontData->fontDataForCharacter(' ');
ComplexTextControllerLinux.cpp 162 m_currentFontData = m_font->glyphDataForCharacter(m_item.string[m_item.item.pos], false).fontData;
165 const SimpleFontData* nextFontData = m_font->glyphDataForCharacter(m_item.string[m_item.item.pos + endOfRun], false).fontData;
194 // FontData, so we only need to check the first character's case.
202 const FontData* fontData = m_font->glyphDataForCharacter(m_item.string[m_item.item.pos], false, fontDataVariant).fontData;
203 const FontPlatformData& platformData = fontData->fontDataForCharacter(' ')->platformData();
FontCacheChromiumWin.cpp 269 static bool fontContainsCharacter(const FontPlatformData* fontData,
287 HFONT hfont = fontData->hfont();
330 SimpleFontData* fontData = fontCache->getCachedFontData(fontDescription, font.lfFaceName);
331 if (fontData)
333 return fontData;
  /external/webkit/Source/WebCore/platform/graphics/freetype/
FontCacheFreeType.cpp 66 FcPattern* findBestFontGivenFallbacks(const FontPlatformData& fontData, FcPattern* pattern)
68 if (!fontData.m_pattern)
71 if (!fontData.m_fallbacks) {
73 fontData.m_fallbacks = FcFontSort(0, fontData.m_pattern.get(), FcTrue, 0, &fontConfigResult);
76 if (!fontData.m_fallbacks)
79 FcFontSet* sets[] = { fontData.m_fallbacks };
87 const FontPlatformData& fontData = font.primaryFont()->platformData();
89 RefPtr<FcPattern> fallbackPattern = adoptRef(findBestFontGivenFallbacks(fontData, pattern.get()));
  /external/webkit/Source/WebCore/platform/graphics/mac/
ComplexTextController.cpp 183 // We break up glyph run generation for the string by FontData and (if needed) the use of small caps.
248 if (nextGlyphData.fontData != glyphData.fontData || nextIsSmallCaps != isSmallCaps || !nextGlyphData.glyph != !glyphData.glyph) {
251 collectComplexTextRunsForCharacters((isSmallCaps ? m_smallCapsBuffer.data() : cp) + itemStart, itemLength, itemStart, glyphData.glyph ? glyphData.fontData : 0);
259 collectComplexTextRunsForCharacters((nextIsSmallCaps ? m_smallCapsBuffer.data() : cp) + itemStart, itemLength, itemStart, nextGlyphData.glyph ? nextGlyphData.fontData : 0);
291 void ComplexTextController::collectComplexTextRunsForCharacters(const UChar* cp, unsigned length, unsigned stringLocation, const SimpleFontData* fontData)
295 return collectComplexTextRunsForCharactersATSUI(cp, length, stringLocation, fontData);
296 return collectComplexTextRunsForCharactersCoreText(cp, length, stringLocation, fontData);
298 return collectComplexTextRunsForCharactersATSUI(cp, length, stringLocation, fontData);
300 return collectComplexTextRunsForCharactersCoreText(cp, length, stringLocation, fontData);
    [all...]
SimpleFontDataMac.mm 61 static bool initFontData(SimpleFontData* fontData)
63 if (!fontData->platformData().cgFont())
71 ATSUFontID fontId = fontData->platformData().m_atsuFontID;
86 if (wkGetATSStyleGroup(fontStyle, &fontData->m_styleGroup) != noErr) {
  /external/webkit/Source/WebCore/platform/graphics/
GlyphPageTreeNode.h 45 class FontData;
56 , fontData(f)
60 const SimpleFontData* fontData;
116 setGlyphDataForIndex(index, glyphData.glyph, glyphData.fontData);
149 // The glyph page tree is a data structure that maps (FontData, glyph page number)
155 // Each root node maps a FontData pointer to another GlyphPageTreeNode at
163 // A NULL FontData pointer corresponds to the system fallback
188 static GlyphPageTreeNode* getRootChild(const FontData* fontData, unsigned pageNumber)
190 return getRoot(pageNumber)->getChild(fontData, pageNumber)
    [all...]
FontCache.cpp 289 void FontCache::releaseFontData(const SimpleFontData* fontData)
292 ASSERT(!fontData->isCustomFont());
294 FontDataCache::iterator it = gFontDataCache->find(fontData->platformData());
298 gInactiveFontData->add(fontData);
309 static bool isPurging; // Guard against reentry when e.g. a deleted FontData releases its small caps FontData.
319 const SimpleFontData* fontData = *it.get();
320 gFontDataCache->remove(fontData->platformData());
321 fontDataToDelete.append(fontData);
367 const FontData* FontCache::getFontData(const Font& font, int& familyIndex, FontSelector* fontSelector
    [all...]
SimpleFontData.cpp 120 m_missingGlyphData.fontData = this;
156 m_missingGlyphData.fontData = this;
181 m_missingGlyphData.fontData = this;
Font.h 46 class FontData;
135 float tabWidth(const SimpleFontData& fontData) const { return 8 * fontData.spaceWidth() + letterSpacing(); }
141 const FontData* fontDataAt(unsigned) const;
260 inline const FontData* Font::fontDataAt(unsigned index) const
  /external/webkit/Source/WebCore/platform/graphics/wince/
FontPlatformData.cpp 26 #include "FontData.h"
240 FixedSizeFontData* fontData = new FixedSizeFontData();
242 fontData->m_weight = weight;
243 fontData->m_italic = italic;
245 LOGFONT& winFont = fontData->m_font;
265 fontData->m_hfont.set(CreateFontIndirect(&winFont));
267 HGDIOBJ oldFont = SelectObject(g_screenDC, fontData->m_hfont.get());
269 GetTextMetrics(g_screenDC, &fontData->m_metrics);
276 langFontLink->GetFontCodePages(g_screenDC, fontData->m_hfont.get(), &fontData->m_codePages)
    [all...]
FontCustomPlatformData.cpp 35 bool renameFont(SharedBuffer* fontData, const String& fontName);
FontCacheWinCE.cpp 34 #include "FontData.h"
311 if (SimpleFontData* fontData = getCachedFontData(result))
312 return fontData;
  /sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/
DeviceSelector.java 42 import org.eclipse.swt.graphics.FontData;
196 FontData[] fontData = systemFont.getFontData();
197 FontData[] newFontData = new FontData[fontData.length];
198 for (int i = 0; i < fontData.length; i++) {
200 new FontData(fontData[i].getName(), fontData[i].getHeight(), fontData[i
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/qt/
SimpleFontDataQt.cpp 83 m_missingGlyphData.fontData = this;
  /external/webkit/Source/WebCore/platform/graphics/win/
UniscribeController.h 59 bool shape(const UChar* str, int len, SCRIPT_ITEM item, const SimpleFontData* fontData,
FontCacheWin.cpp 191 SimpleFontData* fontData = 0;
288 fontData = getCachedFontData(result);
296 return fontData;
307 SimpleFontData* fontData = fontCache->getCachedFontData(fontDescription, familyName);
308 if (fontData)
310 return fontData;
FontCustomPlatformData.cpp 97 EOTStream(const EOTHeader& eotHeader, const SharedBuffer* fontData, size_t overlayDst, size_t overlaySrc, size_t overlayLength)
99 , m_fontData(fontData)
  /external/webkit/Source/WebCore/svg/
SVGFont.cpp 212 static inline const SVGFontData* svgFontAndFontFaceElementForFontData(const SimpleFontData* fontData, SVGFontFaceElement*& fontFace, SVGFontElement*& font)
214 ASSERT(fontData->isCustomFont());
215 ASSERT(fontData->isSVGFont());
217 const SVGFontData* svgFontData = static_cast<const SVGFontData*>(fontData->svgFontData());
233 SVGTextRunWalker(const SVGFontData* fontData, SVGFontElement* fontElement, SVGTextRunData& data,
235 : m_fontData(fontData)
393 if (const SVGFontData* fontData = svgFontAndFontFaceElementForFontData(font->primaryFont(), fontFaceElement, fontElement)) {
421 SVGTextRunWalker<SVGTextRunWalkerMeasuredLengthData> runWalker(fontData, fontElement, data, floatWidthUsingSVGFontCallback, floatWidthMissingGlyphCallback);
471 if (const SVGFontData* fontData = svgFontAndFontFaceElementForFontData(primaryFont(), fontFaceElement, fontElement)) {
516 glyphOrigin.setX(fontData->horizontalOriginX() * scale)
    [all...]
  /external/skia/src/pdf/
SkPDFFont.cpp 541 SkRefPtr<SkStream> fontData =
543 fontData->unref(); // SkRefPtr and OpenStream both took a ref.
545 int fontSize = fontData->getLength();
552 if (fontData->read(originalFont.begin(), fontSize) == (size_t)fontSize) {
580 *fontStream = new SkPDFStream(fontData.get());
    [all...]
  /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/
ComponentsView.java 41 import org.eclipse.swt.graphics.FontData;
272 FontData[] fontData = (font==null ? JFaceResources.getDefaultFont() : font).getFontData();
273 FontData boldFontData = new FontData(fontData[0].getName(), fontData[0].getHeight(), SWT.BOLD);
  /external/webkit/Source/WebCore/css/
CSSFontSelector.cpp 381 void CSSFontSelector::retireCustomFont(FontData* fontData)
384 m_document->retireCustomFont(fontData);
386 GlyphPageTreeNode::pruneTreeCustomFontData(fontData);
387 delete fontData;
391 static FontData* fontDataForGenericFamily(Document* document, const FontDescription& fontDescription, const AtomicString& familyName)
502 FontData* CSSFontSelector::getFontData(const FontDescription& fontDescription, const AtomicString& familyName)
  /external/webkit/Source/WebCore/platform/graphics/android/fonts/
FontAndroid.cpp 33 #include "FontData.h"
658 const FontData* glyphData = m_font->glyphDataForCharacter(
659 m_item.string[m_item.item.pos], false).fontData;
662 const FontData* nextGlyphData = m_font->glyphDataForCharacter(
663 m_item.string[m_item.item.pos + endOfRun], false).fontData;
729 const FontData* fontData = m_font->glyphDataForCharacter(m_run[0], false).fontData;
731 fontData->fontDataForCharacter(' ')->platformData();
    [all...]

Completed in 1087 milliseconds

12 3