Home
last modified time | relevance | path

Searched refs:fontfile (Results 1 – 13 of 13) 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.sh24 fontfile=$1
56 glyphs=`echo "$text" | $hb_shape $options "$fontfile"`
61 …t" | $hb_shape $options --no-glyph-names --no-clusters --no-positions "$fontfile" | sed 's/[][]//g…
63 cp "$fontfile" "$dir/font.ttf"
/external/fonttools/Snippets/
Dlayout-features.py10 fontfile = sys.argv[1] variable
11 if fontfile.rsplit(".", 1)[-1] == "ttx":
13 font.importXML(fontfile)
15 font = TTFont(fontfile)
Dcmap-format.py20 fontfile = sys.argv[1] variable
22 font = TTFont(fontfile)
Dsubset-fpgm.py9 fontfile = sys.argv[1] variable
12 font = TTFont(fontfile)
/external/fonttools/Tests/ttLib/
Dsfnt_test.py23 fontfile = tmp_path / "test.ttf"
24 fontfile.write_bytes(EMPTY_SFNT)
25 reader = SFNTReader(fontfile.open("rb"))
Dwoff2_test.py839 def fontfile(): function
937 def ttFont(fontfile): argument
938 return ttLib.TTFont(fontfile, recalcBBoxes=False, recalcTimestamp=False)
/external/fonttools/Lib/fontTools/colorLib/
Dunbuilder.py64 fontfile = sys.argv[1] variable
68 font = TTFont(fontfile)
/external/fonttools/Tests/varLib/instancer/
Dinstancer_test.py1904 fontfile = str(tmpdir / "PartialInstancerTest-VF.ttf")
1905 varfont.save(fontfile)
1906 args = [fontfile, "wght=400"]
1921 fontfile = str(tmpdir / "PartialInstancerTest-VF.ttf")
1922 varfont.save(fontfile)
1925 instancer.main([fontfile, "wght:100"])
1932 fontfile = str(tmpdir / "PartialInstancerTest-VF.ttf")
1933 varfont.save(fontfile)
1936 instancer.main([fontfile, "wght=400", "wght=90"])
/external/fonttools/Lib/fontTools/cffLib/
Dwidth.py168 for fontfile in args.inputs:
169 font = TTFont(fontfile)
/external/fonttools/Lib/fontTools/varLib/
DvarStore.py559 fontfile = options.fontfile
562 font = TTFont(fontfile)
/external/fonttools/Lib/fontTools/
Dmerge.py1001 fonts = [ttLib.TTFont(fontfile) for fontfile in fontfiles]
1007 fonts = [ttLib.TTFont(fontfile) for fontfile in fontfiles]
/external/fonttools/Lib/fontTools/subset/
D__init__.py2974 fontfile = args[0]
3032 font = load_font(fontfile, options, dontLoadGlyphNames=dontLoadGlyphNames)
3035 basename, _ = splitext(fontfile)
3063 log.info("Input font:% 7d bytes: %s" % (os.path.getsize(fontfile), fontfile))