Home
last modified time | relevance | path

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

12

/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()
43 size_t font_size, in SubsetFont() argument
48 original_font == NULL || font_size == 0 || in SubsetFont()
54 if (!subsetter.LoadFont(font_index, original_font, font_size)) { in SubsetFont()
Dfont_subsetter.h45 size_t font_size,
69 size_t font_size,
Dsubsetter_impl.h59 size_t font_size);
62 size_t font_size);
/external/pdfium/core/fpdfapi/render/
Dcpdf_textrenderer.cpp33 float font_size, in DrawTextPath() argument
41 const CPDF_CharPosList CharPosList(charCodes, charPos, pFont, font_size); in DrawTextPath()
56 font_size, mtText2User, pUser2Device, in DrawTextPath()
66 font_size, mtText2User, pUser2Device, pGraphState, in DrawTextPath()
78 float font_size, in DrawTextString() argument
100 cur_pos += pFont->GetCharWidthF(codes[i]) * font_size / 1000; in DrawTextString()
105 DrawNormalText(pDevice, codes, positions, pFont, font_size, new_matrix, in DrawTextString()
114 float font_size, in DrawNormalText() argument
118 const CPDF_CharPosList CharPosList(charCodes, charPos, pFont, font_size); in DrawNormalText()
151 font_size, mtText2Device, fill_argb, in DrawNormalText()
[all …]
Dcpdf_charposlist.cpp18 float font_size) { in CPDF_CharPosList() argument
98 (pdfGlyphWidth - ftGlyphWidth) * font_size / 2000.0f; in CPDF_CharPosList()
119 charpos.m_Origin.x -= font_size * vx / 1000; in CPDF_CharPosList()
120 charpos.m_Origin.y -= font_size * vy / 1000; in CPDF_CharPosList()
132 pCIDFont->CIDTransformToFloat(pTransform[4]) * font_size; in CPDF_CharPosList()
134 pCIDFont->CIDTransformToFloat(pTransform[5]) * font_size; in CPDF_CharPosList()
Dcpdf_textrenderer.h29 float font_size,
39 float font_size,
52 float font_size,
Dcpdf_charposlist.h22 float font_size);
Dcpdf_renderstatus.cpp904 float font_size = textobj->m_TextState.GetFontSize(); in ProcessText() local
906 DrawTextPathWithPattern(textobj, mtObj2Device, pFont.Get(), font_size, in ProcessText()
933 pFont.Get(), font_size, text_matrix, pDeviceMatrix, in ProcessText()
940 pFont.Get(), font_size, text_matrix, fill_argb, m_Options); in ProcessText()
958 float font_size = textobj->m_TextState.GetFontSize(); in ProcessType3Text() local
959 char_matrix.Scale(font_size, font_size); in ProcessType3Text()
1120 float font_size, in DrawTextPathWithPattern() argument
1142 textobj->GetCharCodes(), textobj->GetCharPositions(), pFont, font_size); in DrawTextPathWithPattern()
1162 matrix.Concat(CFX_Matrix(font_size, 0, 0, font_size, charpos.m_Origin.x, in DrawTextPathWithPattern()
/external/pdfium/core/fxge/apple/
Dfx_apple_platform.cpp40 float font_size, in CGDrawGlyphRun() argument
45 bool bNegSize = font_size < 0; in CGDrawGlyphRun()
47 font_size = -font_size; in CGDrawGlyphRun()
82 font_size, glyph_indices.data(), in CGDrawGlyphRun()
109 float font_size, in DrawDeviceText() argument
157 font_size, argb); in DrawDeviceText()
/external/skqp/tools/
Dusing_skia_and_harfbuzz.cpp112 DoubleOption font_size = DoubleOption("-z", "Font size", 8.0f); member
122 &keywords, &creator, &font_file, &font_size, &left_margin, in Config()
138 font.setSize(SkDoubleToScalar(config->font_size.value)); in Placement()
149 (current_y > config->line_spacing_ratio.value * config->font_size.value && in WriteLine()
160 current_y = config->line_spacing_ratio.value * config->font_size.value; in WriteLine()
166 current_y += endPoint.y() + config->line_spacing_ratio.value * config->font_size.value; in WriteLine()
/external/skia/tools/
Dusing_skia_and_harfbuzz.cpp112 DoubleOption font_size = DoubleOption("-z", "Font size", 8.0f); member
122 &keywords, &creator, &font_file, &font_size, &left_margin, in Config()
138 font.setSize(SkDoubleToScalar(config->font_size.value)); in Placement()
149 (current_y > config->line_spacing_ratio.value * config->font_size.value && in WriteLine()
160 current_y = config->line_spacing_ratio.value * config->font_size.value; in WriteLine()
166 current_y += endPoint.y() + config->line_spacing_ratio.value * config->font_size.value; in WriteLine()
/external/pdfium/core/fxge/
Dcfx_fontmapper.cpp632 uint32_t font_size = m_pFontInfo->GetFontData(hFont, 0, {}); in FindSubstFont() local
633 if (font_size == 0 && ttc_size == 0) { in FindSubstFont()
639 face = GetCachedTTCFace(hFont, ttc_size, font_size); in FindSubstFont()
641 face = GetCachedFace(hFont, SubstName, weight, bItalic, font_size); in FindSubstFont()
708 uint32_t font_size) { in GetCachedTTCFace() argument
719 ASSERT(ttc_size >= font_size); in GetCachedTTCFace()
720 uint32_t font_offset = ttc_size - font_size; in GetCachedTTCFace()
740 uint32_t font_size) { in GetCachedFace() argument
745 FX_Alloc(uint8_t, font_size)); in GetCachedFace()
746 m_pFontInfo->GetFontData(hFont, 0, {pFontData.get(), font_size}); in GetCachedFace()
[all …]
Dcfx_fontmapper.h92 uint32_t font_size);
97 uint32_t font_size);
Dcfx_renderdevice.cpp855 float font_size, in DrawNormalText() argument
864 nChars, pCharPos, pFont, mtText2Device, font_size, fill_color)) { in DrawNormalText()
873 font_size, fill_color)) { in DrawNormalText()
879 char2device.Scale(font_size, -font_size); in DrawNormalText()
886 return DrawTextPath(nChars, pCharPos, pFont, font_size, mtText2Device, in DrawNormalText()
1046 float font_size, in DrawTextPath() argument
1062 matrix.Concat(CFX_Matrix(font_size, 0, 0, font_size, charpos.m_Origin.x, in DrawTextPath()
Drenderdevicedriver_iface.cpp66 float font_size, in DrawDeviceText() argument
Dcfx_renderdevice.h161 float font_size,
168 float font_size,
/external/angle/src/libANGLE/
Dgen_overlay_widgets.py243 font_size = '0'
252 font_size = widget.font
289 font_size=font_size,
Dgen_overlay_fonts.py172 for font_name, font_size in font_defs:
175 face.set_char_size(font_size << 6)
/external/rust/crates/codespan-reporting/examples/
Dreadme_preview.rs96 let font_size = 12; in main() localVariable
99 let height = padding + num_lines * (font_size + line_spacing) + padding; in main()
161 font_size = font_size, in main()
/external/harfbuzz_ng/src/
Dhb-uniscribe.cc522 unsigned int font_size) in populate_log_font() argument
525 lf->lfHeight = - (int) font_size; in populate_log_font()
540 int font_size = font->face->get_upem (); /* Default... */ in _hb_uniscribe_shaper_font_data_create() local
543 font_size = font->y_ppem; in _hb_uniscribe_shaper_font_data_create()
545 if (font_size < 0) in _hb_uniscribe_shaper_font_data_create()
546 font_size = -font_size; in _hb_uniscribe_shaper_font_data_create()
547 data->x_mult = (double) font->x_scale / font_size; in _hb_uniscribe_shaper_font_data_create()
548 data->y_mult = (double) font->y_scale / font_size; in _hb_uniscribe_shaper_font_data_create()
552 if (unlikely (!populate_log_font (&data->log_font, font, font_size))) { in _hb_uniscribe_shaper_font_data_create()
/external/pdfium/fpdfsdk/
Dfpdf_text.cpp244 float font_size = textpage->GetCharFontSize(index); in FPDFText_GetLooseCharBox() local
246 if (charinfo.m_pTextObj && !IsFloatZero(font_size)) { in FPDFText_GetLooseCharBox()
255 double offsetx = (vx - 500) * font_size / 1000.0; in FPDFText_GetLooseCharBox()
256 double offsety = vy * font_size / 1000.0; in FPDFText_GetLooseCharBox()
258 double height = vert_width * font_size / 1000.0; in FPDFText_GetLooseCharBox()
261 rect->right = rect->left + font_size; in FPDFText_GetLooseCharBox()
271 float font_scale = font_size / (ascent - descent); in FPDFText_GetLooseCharBox()
/external/freetype/src/tools/ftrandom/
Dftrandom.c89 static FT_F26Dot6 font_size = 12 * 64; variable
178 FT_Set_Char_Size( face, 0, font_size, 72, 72 ); in TestFace()
671 font_size = (FT_F26Dot6)( strtod( argv[++i], &end ) * 64 ); in main()
672 if ( *end != '\0' || font_size < 64 ) in main()
/external/pdfium/core/fxge/win32/
Dwin32_int.h214 float font_size,
277 float font_size,
341 float font_size,
Dfx_win32_print.cpp206 float font_size, in DrawDeviceText() argument
232 lf.lfHeight = -font_size * kScaleFactor; in DrawDeviceText()
510 float font_size, in DrawDeviceText() argument
513 font_size, color); in DrawDeviceText()
623 float font_size, in DrawDeviceText() argument
/external/rust/crates/criterion-plot/src/
Dlib.rs412 font_size: Option<f64>, field
430 font_size: None, in new()
480 if let Some(size) = self.font_size { in script()
645 self.font_size = Some(size); in set()

12