• Home
  • Raw
  • Download

Lines Matching +full:brotli +full:- +full:dev

25         import brotlicffi as brotli  namespace
27 import brotli
29 brotli = None variable
65 with open(file_path, "r", encoding="utf-8") as f:
68 # -----
70 # -----
186 args = ["-s", temp_path]
198 # <?xml version="1.0" encoding="UTF-8"?>
202 parsed_xml = parseXML(self.read_file(ttx_file_path)[2:-1])
216 args = ["-g", temp_path]
230 # <?xml version="1.0" encoding="UTF-8"?>
234 for item in parseXML(self.read_file(ttx_file_path)[2:-1]):
246 for item in parseXML(self.read_file(table_file_path)[4:-3]):
315 # -----------------------
317 # -----------------------
322 ttx.Options([("-h", None)], 1)
325 assert "TTX -- From OpenType To XML And Back" in out
330 ttx.Options([("--version", None)], 1)
342 tto = ttx.Options([("-d", temp_dir_path)], 1)
348 ttx.Options([("-d", "bogusdir")], 1)
352 tto = ttx.Options([("-o", "testfile.ttx")], 1)
357 tto = ttx.Options([("-f", "")], 1)
362 tto = ttx.Options([("-v", "")], 1)
368 tto = ttx.Options([("-q", "")], 1)
374 tto = ttx.Options([("-l", "")], 1)
379 tto = ttx.Options([("-t", "CFF2")], 1)
385 tto = ttx.Options([("-t", "CFF")], 1)
391 tto = ttx.Options([("-s", "")], 1)
397 tto = ttx.Options([("-g", "")], 1)
403 tto = ttx.Options([("-i", "")], 1)
410 tto = ttx.Options([("-z", option)], 1)
416 ttx.Options([("-z", "bogus")], 1)
420 tto = ttx.Options([("-y", "1")], 1)
426 ttx.Options([("-y", "A")], 1)
430 tto = ttx.Options([("-m", "testfont.ttf")], 1)
435 tto = ttx.Options([("-b", "")], 1)
440 tto = ttx.Options([("-e", "")], 1)
445 tto = ttx.Options([("--unicodedata", "UnicodeData.txt")], 1)
450 tto = ttx.Options([("--newline", "LF")], 1)
455 tto = ttx.Options([("--newline", "CR")], 1)
460 tto = ttx.Options([("--newline", "CRLF")], 1)
466 ttx.Options([("--newline", "BOGUS")], 1)
470 tto = ttx.Options([("--recalc-timestamp", "")], 1)
475 tto = ttx.Options([("--no-recalc-timestamp", "")], 1)
480 tto = ttx.Options([("--flavor", "woff")], 1)
485 tto = ttx.Options([("--with-zopfli", ""), ("--flavor", "woff")], 1)
491 ttx.Options([("--with-zopfli", "")], 1)
496 ttx.Options([("-q", ""), ("-v", "")], 1)
501 ttx.Options([("-m", "testfont.ttf"), ("--flavor", "woff")], 1)
506 ttx.Options([("-t", "CFF"), ("-x", "CFF2")], 1)
511 ttx.Options([("-m", "testfont.ttf")], 2)
516 ttx.Options([("--with-zopfli", ""), ("--flavor", "woff2")], 1)
519 # ----------------------------
521 # ----------------------------
604 @pytest.mark.skipif(brotli is None, reason="brotli not installed")
615 …# DSIG should not be included from original ttx as per woff2 spec (https://dev.w3.org/webfonts/WOF…
726 @pytest.mark.skipif(brotli is None, reason="brotli not installed")
737 …# DSIG should not be included from original ttx as per woff2 spec (https://dev.w3.org/webfonts/WOF…
792 # --no-recalc-timestamp will keep original timestamp
801 # -------------------------
803 # -------------------------
890 @pytest.mark.skipif(brotli is None, reason="brotli not installed")
922 # -------------------
924 # -------------------
930 args = ["-o", str(outpath), inpath]
938 args = ["-o", str(outpath), inpath]
947 args = ["-d", "bogusdir", inpath]
955 args = ["-o", str(outpath), inpath]
968 args = ["-o", str(outpath), inpath]
977 args = ["-o", str(outpath), inpath]
992 args = ["-o", str(outpath), inpath]
1006 args = [sys.executable, "-m", "fontTools.ttx", "-q", "-o", "-", "-"]
1007 with inpath.open("rb") as infile, outpath.open("w", encoding="utf-8") as outfile:
1015 args = [sys.executable, "-m", "fontTools.ttx", "-q", "-o", "-", "-"]
1016 with inpath.open("r", encoding="utf-8") as infile, outpath.open("wb") as outfile:
1037 "-m",
1039 "-q",
1040 "-o",
1052 # ---------------------------
1054 # ---------------------------