OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:syntheticBold
(Results
1 - 10
of
10
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
FontCustomPlatformDataSkia.cpp
68
bool
syntheticBold
= bold && !m_typeface->isBold();
70
if (
syntheticBold
|| syntheticItalic) {
75
if (
syntheticBold
)
81
syntheticBold
= false;
83
return FontPlatformData(typeface.release(), "", size,
syntheticBold
, syntheticItalic, orientation);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
FontPlatformData.h
78
FontPlatformData(float size, bool
syntheticBold
, bool syntheticItalic, FontOrientation = Horizontal, FontWidthVariant = RegularWidth);
80
FontPlatformData(NSFont*, float size, bool
syntheticBold
= false, bool syntheticItalic = false,
82
FontPlatformData(CGFontRef, float size, bool
syntheticBold
, bool syntheticOblique, FontOrientation, FontWidthVariant);
84
FontPlatformData(PassRefPtr<SkTypeface>, const char* name, float textSize, bool
syntheticBold
, bool syntheticItalic, FontOrientation = Horizontal, bool subpixelTextPosition = defaultUseSubpixelPositioning());
108
bool
syntheticBold
() const { return m_syntheticBold; }
118
void setSyntheticBold(bool
syntheticBold
) { m_syntheticBold =
syntheticBold
; }
FontPlatformData.cpp
96
FontPlatformData::FontPlatformData(float size, bool
syntheticBold
, bool syntheticItalic, FontOrientation orientation, FontWidthVariant widthVariant)
102
, m_syntheticBold(
syntheticBold
)
158
FontPlatformData::FontPlatformData(CGFontRef cgFont, float size, bool
syntheticBold
, bool syntheticItalic, FontOrientation orientation, FontWidthVariant widthVariant)
162
, m_syntheticBold(
syntheticBold
)
176
FontPlatformData::FontPlatformData(PassRefPtr<SkTypeface> tf, const char* family, float textSize, bool
syntheticBold
, bool syntheticItalic, FontOrientation orientation, bool subpixelTextPosition)
182
, m_syntheticBold(
syntheticBold
)
SimpleFontData.h
62
static PassRefPtr<SimpleFontData> create(PassRefPtr<CustomFontData> customData, float fontSize, bool
syntheticBold
, bool syntheticItalic)
64
return adoptRef(new SimpleFontData(customData, fontSize,
syntheticBold
, syntheticItalic));
169
SimpleFontData(PassRefPtr<CustomFontData> customData, float fontSize, bool
syntheticBold
, bool syntheticItalic);
FontDescription.h
187
void setSyntheticBold(bool
syntheticBold
) { m_syntheticBold =
syntheticBold
; }
SimpleFontData.cpp
64
SimpleFontData::SimpleFontData(PassRefPtr<CustomFontData> customData, float fontSize, bool
syntheticBold
, bool syntheticItalic)
65
: m_platformData(FontPlatformData(fontSize,
syntheticBold
, syntheticItalic))
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
FontCacheMac.mm
222
bool
syntheticBold
= (isAppKitFontWeightBold(weight) && !isAppKitFontWeightBold(actualWeight)) || fontDescription.isSyntheticBold();
227
OwnPtr<FontPlatformData> platformData = adoptPtr(new FontPlatformData(platformFont, size,
syntheticBold
, syntheticItalic, fontDescription.orientation(), fontDescription.widthVariant()));
SimpleFontDataMac.mm
133
bool
syntheticBold
= platformData().
syntheticBold
() && !(traits & kCTFontBoldTrait);
136
FontPlatformData substitutePlatform(substituteFont, platformData().size(),
syntheticBold
, syntheticItalic, platformData().orientation(), platformData().widthVariant());
/external/chromium_org/third_party/WebKit/Source/platform/mac/
WebFontCache.mm
191
bool
syntheticBold
= desiredWeight >= 7 && actualWeight < 7;
201
if (
syntheticBold
)
/external/chromium_org/third_party/WebKit/Source/platform/fonts/cocoa/
FontPlatformDataCocoa.mm
46
FontPlatformData::FontPlatformData(NSFont *nsFont, float size, bool
syntheticBold
, bool syntheticItalic, FontOrientation orientation, FontWidthVariant widthVariant)
48
, m_syntheticBold(
syntheticBold
)
Completed in 190 milliseconds