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

12

/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)) {
43 size_t font_size,
48 original_font == NULL || font_size == 0 ||
54 if (!subsetter.LoadFont(font_index, 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
41 SubsetFont(int font_index, 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,
62 // |font_size| Size of |original_font| in bytes.
69 size_t font_size,
H A Dsubsetter_impl.h59 size_t font_size);
62 size_t font_size);
/external/pdfium/core/fpdfapi/render/
H A Dcpdf_charposlist.h24 FX_FLOAT font_size);
H A Dcpdf_textrenderer.h29 FX_FLOAT font_size,
40 FX_FLOAT font_size,
53 FX_FLOAT font_size,
H A Dcpdf_textrenderer.cpp23 FX_FLOAT font_size,
32 CharPosList.Load(charCodes, charPos, pFont, font_size);
48 font_size, pText2User, pUser2Device, pGraphState,
59 font_size, pText2User, pUser2Device, pGraphState,
71 FX_FLOAT font_size,
94 cur_pos += pFont->GetCharWidthF(codes[i]) * font_size / 1000;
103 DrawNormalText(pDevice, codes, positions, pFont, font_size, &matrix,
112 FX_FLOAT font_size,
117 CharPosList.Load(charCodes, charPos, pFont, font_size);
153 font_size, pText2Devic
19 DrawTextPath(CFX_RenderDevice* pDevice, const std::vector<uint32_t>& charCodes, const std::vector<FX_FLOAT>& charPos, CPDF_Font* pFont, FX_FLOAT font_size, const CFX_Matrix* pText2User, const CFX_Matrix* pUser2Device, const CFX_GraphStateData* pGraphState, FX_ARGB fill_argb, FX_ARGB stroke_argb, CFX_PathData* pClippingPath, int nFlag) argument
67 DrawTextString(CFX_RenderDevice* pDevice, FX_FLOAT origin_x, FX_FLOAT origin_y, CPDF_Font* pFont, FX_FLOAT font_size, const CFX_Matrix* pMatrix, const CFX_ByteString& str, FX_ARGB fill_argb, const CFX_GraphStateData* pGraphState, const CPDF_RenderOptions* pOptions) argument
108 DrawNormalText(CFX_RenderDevice* pDevice, const std::vector<uint32_t>& charCodes, const std::vector<FX_FLOAT>& charPos, CPDF_Font* pFont, FX_FLOAT font_size, const CFX_Matrix* pText2Device, FX_ARGB fill_argb, const CPDF_RenderOptions* pOptions) argument
[all...]
/external/pdfium/core/fxge/apple/
H A Dfx_apple_platform.cpp33 FX_FLOAT font_size,
38 bool bNegSize = font_size < 0;
40 font_size = -font_size;
78 font_size, glyph_indices, glyph_positions,
105 FX_FLOAT font_size,
153 font_size, argb);
28 CGDrawGlyphRun(CGContextRef pContext, int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, const CFX_Matrix* pObject2Device, FX_FLOAT font_size, uint32_t argb) argument
101 DrawDeviceText(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, const CFX_Matrix* pObject2Device, FX_FLOAT font_size, uint32_t argb) argument
/external/pdfium/core/fxge/win32/
H A Ddwrite_int.h49 FX_FLOAT font_size,
H A Dcfx_psrenderer.h73 FX_FLOAT font_size,
H A Dwin32_int.h91 FX_FLOAT font_size,
96 FX_FLOAT font_size,
260 FX_FLOAT font_size,
319 FX_FLOAT font_size,
H A Dfx_win32_print.cpp202 FX_FLOAT font_size,
228 lf.lfHeight = -font_size * kScaleFactor;
486 FX_FLOAT font_size,
489 font_size, color);
198 DrawDeviceText(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, const CFX_Matrix* pObject2Device, FX_FLOAT font_size, uint32_t color) argument
482 DrawDeviceText(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, const CFX_Matrix* pObject2Device, FX_FLOAT font_size, uint32_t color) argument
H A Dfx_win32_dwrite.cpp230 FX_FLOAT font_size,
254 glyphRun.fontEmSize = font_size;
225 DwRendingString(void* renderTarget, CFX_ClipRgn* pClipRgn, FX_RECT& stringRect, CFX_Matrix* 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
/external/pdfium/core/fxge/
H A Dcfx_fontmapper.h65 uint32_t font_size);
70 uint32_t font_size);
H A Difx_renderdevicedriver.cpp71 FX_FLOAT font_size,
67 DrawDeviceText(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, const CFX_Matrix* pObject2Device, FX_FLOAT font_size, uint32_t color) argument
H A Difx_renderdevicedriver.h90 FX_FLOAT font_size,
H A Dcfx_renderdevice.h206 FX_FLOAT font_size,
213 FX_FLOAT font_size,
/external/pdfium/core/fxge/ge/
H A Dcfx_fontmapper.cpp685 uint32_t font_size = m_pFontInfo->GetFontData(hFont, 0, nullptr, 0); local
686 if (font_size == 0 && ttc_size == 0) {
692 face = GetCachedTTCFace(hFont, kTableTTCF, ttc_size, font_size);
694 face = GetCachedFace(hFont, SubstName, weight, bItalic, font_size);
736 uint32_t font_size = m_pFontInfo->GetFontData(hFont, 0, nullptr, 0); local
737 if (font_size == 0 && ttc_size == 0) {
743 face = GetCachedTTCFace(hFont, 0x74746366, ttc_size, font_size);
747 face = GetCachedFace(hFont, SubstName, weight, bItalic, font_size);
773 uint32_t font_size) {
782 face = m_pFontMgr->GetCachedTTCFace(ttc_size, checksum, ttc_size - font_size,
770 GetCachedTTCFace(void* hFont, const uint32_t tableTTCF, uint32_t ttc_size, uint32_t font_size) argument
793 GetCachedFace(void* hFont, CFX_ByteString SubstName, int weight, bool bItalic, uint32_t font_size) argument
[all...]
H A Dcfx_renderdevice.cpp851 FX_FLOAT font_size,
860 font_size, fill_color)) {
869 font_size, fill_color)) {
880 char2device.Scale(font_size, -font_size);
887 return DrawTextPath(nChars, pCharPos, pFont, font_size, pText2Device,
1070 FX_FLOAT font_size,
1086 matrix.Concat(CFX_Matrix(font_size, 0, 0, font_size, charpos.m_Origin.x,
848 DrawNormalText(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, FX_FLOAT font_size, const CFX_Matrix* pText2Device, uint32_t fill_color, uint32_t text_flags) argument
1067 DrawTextPath(int nChars, const FXTEXT_CHARPOS* pCharPos, CFX_Font* pFont, FX_FLOAT font_size, const CFX_Matrix* pText2User, const CFX_Matrix* pUser2Device, const CFX_GraphStateData* pGraphState, uint32_t fill_color, FX_ARGB stroke_color, CFX_PathData* pClippingPath, int nFlag) argument
/external/skia/tools/
H A Dusing_skia_and_harfbuzz.cpp112 DoubleOption font_size = DoubleOption("-z", "Font size", 8.0f); member in struct:Config
122 &keywords, &creator, &font_file, &font_size, &left_margin,
137 glyph_paint.setTextSize(SkDoubleToScalar(config->font_size.value));
150 current_y = config->line_spacing_ratio.value * config->font_size.value;
159 current_y += config->line_spacing_ratio.value * config->font_size.value;
/external/pdfium/fpdfsdk/
H A Dfpdfedittext.cpp25 float font_size) {
36 pTextObj->m_TextState.SetFontSize(font_size);
23 FPDFPageObj_NewTextObj(FPDF_DOCUMENT document, FPDF_BYTESTRING font, float font_size) argument
/external/harfbuzz_ng/src/
H A Dhb-uniscribe.cc495 unsigned int font_size)
498 lf->lfHeight = -font_size;
518 int font_size = font->face->get_upem (); /* Default... */ local
521 font_size = font->y_ppem;
523 if (font_size < 0)
524 font_size = -font_size;
525 data->x_mult = (double) font->x_scale / font_size;
526 data->y_mult = (double) font->y_scale / font_size;
530 if (unlikely (!populate_log_font (&data->log_font, font, font_size))) {
493 populate_log_font(LOGFONTW *lf, hb_font_t *font, unsigned int font_size) argument
[all...]
/external/autotest/client/site_tests/firmware_TouchMTB/
H A Dfirmware_window.py149 font_size = int(float(label_width_in_px) / conf.num_chars_per_row *
151 return font_size
158 font_size = self._calc_result_font_size()
159 self.result.set_markup(markup_str % (color, font_size, mod_text))
/external/pdfium/core/fxge/agg/
H A Dfx_agg_driver.h96 FX_FLOAT font_size,
/external/pdfium/core/fxge/skia/
H A Dfx_skia_device.h137 FX_FLOAT font_size,
/external/pdfium/public/
H A Dfpdf_edit.h393 // font_size - the font size for the new text object.
398 float font_size);

Completed in 707 milliseconds

12