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 7cd46b00ed26881d8cf5c793e0bd1f8b14ab16'>treecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-11-29 15:22:23 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-11-29 15:27:26 +0100
commit9f7cd46b00ed26881d8cf5c793e0bd1f8b14ab16 (patch)
treeae2e7ed34cd50cf67ccad8f4086978f510058ece /gnu
parentce8c44d0c30a1a2883a8c7cabc5cbfc1f9bafcfa (diff)
downloadguix-9f7cd46b00ed26881d8cf5c793e0bd1f8b14ab16.tar.gz
guix-9f7cd46b00ed26881d8cf5c793e0bd1f8b14ab16.zip
gnu: r-rngwell: Update to 0.10-8.
* gnu/packages/cran.scm (r-rngwell): Update to 0.10-8.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 2c0073f171..dd7b3e784e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm