/external/webkit/Source/WebCore/platform/graphics/win/ |
D | FontCacheWin.cpp | 82 …linkedFontEnumProc(CONST LOGFONT* logFont, CONST TEXTMETRIC* metrics, DWORD fontType, LPARAM hfont) in linkedFontEnumProc() argument 84 *reinterpret_cast<HFONT*>(hfont) = CreateFontIndirect(logFont); in linkedFontEnumProc() 178 HFONT hfont = 0; in createMLangFont() local 183 hfont = CreateFontIndirect(&lf); in createMLangFont() 185 return hfont; in createMLangFont() 193 HFONT primaryFont = font.primaryFont()->fontDataForCharacter(character)->platformData().hfont(); in getFontDataForCharacters() 195 HFONT hfont = 0; in getFontDataForCharacters() local 208 for (unsigned i = 0; i < numCodePages && !hfont; ++i) { in getFontDataForCharacters() 209 hfont = createMLangFont(langFontLink, hdc, CJKCodePageMasks[i]); in getFontDataForCharacters() 210 if (hfont && !(codePages & CJKCodePageMasks[i])) { in getFontDataForCharacters() [all …]
|
D | SimpleFontDataWin.cpp | 75 HGDIOBJ oldFont = SelectObject(hdc, m_platformData.hfont()); in initGDIFont() 121 GetObject(m_platformData.hfont(), sizeof(LOGFONT), &winfont); in scaledFontData() 123 HFONT hfont = CreateFontIndirect(&winfont); in scaledFontData() local 124 …return new SimpleFontData(FontPlatformData(hfont, scaledSize, m_platformData.syntheticBold(), m_pl… in scaledFontData() 166 langFontLink->GetFontCodePages(dc, m_platformData.hfont(), &fontCodePages); in containsCharacters() 193 SelectObject(dc, m_platformData.hfont()); in determinePitch() 209 HGDIOBJ oldFont = SelectObject(hdc, m_platformData.hfont()); in boundsForGDIGlyph() 226 HGDIOBJ oldFont = SelectObject(hdc, m_platformData.hfont()); in widthForGDIGlyph() 248 SelectObject(dc, m_platformData.hfont()); in scriptFontProperties()
|
D | UniscribeController.cpp | 252 HFONT hfont = fontData->platformData().hfont(); in shapeAndPlaceItem() local 253 HFONT oldFont = (HFONT)SelectObject(hdc, hfont); in shapeAndPlaceItem() 395 HFONT hfont = fontData->platformData().hfont(); in shape() local 396 oldFont = (HFONT)SelectObject(hdc, hfont); in shape()
|
D | FontPlatformDataCGWin.cpp | 117 FontPlatformData::FontPlatformData(HFONT hfont, CGFontRef font, float size, bool bold, bool oblique… in FontPlatformData() argument 124 , m_font(RefCountedGDIHandle<HFONT>::create(hfont)) in FontPlatformData()
|
D | GlyphPageTreeNodeCairoWin.cpp | 47 SelectObject(dc, fontData->platformData().hfont()); in fill()
|
D | FontCustomPlatformData.cpp | 88 HFONT hfont = CreateFontIndirect(&logFont); in fontPlatformData() local 91 …return FontPlatformData(hfont, cgFont.get(), size, bold, italic, renderingMode == AlternateRenderi… in fontPlatformData()
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
D | FontCacheWinCE.cpp | 98 static bool currentFontContainsCharacter(IMLangFontLink* langFontLink, HDC hdc, HFONT hfont, UChar … in currentFontContainsCharacter() argument 101 HRESULT result = langFontLink->GetFontCodePages(hdc, hfont, &fontCodePages); in currentFontContainsCharacter() 129 LRESULT result = langFontLink->MapFont(hdc, codePageMask, refFont.hfont(), &mlangFont); in createMLangFont() 243 HFONT hfont = 0; local 256 hfont = createMLangFont(langFontLink, g_screenDC, CJKCodePageMasks[i]); 258 hfont = createMLangFont(langFontLink, g_screenDC, origFont, CJKCodePageMasks[i]); 260 if (!hfont) 263 SelectObject(g_screenDC, hfont); 266 if (hfont && !(codePages & CJKCodePageMasks[i])) { 272 … if (!currentFontContainsCharacter(langFontLink, g_screenDC, hfont, character, name)) { [all …]
|
D | GlyphPageTreeNodeWinCE.cpp | 41 if (fontData->platformData().hfont()) { in fill()
|
D | FontPlatformData.h | 60 HFONT hfont() const;
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
D | FontUtilsChromiumWin.cpp | 49 HFONT hfont = CreateFont(12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, in isFontPresent() local 51 if (!hfont) in isFontPresent() 54 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont)); in isFontPresent() 59 DeleteObject(hfont); in isFontPresent() 242 int getAscent(HFONT hfont) in getAscent() argument 245 HGDIOBJ oldFont = SelectObject(dc, hfont); in getAscent() 253 WORD getSpaceGlyph(HFONT hfont) in getSpaceGlyph() argument 256 HGDIOBJ oldFont = SelectObject(dc, hfont); in getSpaceGlyph() 267 : hfont(0) in FontData() 274 HFONT hfont; member [all …]
|
D | FontPlatformDataChromiumWin.h | 70 HFONT hfont() const { return m_font ? m_font->hfont() : 0; } in hfont() function 99 static PassRefPtr<RefCountedHFONT> create(HFONT hfont) in create() argument 101 return adoptRef(new RefCountedHFONT(hfont)); in create() 106 HFONT hfont() const { return m_hfont; } in hfont() function 120 RefCountedHFONT(HFONT hfont) : m_hfont(hfont) in RefCountedHFONT() argument
|
D | SimpleFontDataChromiumWin.cpp | 64 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); in platformInit() 68 if (PlatformBridge::ensureFontLoaded(m_platformData.hfont())) { in platformInit() 118 GetObject(m_platformData.hfont(), sizeof(LOGFONT), &winFont); in scaledFontData() 121 HFONT hfont = CreateFontIndirect(&winFont); in scaledFontData() local 122 return new SimpleFontData(FontPlatformData(hfont, scaledSize), isCustomFont(), false); in scaledFontData() 156 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); in determinePitch() 162 if (PlatformBridge::ensureFontLoaded(m_platformData.hfont())) { in determinePitch() 188 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); in platformWidthForGlyph() 193 if (PlatformBridge::ensureFontLoaded(m_platformData.hfont())) { in platformWidthForGlyph()
|
D | UniscribeHelperTextRun.cpp | 44 font.primaryFont()->platformData().hfont(), in UniscribeHelperTextRun() 69 HFONT hfont, in UniscribeHelperTextRun() argument 72 : UniscribeHelper(input, inputLength, isRtl, hfont, in UniscribeHelperTextRun() 88 HFONT* hfont, in nextWinFontData() argument 122 m_hfonts.append(simpleFontData->platformData().hfont()); in nextWinFontData() 128 *hfont = m_hfonts[m_fontIndex - 1]; in nextWinFontData()
|
D | UniscribeHelper.cpp | 50 static void setLogFontAndStyle(HFONT hfont, LOGFONT *logfont, int *style) in setLogFontAndStyle() argument 52 ASSERT(hfont && logfont); in setLogFontAndStyle() 53 if (!hfont || !logfont) in setLogFontAndStyle() 56 GetObject(hfont, sizeof(LOGFONT), logfont); in setLogFontAndStyle() 74 HFONT hfont, in UniscribeHelper() argument 81 , m_hfont(hfont) in UniscribeHelper() 518 HFONT hfont = m_hfont; in shape() local 573 oldFont = SelectObject(tempDC, hfont); in shape() 590 nextWinFontData(&hfont, &scriptCache, &fontProperties, &ascent)) { in shape() 609 &ascent, &hfont, &scriptCache, in shape() [all …]
|
D | FontCacheChromiumWin.cpp | 246 HFONT hfont = CreateFontIndirect(winfont); in createFontIndirectAndGetWinName() local 247 if (!hfont) in createFontIndirectAndGetWinName() 251 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont)); in createFontIndirectAndGetWinName() 260 return hfont; in createFontIndirectAndGetWinName() 287 HFONT hfont = fontData->hfont(); in fontContainsCharacter() local 289 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(hdc, hfont)); in fontContainsCharacter() 291 if (!count && PlatformBridge::ensureFontLoaded(hfont)) in fontContainsCharacter() 619 HFONT hfont = createFontIndirectAndGetWinName(family, &winfont, &winName); in createFontPlatformData() local 620 if (!hfont) in createFontPlatformData() 635 DeleteObject(hfont); in createFontPlatformData() [all …]
|
D | GlyphPageTreeNodeChromiumWin.cpp | 75 HGDIOBJ oldFont = SelectObject(dc, fontData->platformData().hfont()); in fillBMPGlyphs() 83 if (PlatformBridge::ensureFontLoaded(fontData->platformData().hfont())) in fillBMPGlyphs() 193 fontData->platformData().hfont(), in fillNonBMPGlyphs()
|
D | FontPlatformDataChromiumWin.cpp | 135 HGDIOBJ oldFont = SelectObject(dc, hfont()); in scriptFontProperties() 139 if (PlatformBridge::ensureFontLoaded(hfont())) { in scriptFontProperties()
|
D | UniscribeHelperTextRun.h | 55 HFONT hfont,
|
D | FontChromiumWin.cpp | 230 m_oldFont = ::SelectObject(m_hdc, m_font->platformData().hfont()); in TransparencyAwareGlyphPainter() 264 return paintSkiaText(m_graphicsContext, m_font->platformData().hfont(), in drawGlyphs() 434 PlatformBridge::ensureFontLoaded(font->platformData().hfont()); in drawGlyphsWin()
|
/external/webkit/Source/WebKit/chromium/tests/ |
D | UniscribeHelperTest.cpp | 58 HFONT hfont = CreateFontIndirect(&lf); in MakeFont() local 59 if (!hfont) in MakeFont() 64 createdFonts.append(std::make_pair(hfont, *cache)); in MakeFont() 65 return hfont; in MakeFont() 110 HFONT hfont = MakeFont(L"Times New Roman", &scriptCache); in TEST_F() local 111 ASSERT_TRUE(hfont); in TEST_F() 118 false, hfont, scriptCache, &properties, 0); in TEST_F() 151 false, hfont, scriptCache, &properties, 0); in TEST_F()
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
D | SkiaFontWin.cpp | 207 void SkiaWinOutlineCache::removePathsForFont(HFONT hfont) in removePathsForFont() argument 279 static bool skiaDrawText(HFONT hfont, in skiaDrawText() argument 310 … const SkPath* path = SkiaWinOutlineCache::lookupOrCreatePathForGlyph(dc, hfont, glyphs[i]); in skiaDrawText() 330 static void setupPaintForFont(HFONT hfont, SkPaint* paint) in setupPaintForFont() argument 338 GetObject(hfont, sizeof(info), &info); in setupPaintForFont() 350 HFONT hfont, in paintSkiaText() argument 358 HGDIOBJ oldFont = SelectObject(dc, hfont); in paintSkiaText() 369 setupPaintForFont(hfont, &paint); in paintSkiaText() 374 if (!skiaDrawText(hfont, dc, platformContext, *origin, &paint, in paintSkiaText() 390 setupPaintForFont(hfont, &paint); in paintSkiaText() [all …]
|
D | FontCustomPlatformData.cpp | 102 HFONT hfont = CreateFontIndirect(&logFont); in fontPlatformData() local 103 return FontPlatformData(hfont, size); in fontPlatformData()
|
D | SkiaFontWin.h | 89 HFONT hfont,
|
/external/harfbuzz_ng/src/ |
D | hb-uniscribe.cc | 110 HFONT hfont; member 163 data->hfont = CreateFontIndirectW (&data->log_font); in _hb_uniscribe_shaper_font_data_create() 164 if (unlikely (!data->hfont)) { in _hb_uniscribe_shaper_font_data_create() 170 if (!SelectObject (data->hdc, data->hfont)) { in _hb_uniscribe_shaper_font_data_create() 184 if (data->hfont) in _hb_uniscribe_shaper_font_data_destroy() 185 DeleteObject (data->hfont); in _hb_uniscribe_shaper_font_data_destroy() 204 return font_data->hfont; in hb_uniscribe_font_get_hfont()
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
D | SimpleFontDataWx.cpp | 125 return wxFontContainsCharacters(m_platformData.hfont(), characters, length); in containsCharacters() 188 HGDIOBJ oldFont = SelectObject(hdc, m_platformData.hfont()); in widthForGDIGlyph()
|