Searched refs:font_size (Results 1 - 25 of 64) sorted by relevance

123

/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
H A Dfont_subsetter.h38 // |font_size| Size of |original_font| in bytes.
45 size_t font_size,
H A Dsubsetter_impl.h59 size_t font_size);
/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
H A Dfont_subsetter.h38 // |font_size| Size of |original_font| in bytes.
45 size_t font_size,
H A Dsubsetter_impl.h59 size_t font_size);
/external/chromium_org/ui/gfx/
H A Dplatform_font_ozone.cc21 int font_size) {
20 CreateFromNameAndSize(const std::string& font_name, int font_size) argument
H A Dplatform_font_android.cc25 int font_size) {
24 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...]
H A Dplatform_font_ios.h17 int font_size);
33 PlatformFontIOS(const std::string& font_name, int font_size, int style);
38 int 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 Dfont.cc33 Font::Font(const std::string& font_name, int font_size) argument
35 font_size)) {
H A Dplatform_font_mac.h19 int font_size);
35 PlatformFontMac(const std::string& font_name, int font_size, int font_style);
H A Dfont.h56 Font(const std::string& font_name, int font_size);
H A Dplatform_font.h26 // (encoded in UTF-8) and |font_size| in pixels.
28 int font_size);
H A Dfont_list.h47 int font_size);
/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/pdfium/core/src/fpdfapi/fpdf_render/
H A Dfpdf_render_text.cpp254 FX_FLOAT font_size = textobj->m_TextState.GetFontSize(); local
256 DrawTextPathWithPattern(textobj, pObj2Device, pFont, font_size, &text_matrix, bFill, bStroke);
264 if (font_size * text_matrix.GetXUnit() * pObj2Device->GetXUnit() < 6) {
296 return CPDF_TextRenderer::DrawTextPath(m_pDevice, textobj->m_nChars, textobj->m_pCharCodes, textobj->m_pCharPos, pFont, font_size,
300 return CPDF_TextRenderer::DrawNormalText(m_pDevice, textobj->m_nChars, textobj->m_pCharCodes, textobj->m_pCharPos, pFont, font_size,
385 FX_FLOAT font_size = textobj->m_TextState.GetFontSize(); local
386 char_matrix.Scale(font_size, font_size);
524 void Load(int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pCharPos, CPDF_Font* pFont, FX_FLOAT font_size);
594 CPDF_Font* pFont, FX_FLOAT font_size,
593 DrawTextPath(CFX_RenderDevice* pDevice, int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pCharPos, CPDF_Font* pFont, FX_FLOAT font_size, const CFX_AffineMatrix* pText2User, const CFX_AffineMatrix* pUser2Device, const CFX_GraphStateData* pGraphState, FX_ARGB fill_argb, FX_ARGB stroke_argb, CFX_PathData* pClippingPath, int nFlag) argument
611 FX_FLOAT font_size = (FX_FLOAT)height * 1000.0f / (FX_FLOAT)(font_bbox.top - font_bbox.bottom); local
617 DrawTextString(CFX_RenderDevice* pDevice, FX_FLOAT origin_x, FX_FLOAT origin_y, CPDF_Font* pFont, FX_FLOAT font_size, const CFX_AffineMatrix* pMatrix, const CFX_ByteString& str, FX_ARGB fill_argb, FX_ARGB stroke_argb, const CFX_GraphStateData* pGraphState, const CPDF_RenderOptions* pOptions) argument
663 DrawNormalText(CFX_RenderDevice* pDevice, int nChars, FX_DWORD* pCharCodes, FX_FLOAT* pCharPos, CPDF_Font* pFont, FX_FLOAT font_size, const CFX_AffineMatrix* pText2Device, FX_ARGB fill_argb, const CPDF_RenderOptions* pOptions) argument
700 DrawTextPathWithPattern(const CPDF_TextObject* textobj, const CFX_AffineMatrix* pObj2Device, CPDF_Font* pFont, FX_FLOAT font_size, const CFX_AffineMatrix* pTextMatrix, FX_BOOL bFill, FX_BOOL bStroke) argument
[all...]
/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/harfbuzz_ng/util/
H A Dhelper-cairo.hh37 double font_size);
/external/pdfium/core/src/fxge/win32/
H A Ddwrite_int.h46 void *font, FX_FLOAT font_size, FX_ARGB text_color,
/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);

Completed in 469 milliseconds

123