OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nsFont
(Results
1 - 10
of
10
) sorted by null
/external/webkit/Source/WebCore/platform/graphics/wx/
FontPlatformDataWxMac.mm
51
NSFont
* OSXCreateNSFont(const wxNativeFontInfo* info)
53
NSFont
*
nsFont
;
67
nsFont
= [[NSFontManager sharedFontManager] fontWithFamily:(NSString*)(CFStringRef)wxMacCFStringHolder(info->GetFaceName())
70
if (
nsFont
== nil )
73
nsFont
= [[NSFontManager sharedFontManager] fontWithFamily:(NSString*)(CFStringRef)wxMacCFStringHolder(info->GetFaceName())
75
if (
nsFont
== nil )
79
nsFont
= [
NSFont
boldSystemFontOfSize:info->GetPointSize()];
83
nsFont
= [NSFont systemFontOfSize:info->GetPointSize()]
[
all
...]
FontPlatformData.h
49
@class
NSFont
;
51
class
NSFont
;
55
inline CTFontRef toCTFontRef(
NSFont
*
nsFont
) { return reinterpret_cast<CTFontRef>(
nsFont
); }
166
NSFont
*
nsFont
() const { return m_nsFont; }
181
NSFont
* m_nsFont;
SimpleFontDataWx.cpp
127
return wxFontContainsCharacters(m_platformData.
nsFont
(), characters, length);
154
NSFont
*
nsfont
= (
NSFont
*)m_platformData.
nsFont
();
155
if (!wkGetGlyphTransformedAdvances(m_platformData.cgFont(),
nsfont
, &m, &glyph, &advance)) {
156
// LOG_ERROR("Unable to cache glyph widths for %@ %f", [
nsfont
displayName], pointSize);
/external/webkit/Source/WebCore/platform/graphics/mac/
FontCacheMac.mm
97
NSFont
*
nsFont
= platformData.font();
100
NSFont
*substituteFont = wkGetFontInLanguageForRange(
nsFont
, string, NSMakeRange(0, length));
104
substituteFont = wkGetFontInLanguageForCharacter(
nsFont
, characters[0]);
120
if (
nsFont
) {
121
traits = [fontManager traitsOfFont:
nsFont
];
126
weight = [fontManager weightOfFont:
nsFont
];
127
size = [
nsFont
pointSize];
129
// For custom fonts
nsFont
is nil
[
all
...]
/external/webkit/Source/WebCore/platform/graphics/cocoa/
FontPlatformDataCocoa.mm
29
#import <AppKit/
NSFont
.h>
37
void FontPlatformData::loadFont(
NSFont
*
nsFont
, float,
NSFont
*& outNSFont, CGFontRef& cgFont)
39
outNSFont =
nsFont
;
41
cgFont = CTFontCopyGraphicsFont(toCTFontRef(
nsFont
), 0);
43
cgFont = wkGetCGFontFromNSFont(
nsFont
);
48
FontPlatformData::FontPlatformData(
NSFont
*
nsFont
, float size, bool syntheticBold, bool syntheticOblique, FontOrientation orientation,
56
, m_font(
nsFont
)
[
all
...]
/external/webkit/Source/WebCore/platform/graphics/chromium/
CrossProcessFontLoading.mm
34
#import <AppKit/
NSFont
.h>
63
ATSFontContainerRef fontContainerRefFromNSFont(
NSFont
* srcFont)
86
PassRefPtr<MemoryActivatedFont> loadFontFromBrowserProcess(
NSFont
*
nsFont
)
90
if (!PlatformBridge::loadFont(
nsFont
, &container))
93
ATSFontContainerRef srcFontContainerRef = fontContainerRefFromNSFont(
nsFont
);
167
// Given an
NSFont
, try to load a representation of that font into the cgFont
176
// *
nsFont
- The font we wish to load.
178
// * outNSFont - The font that was actually loaded, may be different from
nsFont
180
// * cgFont - on output this contains the CGFontRef corresponding to the
NSFont
[
all
...]
/external/webkit/Source/WebCore/platform/graphics/
FontPlatformData.h
61
@class
NSFont
;
63
class
NSFont
;
105
inline CTFontRef toCTFontRef(
NSFont
*
nsFont
) { return reinterpret_cast<CTFontRef>(
nsFont
); }
182
FontPlatformData(
NSFont
*, float size, bool syntheticBold = false, bool syntheticOblique = false, FontOrientation = Horizontal,
216
NSFont
* font() const { return m_font; }
217
void setFont(
NSFont
*);
302
// Load various data about the font specified by |
nsFont
| with the size fontSize into the following output paramters:
304
// font as |
nsFont
|. This because the sandbox may block loading of the original font
[
all
...]
SimpleFontData.h
149
NSFont
* getNSFont() const { return m_platformData.font(); }
151
NSFont
* getNSFont() const { return m_platformData.
nsFont
(); }
/external/webkit/Source/WebCore/platform/chromium/
ThemeChromiumMac.mm
676
NSFont
*
nsFont
= [
NSFont
systemFontOfSize:[
NSFont
systemFontSizeForControlSize:controlSizeForFont(font)]];
677
fontDescription.firstFamily().setFamily([
nsFont
familyName]);
678
fontDescription.setComputedSize([
nsFont
pointSize] * zoomFactor);
679
fontDescription.setSpecifiedSize([
nsFont
pointSize] * zoomFactor);
/external/webkit/Source/WebCore/platform/mac/
ThemeMac.mm
585
NSFont
*
nsFont
= [
NSFont
systemFontOfSize:[
NSFont
systemFontSizeForControlSize:controlSizeForFont(font)]];
586
fontDescription.firstFamily().setFamily([
nsFont
familyName]);
587
fontDescription.setComputedSize([
nsFont
pointSize] * zoomFactor);
588
fontDescription.setSpecifiedSize([
nsFont
pointSize] * zoomFactor);
Completed in 642 milliseconds