Home
last modified time | relevance | path

Searched refs:font_size (Results 1 – 25 of 69) sorted by relevance

123

/external/chromium_org/ui/gfx/
Dplatform_font_win.cc95 int font_size) { in PlatformFontWin() argument
96 InitWithFontNameAndSize(font_name, font_size); in PlatformFontWin()
110 int font_size = font.GetFontSize(); in DeriveFontWithHeight() local
111 while (font_height > height && font_size != min_font_size) { in DeriveFontWithHeight()
113 if (font_height == font.GetHeight() && font_size == font.GetFontSize()) in DeriveFontWithHeight()
116 font_size = font.GetFontSize(); in DeriveFontWithHeight()
193 return font_ref_->font_size(); in GetFontSize()
217 int font_size) { in InitWithFontNameAndSize() argument
218 HFONT hf = ::CreateFont(-font_size, 0, 0, 0, FW_DONTCARE, FALSE, FALSE, FALSE, in InitWithFontNameAndSize()
267 const int font_size = in CreateHFontRef() local
[all …]
Dfont_list_impl.cc21 int* font_size) { in ParseFontDescriptionString() argument
29 base::StringToInt(styles_size.back(), font_size); in ParseFontDescriptionString()
30 DCHECK_GT(*font_size, 0); in ParseFontDescriptionString()
50 std::string FontStyleAndSizeToString(int font_style, int font_size) { in FontStyleAndSizeToString() argument
56 result += base::IntToString(font_size); in FontStyleAndSizeToString()
64 int font_size) { in BuildFontDescription() argument
66 description += "," + FontStyleAndSizeToString(font_style, font_size); in BuildFontDescription()
87 int font_size) in FontListImpl() argument
89 font_size)), in FontListImpl()
93 font_size_(font_size) { in FontListImpl()
Dplatform_font_mac.mm23 int font_size,
40 NSFont* font = [NSFont fontWithDescriptor:descriptor size:font_size];
51 return [NSFont fontWithDescriptor:descriptor size:font_size];
82 int font_size)
83 : native_font_([NSFontWithSpec(font_name, font_size, Font::NORMAL) retain]),
85 font_size_(font_size),
143 int font_size,
145 : native_font_([NSFontWithSpec(font_name, font_size, font_style) retain]),
147 font_size_(font_size),
191 int font_size) {
[all …]
Dplatform_font_ios.mm39 int font_size) {
40 InitWithNameSizeAndStyle(font_name, font_size, gfx::Font::NORMAL);
97 int font_size,
99 InitWithNameSizeAndStyle(font_name, font_size, style);
103 int font_size,
106 font_size_ = font_size;
134 int font_size) {
135 return new PlatformFontIOS(font_name, font_size);
Dfont_list.cc35 int font_size) in FontList() argument
36 : impl_(new FontListImpl(font_names, font_style, font_size)) {} in FontList()
75 for (int font_size = font_list.GetFontSize(); font_size > 1; --font_size) { in DeriveWithHeightUpperBound() local
Dplatform_font_win.h21 PlatformFontWin(const std::string& font_name, int font_size);
85 int font_size,
100 int font_size() const { return font_size_; } in font_size() function
137 int font_size);
Dplatform_font_ios.h17 int font_size);
33 PlatformFontIOS(const std::string& font_name, int font_size, int style);
38 int font_size,
Dplatform_font_mac.h19 int font_size);
35 PlatformFontMac(const std::string& font_name, int font_size, int font_style);
Dfont.cc33 Font::Font(const std::string& font_name, int font_size) in Font() argument
35 font_size)) { in Font()
Dplatform_font_ozone.cc21 int font_size) { in CreateFromNameAndSize() argument
Dplatform_font_android.cc25 int font_size) { in CreateFromNameAndSize() argument
/external/pdfium/core/src/fxge/apple/
Dfx_apple_platform.cpp47 FX_FLOAT font_size, in _CGDrawGlyphRun() argument
56 FX_BOOL bNegSize = font_size < 0; in _CGDrawGlyphRun()
58 font_size = -font_size; in _CGDrawGlyphRun()
95 font_size, in _CGDrawGlyphRun()
108 FX_FLOAT font_size, in DrawDeviceText() argument
157 …FX_BOOL ret = _CGDrawGlyphRun(ctx, nChars, pCharPos, pFont, pCache, pObject2Device, font_size, arg… in DrawDeviceText()
/external/chromium_org/third_party/sfntly/cpp/src/sample/chromium/
Dfont_subsetter.cc23 size_t font_size, in SubsetFont() argument
28 original_font == NULL || font_size == 0 || in SubsetFont()
34 if (!subsetter.LoadFont(font_name, original_font, font_size)) { in SubsetFont()
Dfont_subsetter.h45 size_t font_size,
Dsubsetter_impl.h59 size_t font_size);
/external/sfntly/cpp/src/sample/chromium/
Dfont_subsetter.cc23 size_t font_size, in SubsetFont() argument
28 original_font == NULL || font_size == 0 || in SubsetFont()
34 if (!subsetter.LoadFont(font_name, original_font, font_size)) { in SubsetFont()
Dfont_subsetter.h45 size_t font_size,
Dsubsetter_impl.h59 size_t font_size);
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp254 FX_FLOAT font_size = textobj->m_TextState.GetFontSize(); in ProcessText() local
256 … DrawTextPathWithPattern(textobj, pObj2Device, pFont, font_size, &text_matrix, bFill, bStroke); in ProcessText()
264 if (font_size * text_matrix.GetXUnit() * pObj2Device->GetXUnit() < 6) { in ProcessText()
296 …extPath(m_pDevice, textobj->m_nChars, textobj->m_pCharCodes, textobj->m_pCharPos, pFont, font_size, in ProcessText()
300 …malText(m_pDevice, textobj->m_nChars, textobj->m_pCharCodes, textobj->m_pCharPos, pFont, font_size, in ProcessText()
385 FX_FLOAT font_size = textobj->m_TextState.GetFontSize(); in ProcessType3Text() local
386 char_matrix.Scale(font_size, font_size); in ProcessType3Text()
524 … Load(int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pCharPos, CPDF_Font* pFont, FX_FLOAT font_size);
594 CPDF_Font* pFont, FX_FLOAT font_size, in DrawTextPath() argument
601 CharPosList.Load(nChars, pCharCodes, pCharPos, pFont, font_size); in DrawTextPath()
[all …]
/external/chromium_org/chrome/browser/android/accessibility/
Dfont_size_prefs_android.cc35 jfloat font_size) { in SetFontScaleFactor() argument
37 static_cast<double>(font_size)); in SetFontScaleFactor()
118 void FontSizePrefsObserverAndroid::OnChangeFontSize(float font_size) { in OnChangeFontSize() argument
121 env, java_ref_.obj(), font_size); in OnChangeFontSize()
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dsvghelper.c175 double font_size; in svg_waiting() local
187 font_size = 1.0 * (time2pixels(end)-time2pixels(start)); in svg_waiting()
189 if (font_size > 3) in svg_waiting()
190 font_size = 3; in svg_waiting()
192 font_size = round_text_size(font_size); in svg_waiting()
197 if (font_size > MIN_TEXT_SIZE) in svg_waiting()
199 font_size, text); in svg_waiting()
/external/chromium_org/extensions/browser/
Drenderer_startup_helper.cc48 std::string font_family, font_size; in Observe() local
50 fonts->GetString("fontsize", &font_size); in Observe()
52 font_family, font_size)); in Observe()
/external/pdfium/core/include/fpdfapi/
Dfpdf_render.h216 FX_FLOAT font_size,
226 CPDF_Font* pFont, FX_FLOAT font_size,
232 … CPDF_Font* pFont, FX_FLOAT font_size, const CFX_AffineMatrix* pText2Device,
236 … CPDF_Font* pFont, FX_FLOAT font_size, const CFX_AffineMatrix* pText2Device,
/external/chromium_org/ash/sticky_keys/
Dsticky_keys_overlay.cc132 int font_size = font.GetFontSize(); in StickyKeysOverlayView() local
137 int horizontal_spacing = font_size / 2; in StickyKeysOverlayView()
138 int vertical_spacing = font_size / 2 - font_padding; in StickyKeysOverlayView()
139 int child_spacing = font_size - 2 * font_padding; in StickyKeysOverlayView()
/external/harfbuzz_ng/util/
Dhelper-cairo.hh37 double font_size);

123