[OpenFontLibrary] font assimilation

Dave Crossland dave at lab6.com
Tue Apr 10 09:01:15 PDT 2012


On 10 April 2012 08:09, Jon Phillips <jon at fabricatorz.com> wrote:
> Great, lets get them up! I've tasked one Fabricator, Spencer, to
> upload all the google web fonts.

I publish updates to the fonts in the GFD collection every week, so
this ought to be semi automated... its a lot of fonts.

1 download them all and update them all with scripted HG commands $ hg pull

2 remove GFD specific fluff (METADATA files, md5sum files, and the
manually generated subset files, something like this, $ rm */METADATA
*/md5sum */*.latin* */*.greek* */*.cyrillic* */*.vietnamese*;

3. zip each directory, $ zip -r9 $dir $dir;

4 upload the ZIPs to the OFLB upload form page using curl -
http://curl.haxx.se/docs/httpscripting.html

5 as an advanced feature, the script should extract the description,
designer name, category, and license from the METADATA files and use
that in step 4

6 another advanced feature would be for the script to do an md5sum of
the ZIP and store that somewhere, and then each time the script is run
it would check the new ZIPs md5sums and only upload updates that have
changed


More information about the OpenFontLibrary mailing list