Package: fonttools Version: 4.38.0-1 Severity: normal File: /usr/bin/pyftsubset
Dear Maintainer,
$ pyftsubset RobotoSlab-Regular+tabdig.ttf --flavor="woff"
--output-file="RobotoSlab-Regular+tabdigS.woff" --unicodes="0123456789"
--with-zopfli --verbose 2>&1
Text: ''
Unicodes: [4886718345]
Glyphs: []
Gids: []
maxp pruned
cmap pruned
post pruned
GPOS pruned
GSUB pruned
name pruned
glyf pruned
Missing glyphs for requested Unicodes: ['U+123456789']
Added gid0 to subset
Closing glyph list over 'GSUB': 1 glyphs before
Glyph names: ['.notdef']
Glyph IDs: [0]
Closed glyph list over 'GSUB': 1 glyphs after
Glyph names: ['.notdef']
Glyph IDs: [0]
Closing glyph list over 'glyf': 1 glyphs before
Glyph names: ['.notdef']
Glyph IDs: [0]
Closed glyph list over 'glyf': 1 glyphs after
Glyph names: ['.notdef']
Glyph IDs: [0]
Retaining 1 glyphs
head subsetting not needed
hhea subsetting not needed
maxp subsetting not needed
OS/2 subsetting not needed
hmtx subsetted
cmap subsetted
fpgm subsetting not needed
prep subsetting not needed
cvt subsetting not needed
loca subsetting not needed
post subsetted
gasp subsetting not needed
WARNING: FFTM NOT subset; don't know how to subset; dropped
GDEF subsetted
GPOS subsetted
GSUB subsetted
name subsetting not needed
glyf subsetted
head pruned
OS/2 Unicode ranges pruned: []
glyf pruned
GDEF pruned to empty; dropped
GPOS pruned
GSUB pruned
Traceback (most recent call last):
File "/bin/pyftsubset", line 33, in <module>
sys.exit(load_entry_point('fonttools==4.38.0', 'console_scripts',
'pyftsubset')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/fontTools/misc/loggingTools.py", line
372, in wrapper
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/fontTools/subset/__init__.py", line
3243, in main
save_font(font, outfile, options)
File "/usr/lib/python3/dist-packages/fontTools/misc/loggingTools.py", line
372, in wrapper
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/fontTools/subset/__init__.py", line
3093, in save_font
font.save(outfile, reorderTables=options.canonical_order)
File "/usr/lib/python3/dist-packages/fontTools/ttLib/ttFont.py", line 185, in
save
writer_reordersTables = self._save(tmp)
^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/fontTools/ttLib/ttFont.py", line 225, in
_save
self._writeTable(tag, writer, done, tableCache)
File "/usr/lib/python3/dist-packages/fontTools/ttLib/ttFont.py", line 654, in
_writeTable
self._writeTable(masterTable, writer, done, tableCache)
File "/usr/lib/python3/dist-packages/fontTools/ttLib/ttFont.py", line 654, in
_writeTable
self._writeTable(masterTable, writer, done, tableCache)
File "/usr/lib/python3/dist-packages/fontTools/ttLib/ttFont.py", line 666, in
_writeTable
writer[tag] = tabledata
~~~~~~^^^^^
File "/usr/lib/python3/dist-packages/fontTools/ttLib/sfnt.py", line 265, in
__setitem__
entry.saveData(self.file, data)
File "/usr/lib/python3/dist-packages/fontTools/ttLib/sfnt.py", line 487, in
saveData
data = self.encodeData(data)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/fontTools/ttLib/sfnt.py", line 532, in
encodeData
compressedData = compress(data, self.zlibCompressionLevel)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/fontTools/ttLib/sfnt.py", line 188, in
compress
from zopfli.zlib import compress
ModuleNotFoundError: No module named 'zopfli'
WOFF2 works.
apt install pulled in fonttools libboost-dev liblbfgsb0 libopenblas-dev
libopenblas-pthread-dev libopenblas0 libopenblas0-pthread libpython3-all-dev
libpython3-dev libpython3.11-dev libxsimd-dev python3-all-dev python3-appdirs
python3-attr python3-beniget python3-brotli python3-decorator python3-dev
python3-fonttools python3-fs python3-gast python3-lz4 python3-mpmath
python3-numpy python3-ply python3-pythran python3-scipy python3-sympy
python3-ufolib2 python3.11-dev unicode-data
Best,
-- System Information:
Debian Release: 12.9
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-27-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND,
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages fonttools depends on:
ii python3 3.11.2-1+b1
ii python3-fonttools 4.38.0-1+b1
fonttools recommends no packages.
fonttools suggests no packages.
-- no debconf information
signature.asc
Description: PGP signature

