Lines Matching +defs:font +defs:size
2 * This file is part of the internal font implementation. It should not be included by anyone other than
40 FontPlatformData::FontPlatformData(GDIObject<HFONT> font, float size, bool bold, bool oblique, bool useGDI)
41 : m_font(SharedGDIObject<HFONT>::create(WTF::move(font)))
42 , m_size(size)
70 platformDataInit(m_font->get(), size, hdc, faceName);
83 DWORD size = GetFontData(hdc, table, 0, 0, 0);
85 if (size != GDI_ERROR) {
86 buffer = SharedBuffer::create(size);
87 DWORD result = GetFontData(hdc, table, 0, (PVOID)buffer->data(), size);
88 ASSERT(result == size);