freebsd-ports/print/fontforge/files/patch-fontforge_print.c
Rodrigo Osorio c56f7f4a02 Update print/fontforge to 20190413
* Rework FREETYPE option using print/freetype2 to get
  freetype files instead of fetching distfile directly,
  removing the need of chasing the port's version.
* Shift some things around in Makefile to appease portlint
* Regenerate patches and remove patch-fontforge_splinefont.h

Changelog: https://github.com/fontforge/fontforge/releases/tag/20190317
           https://github.com/fontforge/fontforge/releases/tag/20190413

PR:		237855
Submitted by:	kunda <chitty_cloud@me.com>
Approved by:	<cyberbotx@cyberbotx.com> (maintainer)
2019-06-11 22:30:14 +00:00

22 lines
852 B
C

--- fontforge/print.c.orig 2019-04-13 07:38:39 UTC
+++ fontforge/print.c
@@ -1164,19 +1164,7 @@ static void dump_pdfprologue(PI *pi) {
}
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 || getenv("SOURCE_DATE_EPOCH") )
- 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" );