OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cgFont
(Results
1 - 13
of
13
) 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
99
if (!fontData->platformData().
cgFont
())
213
iAscent = CGFontGetAscent(m_platformData.
cgFont
());
216
iDescent = -abs(CGFontGetDescent(m_platformData.
cgFont
()));
217
iLineGap = CGFontGetLeading(m_platformData.
cgFont
());
218
unitsPerEm = CGFontGetUnitsPerEm(m_platformData.
cgFont
());
259
xHeight = scaleEmToUnits(CGFontGetXHeight(m_platformData.
cgFont
()), unitsPerEm) * pointSize;
274
return CGFontCopyTableForTag(platformData.
cgFont
(), tableName);
395
if (!CGFontGetGlyphAdvancesForStyle(platformData().
cgFont
(), &m, cgFontRenderingModeForNSFont(font), &glyph, 1, &advance)) {
434
RetainPtr<CGFontRef>
cgFont
(AdoptCF, CTFontCopyGraphicsFont(platformData().ctFont(), 0));
448
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/cocoa/
FontPlatformDataCocoa.mm
53
CGFontRef
cgFont
= 0;
54
loadFont(nsFont, size, m_font,
cgFont
);
71
m_cgFont.adoptCF(
cgFont
);
134
CGFontRef
cgFont
= 0;
136
loadFont(m_font, m_size, loadedFont,
cgFont
);
148
m_cgFont.adoptCF(
cgFont
);
250
m_CTFont.adoptCF(CTFontCreateWithGraphicsFont(m_inMemoryFont->
cgFont
(), m_size, 0, cascadeToLastResortFontDescriptor()));
325
RetainPtr<CFStringRef> cgFontDescription(AdoptCF, CFCopyDescription(
cgFont
()));
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
FontPlatformData.cpp
80
FontPlatformData::FontPlatformData(CGFontRef
cgFont
, float size, bool syntheticBold, bool syntheticOblique, FontOrientation orientation, FontWidthVariant widthVariant)
87
, m_cgFont(
cgFont
)
FontPlatformData.h
41
typedef struct
CGFont
* CGFontRef;
61
typedef struct
CGFont
* CGFontRef;
103
CGFontRef
cgFont
() const { return m_cgFont.get(); }
173
// *
cgFont
- CGFontRef representing the input font at the specified point size.
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
HarfBuzzFaceCoreText.cpp
111
CGFontRef
cgFont
= reinterpret_cast<CGFontRef>(userData);
112
CFDataRef cfData = CGFontCopyTableForTag(
cgFont
, tag);
127
hb_face_t* face = hb_face_create_for_tables(harfBuzzCoreTextGetTable, m_platformData->
cgFont
(), 0);
/external/pdfium/core/src/fxge/apple/
apple_int.h
211
CFX_FontProvider(CGFontRef
cgFont
);
/external/chromium_org/third_party/skia/src/ports/
SkFontHost_mac.cpp
389
AutoCFRelease<CGFontRef>
cgFont
(CTFontCopyGraphicsFont(fontRef, NULL));
390
AutoCGTable<SkOTTableHead> headTable(
cgFont
);
[
all
...]
/external/skia/src/ports/
SkFontHost_mac.cpp
389
AutoCFRelease<CGFontRef>
cgFont
(CTFontCopyGraphicsFont(fontRef, NULL));
390
AutoCGTable<SkOTTableHead> headTable(
cgFont
);
[
all
...]
Completed in 311 milliseconds