Home | History | Annotate | Download | only in chromium

Lines Matching refs:hfont

73 // HFONT is the 'incarnation' of 'everything' about font, but it's an opaque
74 // handle and we can't directly query it to make a new HFONT sharing
76 // This function uses GetObject to convert HFONT back to LOGFONT,
78 // for the creation of a font identical to HFONT other than family name.
79 static void setLogFontAndStyle(HFONT hfont, LOGFONT *logfont, int *style)
81 ASSERT(hfont && logfont);
82 if (!hfont || !logfont)
85 GetObject(hfont, sizeof(LOGFONT), logfont);
88 // a new font similar to hfont.
103 HFONT hfont,
109 , m_hfont(hfont)
546 HFONT hfont = m_hfont;
561 // In case HFONT passed in ctor cannot render this run, we have to scan
600 oldFont = SelectObject(tempDC, hfont);
617 nextWinFontData(&hfont, &scriptCache, &fontProperties, &ascent)) {
636 &ascent, &hfont, &scriptCache);
644 tryToPreloadFont(hfont);
648 &ascent, &hfont, &scriptCache);
653 // a valid HFONT, but in the future, I may change it to return 0.
654 ASSERT(hfont);
675 shaping.m_hfont = hfont;