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

IsFixedPitch data from post table lost on export #611

Open
eigilnikolajsen opened this issue Aug 11, 2023 · 0 comments
Open

IsFixedPitch data from post table lost on export #611

eigilnikolajsen opened this issue Aug 11, 2023 · 0 comments

Comments

@eigilnikolajsen
Copy link

When I try to export my monospaced fonts using opentype.js they export with the post table value 'isFixedPitch' of 0 even though the value of the font object is 1 (1 meaning that it is a monospaced font, 0 meaning proportional).

Expected Behavior

the 'isFixedPitch' value should follow the value of the font object's value

Steps to Reproduce (for bugs)

Load a monospaced font in OpenType.js and console.log the font object as well and the font.toTables(). Notice that the 'isFixedPitch' value in the post table is different in the font object and the tables.

Your Environment

  • Version used: 1.3.1
  • Font used: DM Mono but could be any monospaced font
  • Browser Name and version: Chrome Version 115.0.5790.170 (Official Build) (x86_64)
  • Operating System and version (desktop or mobile): Desktop
  • Link to your project:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants