Propagate source font modification time to svg during conversion. Similar to what upstream commit 95a470e941d9a20fbdaca51334e8b6b9d93cfae4 did for TTF files. Submitted upstream at http://github.com/fontforge/fontforge/pull/2696 --- a/fontforge/svg.c +++ b/fontforge/svg.c @@ -27,7 +27,6 @@ #include "fontforgevw.h" #include #include -#include #include #include #include @@ -62,7 +61,6 @@ static int svg_outfontheader(FILE *file, SplineFont *sf,int layer) { BlueData bd; char *hash, *hasv, ch; int minu, maxu, i; - time_t now; const char *author = GetAuthor(); memset(&info,0,sizeof(info)); @@ -78,9 +76,8 @@ static int svg_outfontheader(FILE *file, SplineFont *sf,int layer) { fprintf( file, "\n-->\n" ); } fprintf( file, "\n" ); - time(&now); fprintf( file, "\nCreated by FontForge %d at %s", - FONTFORGE_VERSIONDATE_RAW, ctime(&now) ); + FONTFORGE_VERSIONDATE_RAW, ctime((time_t*)&sf->modificationtime) ); if ( author!=NULL ) fprintf(file," By %s\n", author); else >treecommitdiff
AgeCommit message (Expand)Author
2017-07-29gnu: sssd: Update to 1.15.3....Tobias Geerinckx-Rice
2017-05-16gnu: bind: Rename variable to 'isc-bind'....Ludovic Courtès
2017-05-15gnu: Add sssd....Ricardo Wurmus
2017-05-15gnu: Add ding-libs....Ricardo Wurmus