Source: fontforge Version: 1:20201107~dfsg-4 Severity: normal Dear Maintainer,
Per spec (https://fontforge.org/docs/scripting/python/fontforge.html#fontforge.font.bitmapSizes): font.bitmapSizes A tuple with an entry for each bitmap strike attached to the font. Each strike is identified by pixelsize (if the strike is a grey scale font it will be indicated by (bitmap-depth<<16)|pixelsize. When setting this value pass in a tuple of the same format. Any existing strike not specified in the tuple will be removed. Any new sizes will be created (but not rasterized use font.regenBitmaps() for that). But I get this on bullseye (1:20201107~dfsg-4) and sid (1:20220308~dfsg-1): -- >8 -- $ fontforge - Copyright (c) 2000-2021. See AUTHORS for Contributors. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE. Version: 20201107 Based on sources from 2021-01-15 15:55 UTC-ML-D-GDK3. PythonUI_Init() copyUIMethodsToBaseTable() Failed to open hotkey definition file: /share/fontforge/hotkeys/default >>> fontforge.open('Untitled1.sfdir').bitmapSizes (16, 32, 64, 128) >>> fontforge.font().bitmapSizes = (16, 32, 64, 128) Traceback (most recent call last): File "<stdin>", line 1, in <module> SystemError: new style getargs format but argument is not a tuple >>> fontforge.font().bitmapSizes = fontforge.open('Untitled1.sfdir').bitmapSizes Traceback (most recent call last): File "<stdin>", line 1, in <module> SystemError: new style getargs format but argument is not a tuple -- >8 -- and -- >8 -- $ fontforge - Copyright (c) 2000-2022. See AUTHORS for Contributors. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE. Version: 20220308 Based on sources from 2022-06-16 10:08 UTC-D. >>> fontforge.font().bitmapSizes = (16, 32, 64, 128) Traceback (most recent call last): File "<stdin>", line 1, in <module> SystemError: new style getargs format but argument is not a tuple >>> -- >8 -- This makes the (-nox) package useless. Best, наб -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: x32 (x86_64) Foreign Architectures: amd64, i386 Kernel: Linux 6.0.0-2-amd64 (SMP w/2 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
signature.asc
Description: PGP signature