Home
last modified time | relevance | path

Searched refs:fontStyle (Results 1 – 25 of 39) sorted by relevance

12

/external/skia/src/core/
DSkTypeface.cpp120 SkFontStyle fontStyle) { in MakeFromName() argument
122 sk_sp<SkTypeface> result = (*gCreateTypefaceDelegate)(name, fontStyle); in MakeFromName()
127 if (nullptr == name && (fontStyle.slant() == SkFontStyle::kItalic_Slant || in MakeFromName()
128 fontStyle.slant() == SkFontStyle::kUpright_Slant) && in MakeFromName()
129 (fontStyle.weight() == SkFontStyle::kBold_Weight || in MakeFromName()
130 fontStyle.weight() == SkFontStyle::kNormal_Weight)) { in MakeFromName()
132 (fontStyle.slant() == SkFontStyle::kItalic_Slant ? SkTypeface::kItalic : in MakeFromName()
134 (fontStyle.weight() == SkFontStyle::kBold_Weight ? SkTypeface::kBold : in MakeFromName()
138 return sk_sp<SkTypeface>(fm->legacyCreateTypeface(name, fontStyle)); in MakeFromName()
DSkTypefaceCache.cpp90 SkFontStyle s = face->fontStyle(); in DumpProc()
/external/skia/src/ports/
DSkFontMgr_custom.cpp42 desc->setStyle(this->fontStyle()); in onGetFontDescriptor()
97 *style = fStyles[index]->fontStyle(); in getStyle()
168 const SkFontStyle& fontStyle) const in onMatchFamilyStyle()
171 return sset->matchStyle(fontStyle); in onMatchFamilyStyle()
183 const SkFontStyle& fontStyle) const in onMatchFaceStyle()
188 return fFamilies[i]->matchStyle(fontStyle); in onMatchFaceStyle()
DSkFontMgr_custom.h139 const SkFontStyle& fontStyle) const override;
144 const SkFontStyle& fontStyle) const override;
DSkFontMgr_android.cpp89 desc->setStyle(this->fontStyle()); in onGetFontDescriptor()
225 *style = fStyles[index]->fontStyle(); in getStyle()
DSkFontMgr_FontConfigInterface.cpp49 desc->setStyle(this->fontStyle()); in onGetFontDescriptor()
DSkTypeface_win_dw.cpp48 desc->setStyle(this->fontStyle()); in onGetFontDescriptor()
DSkFontHost_mac.cpp2096 desc->setStyle(this->fontStyle()); in onGetFontDescriptor()
2348 const SkFontStyle& fontStyle) const override { in onMatchFamilyStyle()
2350 return sset->matchStyle(fontStyle); in onMatchFamilyStyle()
DSkFontMgr_fontconfig.cpp457 desc->setStyle(this->fontStyle()); in onGetFontDescriptor()
/external/skia/src/fonts/
DSkFontMgr_indirect.cpp139 const SkFontStyle& fontStyle) const { in onMatchFamilyStyle()
140 SkFontIdentity id = fProxy->matchNameStyle(familyName, fontStyle); in onMatchFamilyStyle()
155 const SkFontStyle& fontStyle) const { in onMatchFaceStyle()
158 return this->matchFamilyStyle(familyName.c_str(), fontStyle); in onMatchFaceStyle()
DSkRandomScalerContext.cpp191 : SkTypeface(proxy->fontStyle(), false) in SkRandomTypeface()
DSkGScalerContext.cpp145 : SkTypeface(proxy->fontStyle(), false) in SkGTypeface()
DSkTestScalerContext.cpp169 desc->setStyle(this->fontStyle()); in onGetFontDescriptor()
/external/skia/include/ports/
DSkFontMgr_indirect.h42 const SkFontStyle& fontStyle) const override;
51 const SkFontStyle& fontStyle) const override;
/external/skia/gm/
Dfontmgr.cpp31 const SkFontStyle& fontStyle) { in drawCharacter() argument
35 sk_sp<SkTypeface> typeface(fm->matchFamilyStyleCharacter(fontName, fontStyle, in drawCharacter()
50 typeface->fontStyle()))); in drawCharacter()
/external/ImageMagick/Magick++/lib/Magick++/
DOptions.h129 void fontStyle(const StyleType style_);
130 StyleType fontStyle(void) const;
DImage.h266 void fontStyle(const StyleType style_);
267 StyleType fontStyle(void) const;
/external/skia/include/core/
DSkTypeface.h57 SkFontStyle fontStyle() const { in fontStyle() function
123 static sk_sp<SkTypeface> MakeFromName(const char familyName[], SkFontStyle fontStyle);
/external/skia/src/utils/
DSkWhitelistTypefaces.cpp166 if (!font_name_is_local(fontName, tf->fontStyle())) { in WhitelistSerializeTypeface()
184 serialize_sub(fontName, tf->fontStyle(), wstream); in WhitelistSerializeTypeface()
/external/skia/tests/
DFontMgrTest.cpp122 TestTypeface(const SkFontStyle& fontStyle) : SkTypeface(fontStyle, false){} in test_matchStyleCSS3() argument
702 REPORTER_ASSERT(reporter, typeface->fontStyle() == testCase.expectedResult); in test_matchStyleCSS3()
DTypefaceTest.cpp54 SkFontStyle newStyle = newTypeface->fontStyle(); in TypefaceStyle_test()
/external/pdfium/core/fxge/win32/
Dfx_win32_dwrite.cpp156 DWRITE_FONT_SIMULATIONS fontStyle = in DwCreateFontFaceFromStream() local
171 hr = pDwFactory->CreateFontFace(fontFaceType, 1, &pDwFontFile, 0, fontStyle, in DwCreateFontFaceFromStream()
/external/owasp/sanitizer/src/main/org/owasp/html/
DCssSchema.java536 Property fontStyle = new Property(
538 builder.put("font-style", fontStyle);
/external/ImageMagick/Magick++/lib/
DOptions.cpp336 void Magick::Options::fontStyle(const StyleType style_) in fontStyle() function in Magick::Options
343 Magick::StyleType Magick::Options::fontStyle(void) const in fontStyle() function in Magick::Options
/external/swiftshader/include/GLES2/
Dgl2ext.h2524 …uint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyp…
2525 …uint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGly…
2568 …HINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathPara…
2569 …uint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGly…
2582 …uint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyp…
2583 …uint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGly…
2626 …hGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathPara…
2627 …uint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGly…

12