Searched defs:font (Results 101 - 125 of 209) sorted by relevance

123456789

/external/harfbuzz_ng/src/
H A Dhb-ot-shape-complex-sea.cc69 hb_font_t *font,
73 hb_font_t *font,
77 hb_font_t *font,
168 hb_font_t *font HB_UNUSED)
184 hb_font_t *font HB_UNUSED,
276 hb_font_t *font,
294 if (!font->get_glyph (0x25CCu, 0, &dottedcircle_glyph))
330 hb_font_t *font,
333 insert_dotted_circles (plan, font, buffer);
342 initial_reordering_syllable (plan, font
275 insert_dotted_circles(const hb_ot_shape_plan_t *plan HB_UNUSED, hb_font_t *font, hb_buffer_t *buffer) argument
329 initial_reordering(const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) argument
[all...]
H A Dhb-ot-shape-fallback.cc166 hb_font_t *font HB_UNUSED,
196 hb_font_t *font,
203 if (!font->get_glyph_extents (buffer->info[i].codepoint,
207 hb_position_t y_gap = font->y_scale / 16;
302 hb_font_t *font,
309 if (!font->get_glyph_extents (buffer->info[base].codepoint,
368 position_mark (plan, font, buffer, cluster_extents, i, this_combining_class);
388 hb_font_t *font,
407 position_around_base (plan, font, buffer, i, j);
415 hb_font_t *font,
195 position_mark(const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer, hb_glyph_extents_t &base_extents, unsigned int i, unsigned int combining_class) argument
301 position_around_base(const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer, unsigned int base, unsigned int end) argument
387 position_cluster(const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer, unsigned int start, unsigned int end) argument
414 _hb_ot_shape_fallback_position(const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) argument
435 _hb_ot_shape_fallback_kern(const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) argument
[all...]
H A Dhb-ot-shape-normalize.cc41 * The logic however tries to use whatever the font can support.
46 * recomposition only happens if the font supports the resulting characters.
54 * don't touch 1-character clusters that are supported by the font, even
57 * - When a font has a precomposed character for a sequence but the 'ccmp'
58 * feature in the font is not adequate, use the precomposed character
61 * - When a font does not support a combining mark, but supports it precomposed
65 * - When a font does not support a character but supports its decomposition,
76 * decomposition alone failed to find a sequence that the font supports.
104 set_glyph (hb_glyph_info_t &info, hb_font_t *font) argument
106 font
136 hb_font_t * const font = c->font; local
220 hb_font_t * const font = c->font; local
288 _hb_ot_shape_normalize(const hb_ot_shape_plan_t *plan, hb_buffer_t *buffer, hb_font_t *font) argument
[all...]
/external/harfbuzz_ng/test/api/
H A Dtest-font.c29 /* Unit tests for hb-font.h */
113 _test_font_nil_funcs (hb_font_t *font) argument
120 g_assert (!hb_font_get_glyph_contour_point (font, 17, 2, &x, &y));
124 x = hb_font_get_glyph_h_advance (font, 17);
129 hb_font_get_glyph_extents (font, 17, &extents);
136 g_assert (!hb_font_get_glyph (font, 17, 2, &glyph));
139 x = hb_font_get_glyph_h_kerning (font, 17, 19);
148 hb_font_t *font; local
156 font = hb_font_create (face);
157 g_assert (font);
202 contour_point_func1(hb_font_t *font, void *font_data, hb_codepoint_t glyph, unsigned int point_index, hb_position_t *x, hb_position_t *y, void *user_data) argument
222 contour_point_func2(hb_font_t *font, void *font_data, hb_codepoint_t glyph, unsigned int point_index, hb_position_t *x, hb_position_t *y, void *user_data) argument
238 glyph_h_advance_func1(hb_font_t *font, void *font_data, hb_codepoint_t glyph, void *user_data) argument
365 hb_font_t *font; local
[all...]
/external/icu/icu4c/source/layoutex/
H A Dplruns.cpp102 const le_font *font,
111 return fr->add((const LEFontInstance *) font, limit);
256 * @param run is the index into the font and limit indices arrays.
276 * The new <code>add</code> method should first call this method to grow the font and limit indices
101 pl_addFontRun(pl_fontRuns *fontRuns, const le_font *font, le_int32 limit) argument
/external/icu/icu4c/source/samples/layout/
H A DGDIFontInstance.cpp41 void GDISurface::setFont(const GDIFontInstance *font) argument
44 if (fCurrentFont != font) {
45 fCurrentFont = font;
46 SelectObject(fHdc, font->getFont());
49 SelectObject(fHdc, font->getFont());
53 void GDISurface::drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const float *positions, argument
81 setFont((GDIFontInstance *) font);
93 ExtTextOut(fHdc, x + (le_int32) xOffset, y + (le_int32) yOffset - font->getAscent(), ETO_CLIPPED | ETO_GLYPH_INDEX, &clip,
H A Dcgnomelayout.c33 static le_font *font; variable
86 newPara = pf_factory(fileName, font, guiSupport);
235 context->paragraph = pf_factory(fileName, font, guiSupport);
313 font = le_scriptCompositeFontOpen(fontMap);
336 le_fontClose(font);
H A Dclayout.c126 static le_font *font = NULL; local
138 font = le_scriptCompositeFontOpen(fontMap);
150 context->paragraph = pf_factory("Sample.txt", font, guiSupport);
299 newParagraph = pf_factory(szFileName, font, guiSupport);
348 le_fontClose(font);
H A Dgnomelayout.cpp43 static ScriptCompositeFontInstance *font; variable
94 newPara = Paragraph::paragraphFactory(fileName, font, guiSupport);
236 context->paragraph = Paragraph::paragraphFactory(fileName, font, guiSupport);
311 font = new ScriptCompositeFontInstance(fontMap);
335 delete font;
H A Dlayout.cpp125 static ScriptCompositeFontInstance *font = NULL; local
136 font = new ScriptCompositeFontInstance(fontMap);
148 context->paragraph = Paragraph::paragraphFactory("Sample.txt", font, guiSupport);
295 Paragraph *newParagraph = Paragraph::paragraphFactory(szFileName, font, guiSupport);
344 delete font;
H A Dparagraph.cpp240 const LEFontInstance *font = visualRun->getFont(); local
244 surface->drawGlyphs(font, glyphs, glyphCount, positions, x, y, fWidth, fHeight);
252 Paragraph *Paragraph::paragraphFactory(const char *fileName, const LEFontInstance *font, GUISupport *guiSupport) argument
265 fontRuns.add(font, charCount);
/external/jmonkeyengine/engine/src/core/com/jme3/font/
H A DBitmapCharacter.java33 package com.jme3.font;
H A DStringBlock.java33 package com.jme3.font;
35 import com.jme3.font.BitmapFont.Align;
36 import com.jme3.font.BitmapFont.VAlign;
/external/jmonkeyengine/engine/src/test/jme3test/games/
H A DCubeField.java37 import com.jme3.font.BitmapFont;
38 import com.jme3.font.BitmapText;
402 * @param font the font of the text
407 private void loadText(BitmapText txt, String text, BitmapFont font, float x, float y, float z) { argument
408 txt.setSize(font.getCharSet().getRenderedSize());
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
H A Dglx_usefont.c54 dump_font_struct(XFontStruct * font) argument
56 printf("ascent = %d, descent = %d\n", font->ascent, font->descent);
58 font->min_char_or_byte2, font->max_char_or_byte2);
59 printf("byte1 = (%u,%u)\n", font->min_byte1, font->max_byte1);
60 printf("all_chars_exist = %s\n", font->all_chars_exist ? "True" : "False");
62 (char) (isprint(font->default_char) ? font
210 glXUseXFont(Font font, int first, int count, int listbase) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dtext.c48 static VGboolean del_glyph(struct vg_font *font, argument
54 cso_hash_take(font->glyphs, (unsigned) glyphIndex);
61 static void add_glyph(struct vg_font *font, argument
71 del_glyph(font, glyphIndex);
79 cso_hash_insert(font->glyphs, (unsigned) glyphIndex, glyph);
82 static struct vg_glyph *get_glyph(struct vg_font *font, argument
87 iter = cso_hash_find(font->glyphs, (unsigned) glyphIndex);
135 struct vg_font *font; local
137 font = CALLOC_STRUCT(vg_font);
138 vg_init_object(&font
146 font_destroy(struct vg_font *font) argument
164 font_set_glyph_to_path(struct vg_font *font, VGuint glyphIndex, struct path *path, VGboolean isHinted, const VGfloat glyphOrigin[2], const VGfloat escapement[2]) argument
175 font_set_glyph_to_image(struct vg_font *font, VGuint glyphIndex, struct vg_image *image, const VGfloat glyphOrigin[2], const VGfloat escapement[2]) argument
185 font_clear_glyph(struct vg_font *font, VGuint glyphIndex) argument
194 font_draw_glyph(struct vg_font *font, VGuint glyphIndex, VGbitfield paintModes, VGboolean allowAutoHinting) argument
212 font_draw_glyphs(struct vg_font *font, VGint glyphCount, const VGuint *glyphIndices, const VGfloat *adjustments_x, const VGfloat *adjustments_y, VGbitfield paintModes, VGboolean allowAutoHinting) argument
244 font_num_glyphs(struct vg_font *font) argument
[all...]
/external/mesa3d/src/glx/
H A Dindirect_glx.c221 Font font, int first, int count, int listBase)
235 req->font = font;
220 indirect_use_x_font(struct glx_context *gc, Font font, int first, int count, int listBase) argument
H A Dxfont.c60 dump_font_struct(XFontStruct * font) argument
62 printf("ascent = %d, descent = %d\n", font->ascent, font->descent);
64 font->min_char_or_byte2, font->max_char_or_byte2);
65 printf("byte1 = (%u,%u)\n", font->min_byte1, font->max_byte1);
66 printf("all_chars_exist = %s\n", font->all_chars_exist ? "True" : "False");
68 (char) (isprint(font->default_char) ? font
215 DRI_glXUseXFont(struct glx_context *CC, Font font, int first, int count, int listbase) argument
[all...]
/external/mesa3d/src/mesa/drivers/x11/
H A Dxfonts.c61 dump_font_struct(XFontStruct * font) argument
63 printf("ascent = %d, descent = %d\n", font->ascent, font->descent);
65 font->min_char_or_byte2, font->max_char_or_byte2);
66 printf("byte1 = (%u,%u)\n", font->min_byte1, font->max_byte1);
67 printf("all_chars_exist = %s\n", font->all_chars_exist ? "True" : "False");
69 (char) (isprint(font->default_char) ? font
217 Fake_glXUseXFont(Font font, int first, int count, int listbase) argument
[all...]
/external/pdfium/third_party/freetype/src/cff/
H A Dcf2ft.c95 /* Clean up font instance. */
99 CF2_Font font = (CF2_Font)ptr; local
102 if ( font )
104 FT_Memory memory = font->memory;
284 /* TODO: should handle font matrix concatenation? */
303 CF2_Font font; local
311 font = (CF2_Font)decoder->cff->cf2_instance.data;
323 font = (CF2_Font)decoder->cff->cf2_instance.data;
325 font->memory = memory;
328 cf2_outline_init( &font
[all...]
H A Dcffdrivr.c5 /* OpenType font driver implementation (body). */
89 /* kerning :: The kerning vector. This is in font units for */
142 /* glyph_index :: The index of the glyph in the font file. */
234 CFF_Font font = (CFF_Font)face->extra.data; local
240 if ( !font->psnames )
251 sid = font->charset.sids[glyph_index];
254 gname = cff_index_get_sid_string( font, sid );
/external/sfntly/cpp/src/test/
H A Dbitmap_table_test.cc18 #include "sfntly/font.h"
53 FontPtr font = raw_font; local
55 EblcTablePtr bitmap_loca = down_cast<EblcTable*>(font->GetTable(Tag::EBLC));
56 EbdtTablePtr bitmap_table = down_cast<EbdtTable*>(font->GetTable(Tag::EBDT));
77 // In this test font, all strikes and all subtables have same glyphs.
100 FontPtr font = font_array[0]; local
101 EXPECT_TRUE(CommonReadingTest(font));
103 EblcTablePtr bitmap_loca = down_cast<EblcTable*>(font->GetTable(Tag::EBLC));
148 // Serialize and reload the serialized font.
176 FontPtr font local
[all...]
H A Dcmap_test.cc25 #include "sfntly/font.h"
120 Ptr<Font> font; local
121 font = font_array->at(0);
122 ASSERT_NE(font, reinterpret_cast<Font*>(NULL));
124 down_cast<CMapTable*>(font->GetTable(Tag::cmap));
/external/skia/experimental/PdfViewer/
H A DSkPdfFont.cpp80 // TODO(edisonn): these are hacks. Load Post Script font name.
103 TrueType font itself.
105 from the name by which the font is known in the host operating system: on a
109 If the font in a source document uses a bold or italic style, but there is no font
112 font name. For example, for a TrueType font that is a bold variant of the New
135 // the one in /font key? use OR for now.
216 SkPdfFont* font = SkPdfFont::fontFromFontDescriptor(doc, fd, false); local
217 if (font) {
[all...]
/external/freetype/src/cff/
H A Dcf2hints.h129 CF2_Font font; member in struct:CF2_HintMapRec_
163 CF2_Font font,
186 CF2_Font font; /* font instance */ member in struct:CF2_GlyphPathRec_
250 CF2_Font font,

Completed in 591 milliseconds

123456789