Home
last modified time | relevance | path

Searched refs:fontfile (Results 1 – 9 of 9) sorted by relevance

/external/harfbuzz_ng/test/shaping/
Drun-tests.py64 fontfile, options, unicodes, glyphs_expected = line.split (":") variable
65 if fontfile.startswith ('/') or fontfile.startswith ('"/'):
66 fontfile, expected_hash = fontfile.split('@') variable
69 with open (fontfile, 'rb') as ff:
73 (fontfile, expected_hash, actual_hash))
77 print ('%s not found, skip.' % fontfile)
82 fontfile = os.path.normpath (os.path.join (cwd, fontfile)) variable
90 print ('# %s "%s" --unicodes %s' % (hb_shape, fontfile, unicodes))
95 (hb_shape, fontfile, ' '.join(extra_options), options, unicodes))
98 if ' ' in fontfile:
[all …]
Drecord-test.sh13 fontfile=$1
45 glyphs=`echo "$text" | $hb_shape $options "$fontfile"`
50 …t" | $hb_shape $options --no-glyph-names --no-clusters --no-positions "$fontfile" | sed 's/[][]//g…
52 cp "$fontfile" "$dir/font.ttf"
/external/fonttools/Snippets/
Dlayout-features.py12 fontfile = sys.argv[1] variable
13 if fontfile.rsplit(".", 1)[-1] == "ttx":
15 font.importXML(fontfile)
17 font = TTFont(fontfile)
Dcmap-format.py22 fontfile = sys.argv[1] variable
24 font = TTFont(fontfile)
Dsubset-fpgm.py11 fontfile = sys.argv[1] variable
14 font = TTFont(fontfile)
/external/fonttools/Lib/fontTools/cffLib/
Dwidth.py156 for fontfile in sys.argv[1:]:
157 font = TTFont(fontfile)
/external/fonttools/Lib/fontTools/varLib/
DvarStore.py549 fontfile = options.fontfile
552 font = TTFont(fontfile)
/external/fonttools/Lib/fontTools/
Dmerge.py963 fonts = [ttLib.TTFont(fontfile) for fontfile in fontfiles]
969 fonts = [ttLib.TTFont(fontfile) for fontfile in fontfiles]
/external/fonttools/Lib/fontTools/subset/
D__init__.py2747 fontfile = args[0]
2805 font = load_font(fontfile, options, dontLoadGlyphNames=dontLoadGlyphNames)
2808 basename, _ = splitext(fontfile)
2836 log.info("Input font:% 7d bytes: %s" % (os.path.getsize(fontfile), fontfile))