FAIL: 'created' timestamp seems very low; regarding as unix timestamp
Ramiro Espinoza
Posts: 839
Hi there,
Fontbakery is flagging one of my fonts with:
FAIL: 'created' timestamp seems very low; regarding as unix timestampDoes anybody know how this issue can be fixed?
Thanks in advance.
Tagged:
0
Comments
-
I will start by checking created position in head table with ttx from fonttools
ttx font.otf
and in font.ttxif date would be very old, it can be manually corrected, and font again compiled.
1 -
Thanks! I found a weird creation date (1970). No idea how this data was inserted, since the source FL files have the right creation date.
0 -
Not a weird date, a zero date. In Unix time began on, January 1, 1970 along with life, the universe, and everything.6
-
That's kind of interesting, because the OpenType epoch is not January 1 1970, but the same as the Mac epoch (January 1 1904). FL put a "zero" in there, but that got converted to the wrong zero.1
-
I think I've found the problem: when I generate the fonts with Fontlab 5.1.4., for some reason “LONGDATETIME created” is empty. If I open the fonts with FL7 and re-export them the LONGDATETIME fields have the correct data.0
-
As Simon said: creation / modification dates in fonts are recorded as number of seconds since 1904 (macintosh convention), not 1970 (unix time zero). So those fields in most new fonts should be about ~120 years in #seconds(and the oldest fonts made in the 1980's would have 80 years' worth of seconds) , rather than ~50 years counting from 1970.
People in ~1954 (1904 + 50) have rather different ideas about types being metal blocks, instead of shapes on computers - and computers were made of cathode ray tubes around ~1955....0 -
@Hin-Tak Leung I think you mean electron or vacuum tubes. Cathode ray tubes were for screens.0
-
Oops yes, it is all vacuum tubes in the 50s. Valid fonts have dates in seconds of 80-ish to 120-ish years (1904 + 80 = 1984 to 1904 + 120 = 2024) , not seconds in 10 to 50 years (1980 - 2020, counting from 1970).0
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 803 Font Technology
- 1K Technique and Theory
- 622 Type Business
- 444 Type Design Critiques
- 542 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 485 Typography
- 303 History of Typography
- 114 Education
- 68 Resources
- 499 Announcements
- 80 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 270 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports