OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cgFont
(Results
1 - 11
of
11
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
MemoryActivatedFont.mm
94
bool isLastResortFont(CGFontRef
cgFont
)
96
NSString* fontName = (NSString*)CGFontCopyPostScriptName(
cgFont
);
126
RetainPtr<CGFontRef>
cgFont
(tmpCGFont);
135
return MemoryActivatedFont::create(fontID, nsFont,
cgFont
.get());
140
PassRefPtr<MemoryActivatedFont> MemoryActivatedFont::create(uint32_t fontID, NSFont* nsFont, CGFontRef
cgFont
)
142
return adoptRef(new MemoryActivatedFont(fontID, nsFont,
cgFont
));
145
MemoryActivatedFont::MemoryActivatedFont(uint32_t fontID, NSFont* nsFont, CGFontRef
cgFont
)
146
: m_cgFont(
cgFont
)
167
// Given an NSFont, try to load a representation of that font into the
cgFont
173
// *
cgFont
must be CFRelease()ed by the caller when done
[
all
...]
MemoryActivatedFont.h
38
typedef struct
CGFont
* CGFontRef;
79
CGFontRef
cgFont
() { return m_cgFont.get(); }
FontCustomPlatformDataMac.cpp
35
FontCustomPlatformData::FontCustomPlatformData(CGFontRef
cgFont
, PassRefPtr<SkTypeface> typeface)
36
: m_cgFont(AdoptCF,
cgFont
)
SimpleFontDataMac.mm
97
if (!fontData->platformData().
cgFont
())
211
iAscent = CGFontGetAscent(m_platformData.
cgFont
());
214
iDescent = -abs(CGFontGetDescent(m_platformData.
cgFont
()));
215
iLineGap = CGFontGetLeading(m_platformData.
cgFont
());
216
unitsPerEm = CGFontGetUnitsPerEm(m_platformData.
cgFont
());
257
xHeight = scaleEmToUnits(CGFontGetXHeight(m_platformData.
cgFont
()), unitsPerEm) * pointSize;
272
return CGFontCopyTableForTag(platformData.
cgFont
(), tableName);
393
if (!CGFontGetGlyphAdvancesForStyle(platformData().
cgFont
(), &m, cgFontRenderingModeForNSFont(font), &glyph, 1, &advance)) {
432
RetainPtr<CGFontRef>
cgFont
(AdoptCF, CTFontCopyGraphicsFont(platformData().ctFont(), 0));
446
if (!CFEqual(runCGFont.get(),
cgFont
.get())
[
all
...]
SimpleFontDataCoreText.cpp
106
CGFontGetGlyphsForUnichars(platformData().
cgFont
(), buffer, glyphs.data(), bufferLength);
137
// For the
CGFont
comparison in the loop, use the
CGFont
that Core Text assigns to the CTFont. This may
138
// be non-CFEqual to platformData().
cgFont
().
139
RetainPtr<CGFontRef>
cgFont
(AdoptCF, CTFontCopyGraphicsFont(platformData().ctFont(), 0));
150
// Use
CGFont
here as CFEqual for CTFont counts all attributes for font.
151
bool gotBaseFont = CFEqual(
cgFont
.get(), runCGFont.get());
ComplexTextControllerCoreText.mm
263
RetainPtr<CGFontRef>
cgFont
(AdoptCF, CTFontCopyGraphicsFont(runFontData->platformData().ctFont(), 0));
264
if (CFEqual(
cgFont
.get(), runCGFont.get()))
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
HarfBuzzFaceCoreText.cpp
111
CGFontRef
cgFont
= reinterpret_cast<CGFontRef>(userData);
112
if (!
cgFont
)
114
CFDataRef cfData = CGFontCopyTableForTag(
cgFont
, tag);
129
hb_face_t* face = hb_face_create_for_tables(harfBuzzCoreTextGetTable, m_platformData->
cgFont
(), 0);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/cocoa/
FontPlatformDataCocoa.mm
59
CGFontRef
cgFont
= 0;
60
loadFont(nsFont, size, m_font,
cgFont
);
77
m_cgFont.adoptCF(
cgFont
);
125
CGFontRef
cgFont
= 0;
127
loadFont(m_font, m_textSize, loadedFont,
cgFont
);
137
m_cgFont.adoptCF(
cgFont
);
234
m_CTFont.adoptCF(CTFontCreateWithGraphicsFont(m_inMemoryFont->
cgFont
(), m_textSize, 0, cascadeToLastResortFontDescriptor()));
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
FontPlatformData.cpp
158
FontPlatformData::FontPlatformData(CGFontRef
cgFont
, float size, bool syntheticBold, bool syntheticItalic, FontOrientation orientation, FontWidthVariant widthVariant)
169
, m_cgFont(
cgFont
)
FontPlatformData.h
50
typedef struct
CGFont
* CGFontRef;
93
CGFontRef
cgFont
() const { return m_cgFont.get(); }
168
// *
cgFont
- CGFontRef representing the input font at the specified point size.
/external/chromium_org/third_party/skia/src/ports/
SkFontHost_mac.cpp
385
AutoCFRelease<CGFontRef>
cgFont
(CTFontCopyGraphicsFont(fontRef, NULL));
386
AutoCGTable<SkOTTableHead> headTable(
cgFont
);
[
all
...]
Completed in 2270 milliseconds