Searched defs:font_size (Results 1 - 25 of 38) sorted by relevance

12

/external/chromium_org/ui/gfx/
H A Dplatform_font_android.cc25 int font_size) {
24 CreateFromNameAndSize(const std::string& font_name, int font_size) argument
H A Dplatform_font_ozone.cc21 int font_size) {
20 CreateFromNameAndSize(const std::string& font_name, int font_size) argument
H A Dfont.cc33 Font::Font(const std::string& font_name, int font_size) argument
35 font_size)) {
H A Dfont_list_unittest.cc49 int font_size = 11; local
50 FontList font_list = FontList(font_names, font_style, font_size);
H A Dfont_list.cc35 int font_size)
36 : impl_(new FontListImpl(font_names, font_style, font_size)) {}
75 for (int font_size = font_list.GetFontSize(); font_size > 1; --font_size) {
33 FontList(const std::vector<std::string>& font_names, int font_style, int font_size) argument
H A Dfont_list_impl.cc17 // Parses font description into |font_names|, |font_style| and |font_size|.
21 int* font_size) {
29 base::StringToInt(styles_size.back(), font_size);
30 DCHECK_GT(*font_size, 0);
50 std::string FontStyleAndSizeToString(int font_style, int font_size) { argument
56 result += base::IntToString(font_size);
61 // Returns font description from |font_names|, |font_style|, and |font_size|.
64 int font_size) {
66 description += "," + FontStyleAndSizeToString(font_style, font_size);
87 int font_size)
18 ParseFontDescriptionString(const std::string& font_description_string, std::vector<std::string>* font_names, int* font_style, int* font_size) argument
62 BuildFontDescription(const std::vector<std::string>& font_names, int font_style, int font_size) argument
85 FontListImpl(const std::vector<std::string>& font_names, int font_style, int font_size) argument
[all...]
H A 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_; } function in class:gfx::PlatformFontWin::HFontRef
137 int font_size);
H A Drender_text_harfbuzz.h65 int font_size; member in struct:gfx::internal::TextRunHarfBuzz
H A Dplatform_font_pango.cc342 int font_size) {
343 return new PlatformFontPango(font_name, font_size);
341 CreateFromNameAndSize(const std::string& font_name, int font_size) argument
H A Dplatform_font_win.cc95 int font_size) {
96 InitWithFontNameAndSize(font_name, font_size);
110 int font_size = font.GetFontSize(); local
111 while (font_height > height && font_size != min_font_size) {
113 if (font_height == font.GetHeight() && font_size == font.GetFontSize())
116 font_size = font.GetFontSize();
193 return font_ref_->font_size();
217 int font_size) {
218 HFONT hf = ::CreateFont(-font_size, 0, 0, 0, FW_DONTCARE, FALSE, FALSE, FALSE,
267 const int font_size local
94 PlatformFontWin(const std::string& font_name, int font_size) argument
216 InitWithFontNameAndSize(const std::string& font_name, int font_size) argument
318 HFontRef(HFONT hfont, int font_size, int height, int baseline, int cap_height, int ave_char_width, int style) argument
381 CreateFromNameAndSize(const std::string& font_name, int font_size) argument
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/sample/chromium/
H A Dfont_subsetter.cc23 size_t font_size,
28 original_font == NULL || font_size == 0 ||
34 if (!subsetter.LoadFont(font_name, original_font, font_size)) {
21 SubsetFont(const char* font_name, const unsigned char* original_font, size_t font_size, const unsigned int* glyph_ids, size_t glyph_count, unsigned char** output_buffer) argument
/external/sfntly/cpp/src/sample/chromium/
H A Dfont_subsetter.cc23 size_t font_size,
28 original_font == NULL || font_size == 0 ||
34 if (!subsetter.LoadFont(font_name, original_font, font_size)) {
21 SubsetFont(const char* font_name, const unsigned char* original_font, size_t font_size, const unsigned int* glyph_ids, size_t glyph_count, unsigned char** output_buffer) argument
/external/chromium_org/chrome/browser/android/accessibility/
H A Dfont_size_prefs_android.cc35 jfloat font_size) {
37 static_cast<double>(font_size));
118 void FontSizePrefsObserverAndroid::OnChangeFontSize(float font_size) { argument
121 env, java_ref_.obj(), font_size);
33 SetFontScaleFactor(JNIEnv* env, jobject obj, jfloat font_size) argument
/external/chromium_org/extensions/browser/
H A Drenderer_startup_helper.cc48 std::string font_family, font_size; local
50 fonts->GetString("fontsize", &font_size);
52 font_family, font_size));
/external/pdfium/core/src/fxge/apple/
H A Dfx_apple_platform.cpp47 FX_FLOAT font_size,
56 FX_BOOL bNegSize = font_size < 0;
58 font_size = -font_size;
95 font_size,
108 FX_FLOAT font_size,
157 FX_BOOL ret = _CGDrawGlyphRun(ctx, nChars, pCharPos, pFont, pCache, pObject2Device, font_size, argb, alpha_flag, pIccTransform);
41 _CGDrawGlyphRun(CGContextRef pContext, int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, CFX_FontCache* pCache, const CFX_AffineMatrix* pObject2Device, FX_FLOAT font_size, FX_DWORD argb, int alpha_flag, void* pIccTransform) argument
103 DrawDeviceText(int nChars, const FXTEXT_CHARPOS * pCharPos, CFX_Font * pFont, CFX_FontCache * pCache, const CFX_AffineMatrix * pObject2Device, FX_FLOAT font_size, FX_DWORD argb, int alpha_flag, void* pIccTransform) argument
/external/chromium_org/ash/sticky_keys/
H A Dsticky_keys_overlay.cc132 int font_size = font.GetFontSize(); local
137 int horizontal_spacing = font_size / 2;
138 int vertical_spacing = font_size / 2 - font_padding;
139 int child_spacing = font_size - 2 * font_padding;
/external/chromium_org/chrome/browser/extensions/
H A Dbookmark_app_helper.cc60 const size_t font_size = output_size_ * 7 / 16; variable
84 gfx::FontList(gfx::Font(font_name, font_size)),
/external/pdfium/core/src/fxge/ge/
H A Dfx_ge_linux.cpp23 FX_FLOAT font_size, FX_DWORD argb)
21 DrawDeviceText(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, CFX_FontCache* pCache, const CFX_AffineMatrix* pObject2Device, FX_FLOAT font_size, FX_DWORD argb) argument
H A Dfx_ge_ps.cpp606 FX_FLOAT font_size, FX_DWORD color,
632 buf << FX_BSTRC("/X") << ps_fontnum << FX_BSTRC(" Ff ") << font_size
604 DrawText(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, CFX_FontCache* pCache, const CFX_AffineMatrix* pObject2Device, FX_FLOAT font_size, FX_DWORD color, int alpha_flag, void* pIccTransform) argument
/external/harfbuzz_ng/util/
H A Dhelper-cairo.cc74 double font_size)
108 font_size, font_size);
73 helper_cairo_create_scaled_font(const font_options_t *font_opts, double font_size) argument
H A Doptions.hh156 font_size = DEFAULT_FONT_SIZE;
170 double font_size; member in struct:view_options_t
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dsvghelper.c175 double font_size; local
187 font_size = 1.0 * (time2pixels(end)-time2pixels(start));
189 if (font_size > 3)
190 font_size = 3;
192 font_size = round_text_size(font_size);
197 if (font_size > MIN_TEXT_SIZE)
199 font_size, text);
/external/chromium_org/pdf/pdfium/
H A Dpdfium_page.cc162 double font_size = FPDFText_GetFontSize(GetTextPage(), char_index); local
169 node->SetDouble(kTextBoxFontSize, font_size);
/external/pdfium/core/src/fxge/agg/agg23/
H A Dfx_agg_driver.cpp225 CFX_FontCache* pCache, const CFX_AffineMatrix* pObject2Device, FX_FLOAT font_size, FX_DWORD color,
224 DrawDeviceText(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, CFX_FontCache* pCache, const CFX_AffineMatrix* pObject2Device, FX_FLOAT font_size, FX_DWORD color, int alpha_flag, void* pIccTransform) argument
/external/pdfium/core/src/fxge/win32/
H A Dfx_win32_dwrite.cpp227 void *font, FX_FLOAT font_size, FX_ARGB text_color,
249 glyphRun.fontEmSize = font_size;
226 DwRendingString(void* renderTarget, CFX_ClipRgn* pClipRgn, FX_RECT& stringRect, CFX_AffineMatrix* pMatrix, void *font, FX_FLOAT font_size, FX_ARGB text_color, int glyph_count, unsigned short* glyph_indices, FX_FLOAT baselineOriginX, FX_FLOAT baselineOriginY, void* glyph_offsets, FX_FLOAT* glyph_advances) argument

Completed in 493 milliseconds

12