Lines Matching defs:font
407 "Could not get embedding option from font.");
411 "Could not get part uri from font.");
417 "Could not set new stream for subsetted font.");
1731 HRESULT SkXPSDevice::CreateTypefaceUse(const SkFont& font,
1733 SkTypeface* typeface = font.getTypefaceOrDefault();
1745 //and let the host deal with what kind of font we're looking at.
1756 "Could not create font stream.");
1767 "Could not create font resource part uri.");
1775 "Could not create font resource.");
1798 const TypefaceUse* font,
1808 HRM(xpsFactory->CreateGlyphs(font->xpsFont.get(), &glyphs), "Could not create glyphs.");
1809 HRM(glyphs->SetFontFaceIndex(font->ttcIndex), "Could not set glyph font face index.");
1858 "Could not set font size.");
1904 const SkFont& font = run.font();
1906 if (!glyphCount || !glyphIDs || font.getSize() <= 0) {
1911 if (FAILED(CreateTypefaceUse(font, &typeface)) ||
1921 //TODO: handle font scale and skew in x (text_scale_skew)
1923 // Advance width and offsets for glyphs measured in hundredths of the font em size
1925 FLOAT centemPerUnit = 100.0f / SkScalarToFLOAT(font.getSize());
1958 SkScalarToFLOAT(font.getSize()),