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
- 40 Introductions
- 3.7K Typeface Design
- 793 Font Technology
- 1K Technique and Theory
- 609 Type Business
- 443 Type Design Critiques
- 536 Type Design Software
- 30 Punchcutting
- 135 Lettering and Calligraphy
- 82 Technique and Theory
- 53 Lettering Critiques
- 478 Typography
- 300 History of Typography
- 113 Education
- 65 Resources
- 494 Announcements
- 79 Events
- 105 Job Postings
- 148 Type Releases
- 161 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports