freebsd-ports/print/fontforge/files/patch-fontforge_print.c
Thomas Zander af1db7c657 - Update to upstream version 20141126
- Remove OPTIONS MULTILAYER, PLUGINS and PANGO
- Simplify Makefile

PR:		196300
Submitted by:	cyberbotx@cyberbotx.com (maintainer)
2015-01-04 15:48:25 +00:00

22 lines
841 B
C

--- fontforge/print.c.orig 2014-11-27 00:40:08 UTC
+++ fontforge/print.c
@@ -1148,19 +1148,7 @@ static void dump_pdfprologue(PI *pi) {
tm = localtime(&now);
fprintf( pi->out, " /CreationDate (D:%04d%02d%02d%02d%02d%02d",
tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec );
-#ifdef _NO_TZSET
fprintf( pi->out, "Z)\n" );
-#else
- if ( timezone==0 )
- fprintf( pi->out, "Z)\n" );
- else {
- if ( timezone<0 ) /* fprintf bug - this is a kludge to print +/- in front of a %02d-padded value */
- fprintf( pi->out, "-" );
- else
- fprintf( pi->out, "+" );
- fprintf( pi->out, "%02d'%02d')\n", (int)(timezone/3600),(int)(timezone/60-(timezone/3600)*60) );
- }
-#endif
if ( author!=NULL )
fprintf( pi->out, " /Author (%s)\n", author );
fprintf( pi->out, ">>\n" );