Home
last modified time | relevance | path

Searched defs:font (Results 1 – 25 of 675) sorted by relevance

12345678910>>...27

/external/fonttools/Lib/fontTools/ttLib/tables/
DotConverters.py167 def readArray(self, reader, font, tableDict, count): argument
194 def read(self, reader, font, tableDict): argument
198 def writeArray(self, writer, font, tableDict, values): argument
206 def write(self, writer, font, tableDict, value, repeatIndex=None): argument
210 def xmlRead(self, attrs, content, font): argument
214 def xmlWrite(self, xmlWriter, font, value, name, attrs): argument
235 def xmlWrite(self, xmlWriter, font, value, name, attrs): argument
238 def xmlRead(self, attrs, content, font): argument
243 def xmlWrite(self, xmlWriter, font, value, name, attrs): argument
248 def xmlRead(self, attrs, content, font): argument
[all …]
DotTables.py42 def compileActions(font, states): argument
93 def compile(self, writer, font, actionIndex): argument
103 def decompile(self, reader, font, actionReader): argument
113 def toXML(self, xmlWriter, font, attrs, name): argument
127 def fromXML(self, name, attrs, content, font): argument
154 def compile(self, writer, font, actionIndex): argument
164 def decompile(self, reader, font, actionReader): argument
174 def toXML(self, xmlWriter, font, attrs, name): argument
188 def fromXML(self, name, attrs, content, font): argument
236 def compile(self, writer, font, actionIndex): argument
[all …]
/external/fonttools/Tests/ttLib/tables/
DC_O_L_R_test.py66 def font(): function
73 def test_decompile_and_compile(self, font): argument
78 def test_decompile_and_dump_xml(self, font): argument
85 def test_load_from_xml_and_compile(self, font): argument
92 def test_round_trip_xml(self, font): argument
586 def test_decompile_and_compile(self, font): argument
591 def test_decompile_and_dump_xml(self, font): argument
598 def test_load_from_xml_and_compile(self, font): argument
604 def test_round_trip_xml(self, font): argument
616 def test_round_trip_xml(self, font): argument
D_k_e_r_n_test.py140 def font(): function
159 def test_decompile_single_format_0(self, data, font, version): argument
188 def test_compile_single_format_0(self, font, version, expected): argument
212 def test_fromXML_single_format_0(self, xml, font, version): argument
240 def test_toXML_single_format_0(self, font, version, expected): argument
265 self, data, font, version, header_length, st_length): argument
321 def test_fromXML_format_unknown(self, xml, font, version, st_length): argument
339 def test_toXML_format_unknown(self, font, version): argument
375 def test_decompileBadGlyphId(self, font): argument
DS_V_G__test.py107 def font(): function
113 def test_decompile_and_compile(font): argument
119 def test_decompile_and_dump_ttx(font): argument
127 def test_load_from_ttx_and_compile(font): argument
134 def test_round_trip_ttx(font): argument
/external/harfbuzz_ng/src/
Dhb-font.cc79 hb_font_get_font_h_extents_default (hb_font_t *font, in hb_font_get_font_h_extents_default()
104 hb_font_get_font_v_extents_default (hb_font_t *font, in hb_font_get_font_v_extents_default()
130 hb_font_get_nominal_glyph_default (hb_font_t *font, in hb_font_get_nominal_glyph_default()
146 hb_font_get_nominal_glyphs_default (hb_font_t *font, in hb_font_get_nominal_glyphs_default()
186 hb_font_get_variation_glyph_default (hb_font_t *font, in hb_font_get_variation_glyph_default()
198 hb_font_get_glyph_h_advance_nil (hb_font_t *font, in hb_font_get_glyph_h_advance_nil()
207 hb_font_get_glyph_h_advance_default (hb_font_t *font, in hb_font_get_glyph_h_advance_default()
222 hb_font_get_glyph_v_advance_nil (hb_font_t *font, in hb_font_get_glyph_v_advance_nil()
232 hb_font_get_glyph_v_advance_default (hb_font_t *font, in hb_font_get_glyph_v_advance_default()
249 hb_font_get_glyph_h_advances_default (hb_font_t* font, in hb_font_get_glyph_h_advances_default()
[all …]
Dhb-ot-math.cc87 hb_ot_math_get_constant (hb_font_t *font, in hb_ot_math_get_constant()
106 hb_ot_math_get_glyph_italics_correction (hb_font_t *font, in hb_ot_math_get_glyph_italics_correction()
132 hb_ot_math_get_glyph_top_accent_attachment (hb_font_t *font, in hb_ot_math_get_glyph_top_accent_attachment()
176 hb_ot_math_get_glyph_kerning (hb_font_t *font, in hb_ot_math_get_glyph_kerning()
217 hb_ot_math_get_glyph_kernings (hb_font_t *font, in hb_ot_math_get_glyph_kernings()
256 hb_ot_math_get_glyph_variants (hb_font_t *font, in hb_ot_math_get_glyph_variants()
288 hb_ot_math_get_min_connector_overlap (hb_font_t *font, in hb_ot_math_get_min_connector_overlap()
320 hb_ot_math_get_glyph_assembly (hb_font_t *font, in hb_ot_math_get_glyph_assembly()
Dhb-ot-metrics.cc60 _hb_ot_metrics_get_position_common (hb_font_t *font, in _hb_ot_metrics_get_position_common()
137 hb_ot_metrics_get_position (hb_font_t *font, in hb_ot_metrics_get_position()
253 hb_ot_metrics_get_position_with_fallback (hb_font_t *font, in hb_ot_metrics_get_position_with_fallback()
394 hb_ot_metrics_get_variation (hb_font_t *font, hb_ot_metrics_tag_t metrics_tag) in hb_ot_metrics_get_variation()
412 hb_ot_metrics_get_x_variation (hb_font_t *font, hb_ot_metrics_tag_t metrics_tag) in hb_ot_metrics_get_x_variation()
430 hb_ot_metrics_get_y_variation (hb_font_t *font, hb_ot_metrics_tag_t metrics_tag) in hb_ot_metrics_get_y_variation()
/external/fonttools/Lib/fontTools/varLib/
D__init__.py61 def _add_fvar(font, axes, instances: List[InstanceDescriptor]): argument
120 def _add_avar(font, axes): argument
207 def _add_stat(font): argument
222 def _add_gvar(font, masterModel, master_ttfs, tolerance=0.5, optimize=True): argument
307 def _remove_TTHinting(font): argument
318 def _merge_TTHinting(font, masterModel, master_ttfs): argument
395 def _add_HVAR(font, masterModel, master_ttfs, axisTags): argument
398 def _add_VVAR(font, masterModel, master_ttfs, axisTags): argument
401 def _add_VHVAR(font, masterModel, master_ttfs, axisTags, tableFields): argument
442 def _get_advance_metrics(font, masterModel, master_ttfs, argument
[all …]
/external/fonttools/Lib/fontTools/mtiLib/
D__init__.py208 def parseSingleSubst(lines, font, _lookupMap=None): argument
216 def parseMultiple(lines, font, _lookupMap=None): argument
223 def parseAlternate(lines, font, _lookupMap=None): argument
230 def parseLigature(lines, font, _lookupMap=None): argument
238 def parseSinglePos(lines, font, _lookupMap=None): argument
252 def parsePair(lines, font, _lookupMap=None): argument
340 def parseKernset(lines, font, _lookupMap=None): argument
357 def parseCursive(lines, font, _lookupMap=None): argument
417 def parseMarkToSomething(lines, font, c): argument
499 def parseMarkToBase(lines, font, _lookupMap=None): argument
[all …]
/external/robolectric/nativeruntime/src/main/java/org/robolectric/nativeruntime/
DFontNatives.java30 public static native long nGetMinikinFontPtr(long font); in nGetMinikinFontPtr()
32 public static native long nCloneFont(long font); in nCloneFont()
34 public static native ByteBuffer nNewByteBuffer(long font); in nNewByteBuffer()
36 public static native long nGetBufferAddress(long font); in nGetBufferAddress()
38 public static native int nGetSourceId(long font); in nGetSourceId()
42 public static native float nGetGlyphBounds(long font, int glyphId, long paint, RectF rect); in nGetGlyphBounds()
44 public static native float nGetFontMetrics(long font, long paint, Paint.FontMetrics metrics); in nGetFontMetrics()
/external/icu/icu4c/source/test/perf/leperf/
Dcfonts.cpp30 void le_fontClose(le_font *font) in le_fontClose()
37 const char *le_getNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encodin… in le_getNameString()
44 const LEUnicode16 *le_getUnicodeNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_… in le_getUnicodeNameString()
51 void le_deleteNameString(le_font *font, const char *name) in le_deleteNameString()
58 void le_deleteUnicodeNameString(le_font *font, const LEUnicode16 *name) in le_deleteUnicodeNameString()
65 le_uint32 le_getFontChecksum(le_font *font) in le_getFontChecksum()
/external/cronet/third_party/icu/source/test/letest/
Dcfonts.cpp31 void le_fontClose(le_font *font) in le_fontClose()
38 const char *le_getNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encodin… in le_getNameString()
45 const LEUnicode16 *le_getUnicodeNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_… in le_getUnicodeNameString()
52 void le_deleteNameString(le_font *font, const char *name) in le_deleteNameString()
59 void le_deleteUnicodeNameString(le_font *font, const LEUnicode16 *name) in le_deleteUnicodeNameString()
66 le_uint32 le_getFontChecksum(le_font *font) in le_getFontChecksum()
/external/icu/icu4c/source/test/letest/
Dcfonts.cpp31 void le_fontClose(le_font *font) in le_fontClose()
38 const char *le_getNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encodin… in le_getNameString()
45 const LEUnicode16 *le_getUnicodeNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_… in le_getUnicodeNameString()
52 void le_deleteNameString(le_font *font, const char *name) in le_deleteNameString()
59 void le_deleteUnicodeNameString(le_font *font, const LEUnicode16 *name) in le_deleteUnicodeNameString()
66 le_uint32 le_getFontChecksum(le_font *font) in le_getFontChecksum()
/external/cronet/third_party/icu/source/test/perf/leperf/
Dcfonts.cpp30 void le_fontClose(le_font *font) in le_fontClose()
37 const char *le_getNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encodin… in le_getNameString()
44 const LEUnicode16 *le_getUnicodeNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_… in le_getUnicodeNameString()
51 void le_deleteNameString(le_font *font, const char *name) in le_deleteNameString()
58 void le_deleteUnicodeNameString(le_font *font, const LEUnicode16 *name) in le_deleteUnicodeNameString()
65 le_uint32 le_getFontChecksum(le_font *font) in le_getFontChecksum()
/external/harfbuzz_ng/test/api/
Dtest-ot-metrics-tt-var.c37 hb_font_t *font = hb_font_create (face); in test_extents_tt_var() local
69 hb_font_t *font = hb_font_create (face); in test_advance_tt_var_nohvar() local
105 hb_font_t *font = hb_font_create (face); in test_advance_tt_var_hvarvvar() local
141 hb_font_t *font = hb_font_create (face); in test_advance_tt_var_anchor() local
173 hb_font_t *font = hb_font_create (face); in test_extents_tt_var_comp() local
215 hb_font_t *font = hb_font_create (face); in test_advance_tt_var_comp_v() local
241 hb_font_t *font = hb_font_create (face); in test_advance_tt_var_gvar_infer() local
Dtest-draw.c192 hb_font_t *font = hb_font_create (face); in test_hb_draw_glyf() local
253 hb_font_t *font = hb_font_create (face); in test_hb_draw_cff1() local
276 hb_font_t *font = hb_font_create (face); in test_hb_draw_cff1_rline() local
300 hb_font_t *font = hb_font_create (face); in test_hb_draw_cff2() local
346 hb_font_t *font = hb_font_create (face); in test_hb_draw_ttf_parser_tests() local
393 hb_font_t *font = hb_font_create (face); in test_hb_draw_ttf_parser_tests() local
410 hb_font_t *font = hb_font_create (face); in test_hb_draw_ttf_parser_tests() local
436 hb_font_t *font = hb_font_create (face); in test_hb_draw_font_kit_glyphs_tests() local
465 hb_font_t *font = hb_font_create (face); in test_hb_draw_font_kit_glyphs_tests() local
506 hb_font_t *font = hb_font_create (face); in test_hb_draw_font_kit_glyphs_tests() local
[all …]
Dtest-ot-extents-cff.c37 hb_font_t *font = hb_font_create (face); in test_extents_cff1() local
76 hb_font_t *font = hb_font_create (face); in test_extents_cff1_flex() local
98 hb_font_t *font = hb_font_create (face); in test_extents_cff1_seac() local
128 hb_font_t *font = hb_font_create (face); in test_extents_cff2() local
160 hb_font_t *font = hb_font_create (face); in test_extents_cff2_vsindex() local
192 hb_font_t *font = hb_font_create (face); in test_extents_cff2_vsindex_named_instance() local
Dtest-ot-glyphname.c31 test_one_glyph (hb_font_t *font, hb_codepoint_t gid, const char *name) in test_one_glyph()
48 hb_font_t *font = hb_font_create (face); in test_standard_names() local
61 hb_font_t *font = hb_font_create (face); in test_non_standard_names() local
74 hb_font_t *font = hb_font_create (face); in test_predef_charset_names() local
/external/fonttools/Snippets/
Dinterpolate.py31 def AddFontVariations(font): argument
54 def AddName(font, name): argument
65 def AddGlyphVariations(font, thin, regular, black): argument
95 def GetCoordinates(font, glyphName): argument
/external/skia/modules/canvaskit/
Dfont.js4 CanvasKit.Canvas.prototype.drawText = function(str, x, y, paint, font) { argument
16 CanvasKit.Canvas.prototype.drawGlyphs = function(glyphs, positions, x, y, font, paint) { argument
191 CanvasKit.TextBlob.MakeOnPath = function(str, path, font, initialOffset) { argument
253 CanvasKit.TextBlob.MakeFromRSXform = function(str, rsxForms, font) { argument
275 CanvasKit.TextBlob.MakeFromRSXformGlyphs = function(glyphs, rsxForms, font) { argument
293 CanvasKit.TextBlob.MakeFromGlyphs = function(glyphs, font) { argument
306 CanvasKit.TextBlob.MakeFromText = function(str, font) { argument
/external/skia/gm/
Dstroketext.cpp43 static void draw_text_stroked(SkCanvas* canvas, const SkPaint& paint, const SkFont& font, in draw_text_stroked()
62 static void draw_text_set(SkCanvas* canvas, const SkPaint& paint, const SkFont& font) { in draw_text_set()
141 SkFont font(ttf, 100); variable
155 SkFont font(otf, 100); variable
164 SkFont font(overlap, 100); variable
/external/skia/src/core/
DSkFontPriv.h48 static SkMatrix MakeTextMatrix(const SkFont& font) { in MakeTextMatrix()
77 static bool IsFinite(const SkFont& font) { in IsFinite()
91 static inline uint8_t Flags(const SkFont& font) { return font.fFlags; } in Flags()
96 SkAutoToGlyphs(const SkFont& font, const void* text, size_t length, SkTextEncoding encoding) { in SkAutoToGlyphs()
DSkStrikeSpec.cpp35 SkStrikeSpec SkStrikeSpec::MakeMask(const SkFont& font, const SkPaint& paint, in MakeMask()
43 SkStrikeSpec SkStrikeSpec::MakeTransformMask(const SkFont& font, in MakeTransformMask()
54 const SkFont& font, const SkPaint& paint, in MakePath()
74 const SkFont& font, const SkPaint* paint) { in MakeCanonicalized()
94 SkStrikeSpec SkStrikeSpec::MakeWithNoDevice(const SkFont& font, const SkPaint* paint) { in MakeWithNoDevice()
105 const SkPaint& paint, const SkFont& font, const SkMatrix& viewMatrix) { in ShouldDrawAsPath()
137 SkFont font; in MakePDFVector() local
159 SkStrikeSpec::MakeSDFT(const SkFont& font, const SkPaint& paint, in MakeSDFT()
202 SkStrikeSpec::SkStrikeSpec(const SkFont& font, const SkPaint& paint, in SkStrikeSpec()
/external/skia/modules/canvaskit/tests/
Dfont_test.js49 const font = new CanvasKit.Font(null, 24); constant
81 const font = new CanvasKit.Font(notoSerif, 24); constant
112 const font = new CanvasKit.Font(bungee, 24); constant
136 const font = new CanvasKit.Font(notoSerif, 24); constant
249 const font = new CanvasKit.Font(typeface, 24); constant
287 const font = new CanvasKit.Font(typeface, fontSizes[idx]); constant
331 const font = new CanvasKit.Font(null, 100); constant
348 const font = new CanvasKit.Font(null, 100); constant

12345678910>>...27