Matching correctly TYPE 1 suitcases and fonts

25 views
Skip to first unread message

Olivier Soliveres

unread,
Sep 12, 2014, 6:58:29 AM9/12/14
to uafd...@googlegroups.com
Hello,

I'm actually working on a program where I need to get TYPE1 suitcases and font resources from users folders (MACOSX) and match suitcase with good fontfile. I open resourcefork (..namedfork/rsrc) of the suitcase with the program 'spot' to obtain the tables.

Today I have just the possibility to match the last column 'name' on lines starting with 'FOND' with the fonts names in the folder (with the 5/3/3 naming convention). But I would like to know if I can find something like a ID linking the two files (the font and the suitcase) to be exactly sure they are linked.

Anyone had this problem? My customers didn't mange their folders so I have a tons of fonts and suitcase mixed and I don't know how to manage this mess.

I tried FONDU, LCDF library and now the FDK but either on MACOS or LINUX I did not find a solution to make this matching. ( ResID or UniqueId not present in the two file to parse them 100%). I'm wondering how the system can find the good file for sure, it seems there is no file ID in the suitcase for each font associated.

Thank you for your help !

rrob...@adobe.com

unread,
Sep 17, 2014, 1:26:36 PM9/17/14
to uafd...@googlegroups.com
The only way to identify which LWFN file goes with which FONT resource is to build the printer font name, aka PostSCript FontName, from the style association table, then apply the 5-3-3 rule. There is no other link.  I haven't thought about this in over 10 years - had to look at the Adobe Tech note 0091, "Macintosh Font Resources".

- Read Roberts


Olivier Soliveres

unread,
Sep 18, 2014, 5:59:41 AM9/18/14
to uafd...@googlegroups.com
Hello Read,

Thank you for your helpful answer.

Just to be sure I'm doing the good thing, after reading the Tech note 0091 I tried to access directly the style association table from a MAC OSX using 'spot' command but all the options can only return the full resource map.
The column 'name' at the end of the line beginning by 'FOND' is what I need? Or I can have surprises? It works most of the time but sometimes I have doubloon beginning with '%' character. I didnt find documentation about this char and I hope it doesn't matter.

Again, thanks for your help because it's hard to obtain infos for this kind of old stuff. If you think another tool is more adapted do not hesitate to give me tips :)

Kinds regards,

Olivier
Reply all
Reply to author
Forward
0 new messages