Home | History | Annotate | Download | only in win

Lines Matching refs:fontData

112     // We break up itemization of the string by fontData and (if needed) the use of small caps.
127 const SimpleFontData* fontData;
128 const SimpleFontData* nextFontData = m_font.glyphDataForCharacter(*curr, false).fontData;
143 fontData = nextFontData;
149 nextFontData = m_font.glyphDataForCharacter(*curr, false, forceSmallCaps ? SmallCapsVariant : AutoVariant).fontData;
156 if (m_fallbackFonts && nextFontData != fontData && fontData != m_font.primaryFont())
157 m_fallbackFonts->add(fontData);
159 if (nextFontData != fontData || nextIsSmallCaps != isSmallCaps) {
163 itemizeShapeAndPlace((isSmallCaps ? smallCapsBuffer.data() : cp) + itemStart, itemLength, fontData, glyphBuffer);
181 void UniscribeController::itemizeShapeAndPlace(const UChar* cp, unsigned length, const SimpleFontData* fontData, GlyphBuffer* glyphBuffer)
195 if (!shapeAndPlaceItem(cp, i, fontData, glyphBuffer))
200 if (!shapeAndPlaceItem(cp, i, fontData, glyphBuffer))
218 bool UniscribeController::shapeAndPlaceItem(const UChar* cp, unsigned i, const SimpleFontData* fontData, GlyphBuffer* glyphBuffer)
237 if (!shape(str, len, item, fontData, glyphs, clusters, visualAttributes))
246 HRESULT placeResult = ScriptPlace(0, fontData->scriptCache(), glyphs.data(), glyphs.size(), visualAttributes.data(),
252 HFONT hfont = fontData->platformData().hfont();
254 placeResult = ScriptPlace(hdc, fontData->scriptCache(), glyphs.data(), glyphs.size(), visualAttributes.data(),
268 const float cLogicalScale = fontData->platformData().useGDI() ? 1.0f : 32.0f;
269 unsigned logicalSpaceWidth = fontData->spaceWidth() * cLogicalScale;
270 float spaceWidth = fontData->spaceWidth();
279 glyphs[clusters[k]] = fontData->spaceGlyph();
299 if (!m_font.isPrinterFont() && !fontData->isSystemFont()) {
305 advance += fontData->syntheticBoldOffset();
343 glyphBuffer->add(glyph, fontData, advance, &size);
346 FloatRect glyphBounds = fontData->boundsForGlyph(glyph);
379 bool UniscribeController::shape(const UChar* str, int len, SCRIPT_ITEM item, const SimpleFontData* fontData,
388 fontData->scriptCache(), str, len, glyphs.size(), &item.a,
395 HFONT hfont = fontData->platformData().hfont();