Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assigning to fontforge.font.bitmapSizes broken/impossible? #5137

Open
4 tasks done
nabijaczleweli opened this issue Nov 10, 2022 · 0 comments
Open
4 tasks done

Assigning to fontforge.font.bitmapSizes broken/impossible? #5137

nabijaczleweli opened this issue Nov 10, 2022 · 0 comments

Comments

@nabijaczleweli
Copy link
Contributor

nabijaczleweli commented Nov 10, 2022

When reporting a bug/issue:

  • Screenshot:
    >>> 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
    
  • The FontForge version and the operating system you're using: 8ce3216 on sid (originally found on 1:20201107~dfsg-4 (bullseye), reproduces on 1:20220308~dfsg-1 (sid))
  • The behavior you expect to see, and the actual behavior: as per spec: to be able to assign a tuple there, and actually I'm not
  • Steps to reproduce the behavior: see p. 1

To ensure I wasn't holding it wrong I also did:

>>> 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

so idk.

What may be relevant and what the template doesn't ask for is the Python version: 3.10.6-1 and 3.9.2-3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant