macfonts icon indicating copy to clipboard operation
macfonts copied to clipboard

"Originals" Missing Resource forks

Open reinecke opened this issue 2 years ago • 1 comments

Since old Mac Systems used the Resource Fork to store font data (instead of the data fork), all the original font files in the repo are Zero size and are missing the font data.

Some possible solutions might be:

  • Use some sort of archive utility to pack the files before checking them in (like BinHex hqx or possibly zip on OS X
  • Extract the resource forks to a file data fork using SplitForks on OS X and check those files in

This would need to be done from the original files on your computer the repo originated from - git unfortunately is ignorant of resource forks without using something like some specific git hooks to split/recombine them.

reinecke avatar Aug 09 '22 22:08 reinecke

@mihaip has good info on this topic:

  1. https://blog.persistent.info/2021/04/git-resource-fork-hooks.html
  2. https://github.com/mihaip/git-resource-fork-hooks

pdokas avatar Aug 09 '22 22:08 pdokas