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

Convert UPM to 2048 #458

Closed
rsms opened this issue May 22, 2022 · 4 comments
Closed

Convert UPM to 2048 #458

rsms opened this issue May 22, 2022 · 4 comments
Assignees
Labels
technical About a technical aspect like font file format details

Comments

@rsms
Copy link
Owner

rsms commented May 22, 2022

I've started work on converting Inter to UPM 2048 in the upm2048 branch

Two key reasons for this change:

  1. Inter Display is designed at 2048 — this change will make it possible to some day merge Display and standard "Text" Inter into one VF.
  2. Some old font rasterizers and printer drivers/firmware has bugs that causes issues with certain UPM. (For example see Printing issues with Microsoft Word #156)

After a few hours of initial work, the 2048 UPM version renders almost identical in both Figma and web browsers compared to the current 2816 UPM version:

Screen Shot 2022-05-22 at 13 20 03

The biggest downside of converting to 2048 UPM is that design work gets harder since 1dp@11dp no longer corresponds to a power-of-two number which in turn means that a assisting grid for snapping and visual assist is no longer possible. I think this is a totally okay trade off.

Latest test build: Inter-4.00-e77ce318de.zip

@rsms rsms added the technical About a technical aspect like font file format details label May 22, 2022
@rsms rsms self-assigned this May 22, 2022
@rsms
Copy link
Owner Author

rsms commented May 22, 2022

Beta build for testing: Inter-3.19-text-faded04f9f.zip
Edit: DO NOT USE. Instead, use link in main post at the top.

@kenmcd
Copy link

kenmcd commented May 23, 2022

Beta build for testing: Inter-3.19-text-faded04f9f.zip

Some of the fonts are 2048 UPM, some of them are 1000 UPM.
Appears to be the same in both OTF and TTF.

Thin - 2048
ExtraLight - 1000
Light - 1000
Regular - 2048
Medium - 1000
SemiBold - 1000
Bold - 1000
ExtraBold - 1000
Black - 2048

Looks like the masters are 2048, but the other instances are being built with 1000.

@rsms
Copy link
Owner Author

rsms commented May 23, 2022

Thanks @kenmcd for catching that. It is an issue with the new version of glyphsLib. I've added a work-around and made a fresh build which can be grabbed from the main post above.

@rsms
Copy link
Owner Author

rsms commented May 26, 2022

Moved to #462

@rsms rsms closed this as completed May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical About a technical aspect like font file format details
Projects
None yet
Development

No branches or pull requests

2 participants