Hi

I am using my trusty old Delphi 5 and struggling with the following problem

I am trying to interpret a Truetype/opentype font creation date.
I can read other data from the 'head' table in the font file correctly but
not the timedate issue

The spec has the following description
(http://www.microsoft.com/typography/otspec/head.htm)

Format
LONGDATETIME which is Number of seconds since 12:00 midnight, January 1,
1904. 64-bit integer

I am creating an array of word to read this structure with the following

longDateTime = array[0..3] of Word;

I am aware of the swapped words issues.

One font has date 06/08/1990 and time 14:54:50
The hex dump in the file is 00 00 00 00 A2 E3 27 2A

Can anybody please help/explain how I can get above date/time from this hex
dump?

kind regards
Neil

_______________________________________________
Delphi mailing list
Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to