From 32b807a4db4822e6c9f47f9f1dfec19eac07f0e1 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Fri, 11 Jan 2013 14:37:14 +0100 Subject: make/fakefop: adapt to make/otp.mk.in changes --- make/fakefop | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'make') diff --git a/make/fakefop b/make/fakefop index bbe81ef3b1..46c031034e 100755 --- a/make/fakefop +++ b/make/fakefop @@ -22,14 +22,14 @@ # Author: Tuncer Ayaz # -if [ $# -lt 4 ] +if [ $# -lt 6 ] then - echo "Usage: fakefop -fo IGNORED -pdf OUTFILE" + echo "Usage: fakefop -c IGNORED -fo IGNORED -pdf OUTFILE" exit 1 fi -OUTFILE=$4 -NAME=`basename $4 .pdf` +OUTFILE=$6 +NAME=`basename $6 .pdf` echo Write $OUTFILE cat > $OUTFILE < Date: Fri, 11 Jan 2013 14:37:40 +0100 Subject: make/fakefop: update copyright years --- make/fakefop | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'make') diff --git a/make/fakefop b/make/fakefop index 46c031034e..2818334f48 100755 --- a/make/fakefop +++ b/make/fakefop @@ -1,10 +1,9 @@ #!/bin/sh # -# Copyright Tuncer Ayaz 2010. All Rights Reserved. -# # %CopyrightBegin% # -# Copyright Ericsson AB 2010. All Rights Reserved. +# Copyright Tuncer Ayaz 2010-2013. All Rights Reserved. +# Copyright Ericsson AB 2010-2013. All Rights Reserved. # # The contents of this file are subject to the Erlang Public License, # Version 1.1, (the "License"); you may not use this file except in -- cgit v1.2.3 From 8b7140e7f9901c57e125e41077efec9d6f7de4f5 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Fri, 11 Jan 2013 14:37:59 +0100 Subject: make/fakefop: do not report what file is written --- make/fakefop | 1 - 1 file changed, 1 deletion(-) (limited to 'make') diff --git a/make/fakefop b/make/fakefop index 2818334f48..5c6a72a20c 100755 --- a/make/fakefop +++ b/make/fakefop @@ -30,7 +30,6 @@ fi OUTFILE=$6 NAME=`basename $6 .pdf` -echo Write $OUTFILE cat > $OUTFILE < Date: Fri, 11 Jan 2013 14:41:27 +0100 Subject: make/fakefop: slightly change placeholder text --- make/fakefop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make') diff --git a/make/fakefop b/make/fakefop index 5c6a72a20c..9b289d9aef 100755 --- a/make/fakefop +++ b/make/fakefop @@ -74,7 +74,7 @@ stream BT /F1 24 Tf 10 350 Td - (\(placeholder PDF generated without FOP\)) Tj + (\(placeholder PDF generated with fakefop\)) Tj ET endstream endobj -- cgit v1.2.3 From 2c59215a21c73ade41f30b65f771c1af5762cac6 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Fri, 11 Jan 2013 23:58:04 +0100 Subject: make/fakefop: repair pdf structure and make content static --- make/fakefop | 106 ++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 56 deletions(-) (limited to 'make') diff --git a/make/fakefop b/make/fakefop index 9b289d9aef..b64428bbd1 100755 --- a/make/fakefop +++ b/make/fakefop @@ -28,84 +28,78 @@ then fi OUTFILE=$6 -NAME=`basename $6 .pdf` -cat > $OUTFILE < $OUTFILE + +cat >> $OUTFILE <> +<< + /Type /Catalog + /Pages 2 0 R +>> endobj 2 0 obj - << /Type /Outlines - /Count 0 - >> +<< + /Type /Pages + /Kids [ 3 0 R ] + /Count 1 +>> endobj 3 0 obj - << /Type /Pages - /Kids [4 0 R] - /Count 1 +<< + /Type /Page + /Parent 2 0 R + /MediaBox [ 0 0 612 492 ] + /Contents 5 0 R + /Resources << + /Font << + /F1 4 0 R + >> >> +>> endobj 4 0 obj - << /Type /Page - /Parent 3 0 R - /MediaBox [0 0 612 492] - /Contents 5 0 R - /Resources << /ProcSet 6 0 R - /Font << /F1 7 0 R >> - >> - >> +<< + /Type /Font + /Subtype /Type1 + /Name /F1 + /BaseFont /Helvetica + /Encoding /StandardEncoding +>> endobj 5 0 obj - << /Length 73 >> +<< + /Length 74 +>> stream - BT - /F1 24 Tf - 10 400 Td - ($NAME) Tj - ET - BT - /F1 24 Tf - 10 350 Td - (\(placeholder PDF generated with fakefop\)) Tj - ET +BT +/F1 24 Tf +10 400 Td +(\(placeholder PDF generated with fakefop\)) Tj +ET endstream endobj -6 0 obj - [/PDF /Text] -endobj -7 0 obj - << /Type /Font - /Subtype /Type1 - /Name /F1 - /BaseFont /Helvetica - /Encoding /MacRomanEncoding - >> -endobj xref -0 8 -0000000000 65535 f -0000000009 00000 n -0000000074 00000 n -0000000120 00000 n -0000000179 00000 n -0000000364 00000 n -0000000466 00000 n -0000000496 00000 n +0 6 +0000000000 65536 f +0000000016 00000 n +0000000070 00000 n +0000000136 00000 n +0000000291 00000 n +0000000410 00000 n trailer - << /Size 8 - /Root 1 0 R - >> +<< + /Size 6 + /Root 1 0 R +>> + startxref -625 +536 %%EOF EndOfFile -- cgit v1.2.3