-
Notifications
You must be signed in to change notification settings - Fork 10
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
Question, Ch. 3.2: what about openTypeNameUniqueID? #2
Comments
I'm not sure - would love to have more info on this too. We do set it in our projects using the pattern (using UFO key names, and replacing currentyear with the current one for the build) openTypeNameManufacturer: familyName styleName: currentyear |
Hm. Maybe we can put the SHA256 digest of the font in there? That would make sure it is indeed unique. I suppose at the end of the production pipeline, one could use fonttools to temporarily delete the name table entry, SHA256 the binary and then write that to the name table again. Or maybe just the git commit ID if present. |
Just don't expect such a SHA256 to match the resulting binary since in the process of rewriting the name table the font-wide checksum in the |
Hm yeah. Maybe the commit ID makes more sense. |
Not really part of this repo and this is a late response, but I figured I'd chime in. The desired format for the unique font ID ( An example is
You can use the same string for all platforms ( |
Hey, thanks for chiming in.
I'm curious: Where do you find this recommendation and why do you say this is "the desired format"? Is it a specific font vendor's practice? As far as I can find, the Microsoft and ISO versions of the Standard give no specific recommendations, but only an example:
and Apple's TrueType Reference manual gives a different example:
|
@bobh0303 Unfortunately I've always found the resources on the web that describe typeface name table syntax lacking. I wouldn't say it's a specific font vendor's practice, but this is what I usually see from the biggest font studios and it's echoed by Adobe. Actually, since so many typefaces are initially designed with Adobe products, this is how the format became so popular. I even see it with some (but not all) Microsoft and Google fonts. I do also see colons Let's take a look at some popular fonts and what they use as identifiers: Lucida Console
Calson Pro Bold
PT Sans Bold Italic
Circula Regular
Raleway Medium
Montserrat Medium
|
Your examples prove that there is no standard, as Microsoft, Google, and Paratype are significant vendors. I don't see any need to follow Adobe's pattern.
I don't think that's the case. Most fonts are built with Glyphs, FontLab, Robofont, or Fontforge. |
There's no explicit standard, just an approximate syntax that most people seem to follow. More of a tradition I see echoed by most typefaces.
That's fair, and true. The final font compilation is done using these tools, I use Fontforge myself. However, at the conceptualization stage, and within the design industry as a whole, it's no secret that Adobe dominates the toolset (for instance, GIMP is an open source alternative to Adobe Photoshop. It's often popular among tech savvy enthusiasts, but is rarely used by professional designers). That's why I think I tend to see Adobe guiding the industry more than other large entities. |
I'm restaurating the Ubuntu font family and was wondering about the Unique ID in the name table. Is it necessary and if so, for what? The OpenType spec doesn't say much about it. Should a font set it to something particular?
The text was updated successfully, but these errors were encountered: