• Bug#1103127: node-webfont: FTBFS in testing/i386: dh_auto_test: error:

    From Lucas Nussbaum@21:1/5 to All on Mon Apr 14 13:50:18 2025
    Source: node-webfont
    Version: 11.4.0+dfsg2+~cs35.7.26-12
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20250414 ftbfs-trixie

    Hi,

    During a rebuild of all packages in testing (trixie), your package failed
    to build on i386.


    Relevant part (hopefully):
    make[3]: Entering directory '/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2-build/woff2-wasm'
    [ 10%] Building CXX object CMakeFiles/woff2common.dir/src/variable_length.cc.o
    [ 20%] Building CXX object CMakeFiles/woff2common.dir/src/table_tags.cc.o
    [ 30%] Building CXX object CMakeFiles/woff2common.dir/src/woff2_common.cc.o
    [ 40%] Linking CXX static library libwoff2common.a
    [ 40%] Built target woff2common
    [ 50%] Building CXX object CMakeFiles/woff2enc.dir/src/transform.cc.o
    [ 60%] Building CXX object CMakeFiles/woff2enc.dir/src/font.cc.o
    [ 70%] Building CXX object CMakeFiles/woff2enc.dir/src/normalize.cc.o
    [ 80%] Building CXX object CMakeFiles/woff2enc.dir/src/glyph.cc.o
    [ 90%] Building CXX object CMakeFiles/woff2enc.dir/src/woff2_enc.cc.o
    [100%] Linking CXX static library libwoff2enc.a
    [100%] Built target woff2enc
    [ 57%] Built target woff2common
    [ 85%] Building CXX object CMakeFiles/woff2dec.dir/src/woff2_dec.cc.o
    [ 85%] Building CXX object CMakeFiles/woff2dec.dir/src/woff2_out.cc.o
    [100%] Linking CXX static library libwoff2dec.a
    [100%] Built target woff2dec
    make[3]: Leaving directory '/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2-build/woff2-wasm'
    export ASFLAGS="" export ASFLAGS_FOR_BUILD="" export CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=. -Wformat -Werror=format-security" export CFLAGS_FOR_
    BUILD="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=. -Wformat -Werror=format-security" export CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" export CPPFLAGS_FOR_
    BUILD="-Wdate-time -D_FORTIFY_SOURCE=2" export CXXFLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=. -Wformat -Werror=format-security" export CXXFLAGS_FOR_BUILD="-g -O2 -ffile-prefix-map=/build/
    reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=. -Wformat -Werror=format-security" export DFLAGS="-frelease" export DFLAGS_FOR_BUILD="-frelease" export FCFLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+
    dfsg2+~cs35.7.26/wawoff2/src=." export FCFLAGS_FOR_BUILD="-g -O2 -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=." export FFLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~
    cs35.7.26/wawoff2/src=." export FFLAGS_FOR_BUILD="-g -O2 -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=." export LDFLAGS="-Wl,-z,relro" export LDFLAGS_FOR_BUILD="-Wl,-z,relro" export OBJCFLAGS="-g -O2 -ffile-
    prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=. -Wformat -Werror=format-security" export OBJCFLAGS_FOR_BUILD="-g -O2 -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=. -
    Wformat -Werror=format-security" export OBJCXXFLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=. -Wformat -Werror=format-security" export OBJCXXFLAGS_FOR_BUILD="-g -O2 -ffile-prefix-map=/build/
    reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=. -Wformat -Werror=format-security" && \
    emcc --bind -s NODEJS_CATCH_REJECTION=0 -s NODEJS_CATCH_EXIT=0 -s ALLOW_MEMORY_GROWTH=1 -s SINGLE_FILE=1 -O3 -I/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../../woff2/include/ \
    -o /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../build/compress_binding.js \
    /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../src/compress_binding.cc \
    /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../../wawoff2-build/woff2-wasm/libwoff2enc.a \
    /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../../wawoff2-build/woff2-wasm/libwoff2common.a \
    /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../../wawoff2-build/brotli-wasm/libbrotlienc-static.a \
    /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../../wawoff2-build/brotli-wasm/libbrotlicommon-static.a
    export ASFLAGS="" export ASFLAGS_FOR_BUILD="" export CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=. -Wformat -Werror=format-security" export CFLAGS_FOR_
    BUILD="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=. -Wformat -Werror=format-security" export CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" export CPPFLAGS_FOR_
    BUILD="-Wdate-time -D_FORTIFY_SOURCE=2" export CXXFLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=. -Wformat -Werror=format-security" export CXXFLAGS_FOR_BUILD="-g -O2 -ffile-prefix-map=/build/
    reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=. -Wformat -Werror=format-security" export DFLAGS="-frelease" export DFLAGS_FOR_BUILD="-frelease" export FCFLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+
    dfsg2+~cs35.7.26/wawoff2/src=." export FCFLAGS_FOR_BUILD="-g -O2 -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=." export FFLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~
    cs35.7.26/wawoff2/src=." export FFLAGS_FOR_BUILD="-g -O2 -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=." export LDFLAGS="-Wl,-z,relro" export LDFLAGS_FOR_BUILD="-Wl,-z,relro" export OBJCFLAGS="-g -O2 -ffile-
    prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=. -Wformat -Werror=format-security" export OBJCFLAGS_FOR_BUILD="-g -O2 -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=. -
    Wformat -Werror=format-security" export OBJCXXFLAGS="-g -O2 -ffile-prefix-map=/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=. -Wformat -Werror=format-security" export OBJCXXFLAGS_FOR_BUILD="-g -O2 -ffile-prefix-map=/build/
    reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src=. -Wformat -Werror=format-security" && \
    emcc --bind -s NODEJS_CATCH_REJECTION=0 -s NODEJS_CATCH_EXIT=0 -s ALLOW_MEMORY_GROWTH=1 -s SINGLE_FILE=1 -O3 -I/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../../woff2/include/ \
    -o /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../build/decompress_binding.js \
    /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../src/decompress_binding.cc \
    /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../../wawoff2-build/woff2-wasm/libwoff2dec.a \
    /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../../wawoff2-build/woff2-wasm/libwoff2common.a \
    /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../../wawoff2-build/brotli-wasm/libbrotlidec-static.a \
    /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../../wawoff2-build/brotli-wasm/libbrotlicommon-static.a
    /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../../wawoff2-build/woff2-native/woff2_compress /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../test/fixtures/sample.ttf
    Compressed 133459 to 77122.
    Processing /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../test/fixtures/sample.ttf => /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../test/fixtures/sample.woff2
    mv /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../test/fixtures/sample.woff2 /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../test/fixtures/sample_compressed.woff2
    /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../../wawoff2-build/woff2-native/woff2_decompress /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../test/fixtures/sample_compressed.woff2
    mv /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../test/fixtures/sample_compressed.ttf /build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src/../test/fixtures/sample_decompressed.ttf
    make[2]: Leaving directory '/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26/wawoff2/src'
    # Need to remove this build directory or rollup -c complains
    rm -rf wawoff2-build
    make[1]: Leaving directory '/build/reproducible-path/node-webfont-11.4.0+dfsg2+~cs35.7.26'
    dh_auto_build --buildsystem=nodejs
    /!\ brotli/package.json not found
    /!\ brotli/package.json not found
    Unable to load brotli
    Found debian/nodejs/additional_components
    Adding component(s): is-eot
    Adding component(s): is-ttf
    Adding component(s): fast-xml-parser
    No build command found, searching known files
    No build command found, searching known files
    No build command found, searching known files
    No build command found, searching known files
    Found debian/nodejs/svg-pathdata/build
    cd ./svg-pathdata && sh -ex ../debian/nodejs/svg-pathdata/build
    + rollup -c --bundleConfigAsCjs

    src/SVGPathData.ts → lib/SVGPathData.cjs, lib/SVGPathData.module.js...
    (!) Circular dependencies
    src/SVGPathData.ts -> src/SVGPathDataEncoder.ts -> src/SVGPathData.ts src/SVGPathData.ts -> src/SVGPathDataParser.ts -> src/SVGPathData.ts src/SVGPathData.ts -> src/SVGPathDataParser.ts -> src/TransformableSVG.ts -> src/SVGPathDataTransformer.ts -> src/mathUtils.ts -> src/SVGPathData.ts
    src/SVGPathData.ts -> src/SVGPathDataParser.ts -> src/TransformableSVG.ts -> src/SVGPathDataTransformer.ts -> src/SVGPathData.ts
    created lib/SVGPathData.cjs, lib/SVGPathData.module.js in 4.1s
    No build command found, searching known files
    No build command found, searching known files
    Found debian/nodejs/fast-xml-parser/build
    cd ./fast-xml-parser && sh -ex ../debian/nodejs/fast-xml-parser/build
    + webpack -c webpack.config.js
    asset ./lib/parser.js 42.9 KiB [emitted] (name: main) 1 related asset ./src/parser.js 2.23 KiB [built] [code generated]
    ./src/node2json.js 1.3 KiB [built] [code generated]
    ./src/util.js 2.44 KiB [built] [code generated]
    ./src/xmlstr2xmlnode.js 8.12 KiB [built] [code generated]
    ./src/validator.js 10.2 KiB [built] [code generated]
    ./src/nimndata.js 2.86 KiB [built] [code generated]
    ./src/node2json_str.js 1.46 KiB [built] [code generated]
    ./src/json2xml.js 5.72 KiB [built] [code generated]
    ./src/xmlNode.js 360 bytes [built] [code generated]
    ../strnum/strnum.js 4.17 KiB [built] [code generated]
    webpack 5.97.1 compiled successfully in 1687 ms
    + webpack -c webpack-prod.config.js
    asset ./lib/parser.min.js 18.3 KiB [emitted] [minimized] (name: main) 1 related asset
    ./src/parser.js 2.23 KiB [built] [code generated]
    ./src/node2json.js 1.3 KiB [built] [code generated]
    ./src/util.js 2.44 KiB [built] [code generated]
    ./src/xmlstr2xmlnode.js 8.12 KiB [built] [code generated]
    ./src/validator.js 10.2 KiB [built] [code generated]
    ./src/nimndata.js 2.86 KiB [built] [code generated]
    ./src/node2json_str.js 1.46 KiB [built] [code generated]
    ./src/json2xml.js 5.72 KiB [built] [code generated]
    ./src/xmlNode.js 360 bytes [built] [code generated]
    ../strnum/strnum.js 4.17 KiB [built] [code generated]
    webpack 5.97.1 compiled successfully in 2120 ms
    No build command found, searching known files
    No build command found, searching known files
    No build command found, searching known files
    No build command found, searching known files
    No build command found, searching known files
    Found debian/nodejs/./build
    cd ./. && sh -ex debian/nodejs/./build
    + rollup -c

    src/cli/index.ts → dist/cli.js...
    (!) Unresolved dependencies https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
    svgicons2svgfont/src/filesorter (imported by "src/standalone/glyphsData.ts") svgicons2svgfont/src/metadata (imported by "src/standalone/glyphsData.ts") created dist/cli.js in 5.8s

    src/index.ts → dist...
    (!) Unresolved dependencies https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
    svgicons2svgfont/src/filesorter (imported by "src/standalone/glyphsData.ts") svgicons2svgfont/src/metadata (imported by "src/standalone/glyphsData.ts") created dist in 4s
    dh_auto_test --buildsystem=nodejs
    /!\ brotli/package.json not found
    /!\ brotli/package.json not found
    Unable to load brotli
    Found debian/nodejs/additional_components
    Adding component(s): is-eot
    Adding component(s): is-ttf
    Adding component(s): fast-xml-parser
    ln -s ../. node_modules/webfont
    cd ./fast-xml-parser && sh -ex ../debian/nodejs/fast-xml-parser/test
    + jasmine spec/arrayMode_spec.js spec/arrayWithExtendedPrototypeProps_spec.js spec/attr_spec.js spec/cdata_spec.js spec/data_spec.js spec/j2x_spec.js spec/large_spec.js spec/stopNodes_spec.js spec/validator_spec.js spec/validator_utf8_with_BOM_spec.js
    spec/valueProcessors_spec.js spec/x2j_str_spec.js spec/x_cyrillic_2j_str_spec.js spec/xmlParser_spec.js
    Randomized with seed 75739
    Started ..................................................................................................................................................................................


    178 specs, 0 failures
    Finished in 5.17 seconds
    Randomized with seed 75739 (jasmine --random=true --seed=75739)
    cd ./is-eot && sh -ex ../debian/nodejs/is-eot/test
    + mocha


    undefined should detect EOT 0x20002 from Buffer
    undefined should be false when detect other type file

    2 passing (9ms)

    cd ./is-svg && sh -ex ../debian/nodejs/is-svg/test
    cd ./is-ttf && sh -ex ../debian/nodejs/is-ttf/test
    + mocha


    undefined should detect TTF from Empty
    undefined should detect TTF from Empty Buffer
    (node:2212) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    (Use `node --trace-deprecation ...` to show where the warning was created)
    undefined should detect TTF from String
    undefined should detect TTF from Buffer
    undefined should be false when detect other type file
    undefined should detect TTF by opts.tables

    6 passing (22ms)

    cd ./is-woff && sh -ex ../debian/nodejs/is-woff/test
    + mocha test.js


    undefined should detect WOFF from Buffer
    undefined should not detect WOFF from WOFF2 Buffer

    2 passing (10ms)

    cd ./is-woff2 && sh -ex ../debian/nodejs/is-woff2/test
    + mocha test


    undefined should detect woff2 files

    1 passing (9ms)

    cd ./neatequal && sh -ex ../debian/nodejs/neatequal/test
    + mocha tests/index.mocha.js


    neatEqual
    should not throw
    undefined for simple equal objects
    (node:2248) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    (Use `node --trace-deprecation ...` to show where the warning was created)
    undefined for simple equal arrays
    undefined for deep equal objects
    should throw
    undefined for simple not equal objects
    undefined for simple equal arrays
    undefined for deep equal objects


    6 passing (23ms)

    cd ./strnum && sh -ex ../debian/nodejs/strnum/test
    + jasmine strnum.test.js
    Randomized with seed 96665
    Started
    ................


    16 specs, 0 failures
    Finished in 0.03 seconds
    Randomized with seed 96665 (jasmine --random=true --seed=96665)
    cd ./svg-pathdata && sh -ex ../debian/nodejs/svg-pathdata/test
    + mocha tests/arc.mocha.js tests/arcannotate.mocha.js tests/arctocurve.mocha.js tests/closepath.mocha.js tests/curveto.mocha.js tests/encoder.mocha.js tests/hv.mocha.js tests/lineto.mocha.js tests/matrix.mocha.js tests/moveto.mocha.js tests/normalize_
    curves.mocha.js tests/normalize_hvz.mocha.js tests/numbers.mocha.js tests/parser.mocha.js tests/qttoc.mocha.js tests/quadraticbeziercurveto.mocha.js tests/realword.mocha.js tests/relabs.mocha.js tests/rotate.mocha.js tests/round.mocha.js tests/sanitize.
    mocha.js tests/scale.mocha.js tests/skew.mocha.js tests/smoothcurveto.mocha.js tests/smoothquadraticcurveto.mocha.js tests/symmetry.mocha.js tests/transformer.mocha.js tests/translation.mocha.js


    Parsing elliptical arc commands
    undefined should not work when badly declared
    undefined should not work with bad rX value
    undefined should not work with bad rY value
    undefined should not work with bad lArcFlag value
    undefined should not work with bad sweepFlag value
    undefined should work with comma separated coordinates
    undefined should not work with a comma immediately after A
    undefined should work with space separated coordinates
    undefined should work with nested separated complexer coordinate pairs
    undefined should work with multiple pairs of coordinates
    undefined should work with multiple declared pairs of coordinates

    Encoding eliptical arc commands
    undefined should work with one command
    undefined should work with several commands

    Transforming elliptical arc commands
    undefined should rotate an axis-aligned arc
    undefined should rotate an arbitrary arc
    undefined should skew
    undefined should tolerate singular matrices
    undefined should match what Inkscape does on this random case
    undefined should reflect the sweep flag any time the determinant is negative

    Converting elliptical arc commands to curves
    undefined should work sweepFlag on 0 and largeArcFlag on 0
    undefined should work sweepFlag on 1 and largeArcFlag on 0
    undefined should work sweepFlag on 0 and largeArcFlag on 1
    undefined should work sweepFlag on 1 and largeArcFlag on 1
    undefined should work sweepFlag on 0 and largeArcFlag on 1xx

    Converting elliptical arc commands to curves
    undefined should work sweepFlag on 0 and largeArcFlag on 0
    undefined should work sweepFlag on 1 and largeArcFlag on 0
    undefined should work sweepFlag on 0 and largeArcFlag on 1
    undefined should work sweepFlag on 1 and largeArcFlag on 1
    undefined should work sweepFlag on 0 and largeArcFlag on 0 with relative arc

    Parsing close path commands
    undefined should work
    undefined should work with spaces before
    undefined should work with spaces after
    undefined should work before a command sequence
    undefined should work after a command sequence
    undefined should work in a command sequence

    Encoding close path commands
    undefined should work with one command
    undefined should work with several commands

    Parsing curve to commands
    undefined should not work when badly declared
    undefined should work with comma separated coordinates
    undefined should work with space separated coordinates
    undefined should work with nested separated complexer coordinate pairs
    undefined should work with multiple pairs of coordinates
    undefined should work with multiple declared pairs of coordinates

    Encoding curve to commands
    undefined should work with one command
    undefined should work with several commands

    SVGPathDataEncoder
    undefined should not work when the command is forgotten
    undefined should fail when a bad command is given

    Parsing horizontal commands
    undefined should work with single coordinate
    undefined should work with single complexer coordinate
    undefined should work with single even more complexer coordinate
    undefined should work with single relative coordinate
    undefined should work with comma separated coordinates
    undefined should work with space separated coordinates
    undefined should work with nested separated coordinates
    undefined should work with multiple command declarations

    Parsing vertical commands
    undefined should work with single coordinate
    undefined should work with single complexer coordinate
    undefined should work with single even more complexer coordinate
    undefined should work with single relative coordinate
    undefined should work with comma separated coordinates
    undefined should work with space separated coordinates
    undefined should work with nested separated coordinates
    undefined should work with multiple command declarations

    Parsing nested vertical/horizontal commands
    undefined should work

    Encoding nested vertical/horizontal commands
    undefined should work

    Parsing line to commands
    undefined should not work with single coordinate
    undefined should not work with single complexer coordinate
    undefined should work with single coordinate followed by another
    undefined should work with comma separated coordinates
    undefined should work with space separated coordinates
    undefined should work with complexer coordinates
    undefined should work with single even more complexer coordinates
    undefined should work with comma separated coordinate pairs
    undefined should work with space separated coordinate pairs
    undefined should work with nested separated coordinates
    undefined should work with multiple command declarations

    Encoding line to commands
    undefined should work with one command
    undefined should work with several commands

    Matrix transformation should be the same than it's equivalent transformation
    undefined should fail with bad args
    undefined for scale

    Parsing move to commands
    undefined should not work with single coordinate
    undefined should not work with single complexer coordinate
    undefined should work with single coordinate followed by another
    undefined should work with comma separated coordinates
    undefined should work with space separated coordinates
    undefined should work with complexer coordinates
    undefined should work with even more complexer coordinates
    undefined should work with comma separated coordinate pairs
    undefined should work with space separated coordinate pairs
    undefined should work with nested separated coordinates
    undefined should work with multiple command declarations

    Encoding move to commands
    undefined should work with one command
    undefined should work with several commands

    normalization of curves
    undefined should ignore everything which isn't S s T t
    undefined should take the previous point as the curve parameter if the previous curve isn't of the same type
    undefined should mirror the previous control point

    HVZA normalization
    undefined should transform relative h v z
    undefined should transform absolute h v z
    undefined should transform degenerate arcs

    Parsing commands with different numbers
    undefined should work with a 1 char integer
    undefined should work with a big integer
    undefined should work with a explicitly positive integer
    undefined should work with a negative integer
    undefined should work with a float with left side digits
    undefined should work with a float without left side digits
    undefined should work with a float without right side digits
    undefined should work with a number with a positive exponent
    undefined should work with a number with an explicitly positive exponent
    undefined should work with a number with a negative exponent
    undefined should work with a negative number with a positive exponent
    undefined should work with a negative number with an explicitly positive exponent
    undefined should work with a negative number with a negative exponent
    undefined should work with sign separated numbers
    undefined should work with sign separated numbers
    undefined should work with decpoint separated numbers
    undefined should work with decpoint separated numbers
    undefined should fail with eE

    SVGPathDataParser
    undefined should fail when a bad command is given

    qt to c
    undefined absolute Q and T commands should be converted
    undefined relative Q and T commands should be converted

    Parsing quadratic bezier curve to commands
    undefined should not work when badly declared
    undefined should work with comma separated coordinates
    undefined should work with space separated coordinates
    undefined should work with nested separated complexer coordinate pairs
    undefined should work with multiple pairs of coordinates
    undefined should work with multiple declared pairs of coordinates

    Encoding line to commands
    undefined should work with one command
    undefined should work with several commands

    Dealing with real world commands
    undefined and Y axis symmetry with y coords equal to 0
    undefined of sapegin
    undefined of hannesjohansson
    undefined of my blog
    undefined of tremby bug report
    undefined of fh1ch bug report
    undefined of kaptinlin bug report
    undefined of kaptinlin bug report 2
    bootstrap-icons
    undefined box-arrow-up-right
    undefined bootstrap
    undefined camera
    undefined bucket
    undefined check-box
    undefined diamond-half
    undefined document
    undefined trash
    undefined tv-fill
    undefined unlock-fill
    undefined watch
    undefined wrench
    undefined x-octagon
    undefined x-square-fill
    maki-icons
    undefined alcohol-shop
    undefined baseball
    undefined beach
    undefined cafe
    undefined car
    undefined casino
    undefined cross
    octicons
    undefined broadcast
    undefined dashboard
    undefined dependent
    undefined kebab-vertical
    undefined of kaptinlin bug report unicons voicemail-rectangle
    undefined of kaptinlin bug report unicons venus
    undefined of kaptinlin bug report unicons vector-square
    undefined of kaptinlin bug report unicons user
    undefined of kaptinlin bug report unicons user-plus

    toRel
    undefined should work with M commands
    undefined should work with m commands
    undefined should work with H commands
    undefined should work with V commands
    undefined should work with L commands
    undefined should work with C commands
    undefined should work with S commands
    undefined should work with Q commands
    undefined should work with T commands
    undefined should work with A commands
    undefined toRel should work with nested commands
    undefined should work with Z commands

    toAbs
    undefined should work with m commands
    undefined should work with h commands
    undefined should work with nested commands
    undefined should work with a commands
    undefined should work with t commands
    undefined should work with v commands
    undefined should work with l commands
    undefined should work with c commands
    undefined should work with s commands
    undefined should work with q commands

    Positive rotate from the origin
    undefined should fail with no args
    undefined should work with relative horizontal path
    undefined should work with relative vertical path
    undefined should work with relative path
    undefined should work with absolute path

    Positive rotate
    undefined should work with relative path (Math.PI)
    undefined should work with relative path (Math.PI/2)
    undefined should work with relative path
    undefined should work with absolute path

    360° Positive rotate
    undefined should work with relative path
    undefined should work with absolute path

    Path rounding
    undefined should work

    normalization of curves
    undefined should clear zero length line segments
    undefined should clear zero length quadratic curves
    undefined should clear zero length quadratic curves (absolute)
    undefined should clear zero length cubic curves
    undefined should clear zero length arc curves
    undefined should correctly handle first control point from smooth curve
    undefined should remove 0-length Zz

    Positive scale
    undefined should fail with no args
    undefined should work with relative path
    undefined should work with absolute path

    X axis skew
    undefined should fail with bad args
    undefined should work with relative path
    undefined should work with absolute path

    Y axis skew
    undefined should fail with bad args
    undefined should work with relative path
    undefined should work with absolute path

    Parsing smooth curve to commands
    undefined should not work when badly declared
    undefined should work with comma separated coordinates
    undefined should work with space separated coordinates
    undefined should work with nested separated complexer coordinate pairs
    undefined should work with multiple pairs of coordinates
    undefined should work with multiple declared pairs of coordinates

    Parsing smooth quadratic curve to commands
    undefined should fail with a with single coordinate
    undefined should fail with a single complexer coordinate
    undefined should work with comma separated coordinates
    undefined should work with space separated coordinates
    undefined should work with complexer coordinates
    undefined should work with even more complexer coordinates
    undefined should work with comma separated coordinate pairs
    undefined should work with space separated coordinate pairs
    undefined should work with nested separated coordinates
    undefined should work with multiple command declarations

    Encoding smooth quadratic bezier curve to commands
    undefined should work with one command
    undefined should work with several commands

    X axis symmetry
    undefined should work with an arbitrary path
    undefined should work when reversed

    Y axis symmetry
    undefined should work with an arbitrary path
    undefined should work when reversed

    SVGPathDataTransformer
    undefined should be possible to transform the parser

    Positive translation
    undefined should fail with no args
    undefined should work with relative path
    undefined should work with absolute path


    242 passing (152ms)

    cd ./svgicons2svgfont && sh -ex ../debian/nodejs/svgicons2svgfont/test + mocha tests/cli.mocha.js tests/filesorter.mocha.js tests/index.mocha.js tests/metadata.mocha.js


    Testing CLI
    1) should work for simple SVG

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)