[OpenFontLibrary] font assimilation

Jon Phillips jon at fabricatorz.com
Tue Apr 10 20:52:34 PDT 2012


So the fonts are updated quiet often? That would be great to have an
automated upload and refresh to the files on open font library.

Spencer, please wait until we hear back a response on this. It might
make sense to build this script first. I want to asses how hard it is
first before proceeding.

Thanks!

Jon

On Wed, Apr 11, 2012 at 12:01 AM, Dave Crossland <dave at lab6.com> wrote:
> 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



-- 
Jon Phillips 王✳爻气 http://fabricatorz.com ✳ skype: kidproto ✳ irc: rejon
+1.415.830.3884 (global) ✳ +86-187-1003-9974 (beijing)


More information about the OpenFontLibrary mailing list