Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/testing/web-platform/tests/fonts/noto/cjk/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quelle  subset.sh

  Sprache: Shell
 

#!/bin/bash
#
# Produces subset font files for testing the `text-spacing-trim` property.
#
# Requires `pyftsubset` from [fonttools]. If [uv] is installed, this script can
# run without installing [fonttools] globally.
#
# [fonttools]: https://github.com/fonttools/fonttools
# [uv]: https://docs.astral.sh/uv/
#
range="--unicodes=20-7E,2018-201F,56FD,6C34,3000-301F,30FB,FE00-FE0F,FF01-FF1F,FF3B,FF3D,FF5B-FF65"
subrange="--unicodes=20-7E,56FD,FF08-FF09"
features="--layout-features+=halt,fwid,hwid,palt,pwid,vhal,vpal"
features_chws="$features,chws,vchw"
ext=".otf"
if [[ -z "$subsetter" ]]; then
  if command -v uvx &>/dev/null; then
    subsetter="uvx --from fonttools pyftsubset"
  else
    subsetter="pyftsubset"
  fi
fi
subsetter=${subsetter:-pyftsubset}
for path in "$@"do
  filename="$(basename -- "$path")"
  stem="${filename%.*}"
  output_halt="$stem-subset-halt"
  output_chws="$stem-subset-chws"
  output_min="$stem-subset-halt-min"
  (set -x;
    $subsetter "$path" $range $features --output-file="$output_halt$ext"
    $subsetter "$path" $range $features_chws --output-file="$output_chws$ext"
    $subsetter "$output_halt$ext" $subrange $features --output-file="$output_min$ext"
    $subsetter "$output_halt$ext" --unicodes=3002 $features --output-file="$output_halt-3002$ext"
    $subsetter "$output_halt$ext" --unicodes=300C $features --output-file="$output_halt-300C$ext"
    $subsetter "$output_halt$ext" --unicodes=FF1A $features --output-file="$output_halt-FF1A$ext"
  )
done

Messung V0.5 in Prozent
C=79 H=93 G=86

¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet am  2026-08-26) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.