Given a version number MAJOR.MINOR.PATCH, increment the:
- MAJOR version when you make incompatible API changes,
- MINOR version when you add functionality in a backwards-compatible manner, and
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
- PATCH version when you make backwards-compatible bug fixes.
--
--
Google Font Directory Discussions
http://groups.google.com/group/googlefontdirectory-discuss
---
You received this message because you are subscribed to the Google Groups "Google Font Directory Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to googlefontdirectory...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
- Adding new language support / scripts falls to PATCH? (if metrics stay the same )
--
--
--
Google Font Directory Discussions
http://groups.google.com/group/googlefontdirectory-discuss
---
You received this message because you are subscribed to the Google Groups "Google Font Directory Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to googlefontdirectory...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
The semantic versioning poses a problem with fonts, because in OpenType, the head.fontRevision field
is traditionally coordinated with the CFF.Version field, and those are traditionally represented as MAJOR.MINOR. There is no place for a "patch" value in SFNT or most font editors.My own practice is that I use three-digit MINOR fields where the first digit stands for "proper MINOR" and the other two for PATCH.So I'd have 1.000, 1.001, 1.002, 1.100, 1.101, 1.200, 1.201, 1.202, 2.000, 2.001, 2.002, 2.100, 2.101 etc.In other words, the font's 1.201 actually means MAJOR 1, MINOR 2, PATCH 1.
I see how 1.2.1 maps to 1.201 but how does 1.20.1 map? 1.2001?
I would rather leave the non name table version numbers static and only increment the name table number on each release.
--
Version string. Should begin with the syntax 'Version <number>.<number>' (upper case, lower case, or mixed, with a space between “Version” and the number).
The string must contain a version number of the following form: one or more digits (0-9) of value less than 65,535, followed by a period, followed by one or more digits of value less than 65,535. Any character other than a digit will terminate the minor number. A character such as “;” is helpful to separate different pieces of version information.
The first such match in the string can be used by installation software to compare font versions. Note that some installers may require the string to start with “Version ”, followed by a version number as above.
Loving these micro-detailed discussions.... sadly the average user dosn't even know that fonts have version numbers.
Adam and I can go on bikeshedding all day :)
Adam you make a solid case that each patch should increment the minor version number and that number should be even in all 3 possible properties.
This is how Roboto is numbered, so, let's try to ask for that
Thanks for the context!! I'm all agreed.
Back to the color of this BBB bikeshed though :)
The head.dateModified string can be used to mitigate the ambiguity of concatenation of a second period segmented patch number with the minor number.