diff options
author | wl <wl> | 2011-08-14 14:46:19 +0000 |
---|---|---|
committer | wl <wl> | 2011-08-14 14:46:19 +0000 |
commit | dc4fb960059c10030ecf74bd98830bf09ceca553 (patch) | |
tree | 3cf930ad3f0c05981d305f767c4313246e875a15 | |
parent | 28e28e82c4ee479b264fea54f16b450fb423c567 (diff) | |
download | groff-dc4fb960059c10030ecf74bd98830bf09ceca553.tar.gz |
[gropdf] More minor fixes.
* font/devpdf/Makefile.sub (MOSTLYCLEANADD): Don't attempt to
install 'util/BuildFoundries', only used in 'make'.
* src/devices/gropdf/gropdf.pl (<top>, GetType1): Make STDOUT and
any font files read to be accessed in binary rather than text mode.
Prevents errors when running on systems set up for UTF-8.
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | font/devpdf/Makefile.sub | 1 | ||||
-rw-r--r-- | src/devices/gropdf/gropdf.pl | 2 |
3 files changed, 13 insertions, 1 deletions
@@ -1,3 +1,14 @@ +2011-08-14 Deri James <deri@chuzzlewit.demon.co.uk> + + [gropdf] More minor fixes. + + * font/devpdf/Makefile.sub (MOSTLYCLEANADD): Don't attempt to + install 'util/BuildFoundries', only used in 'make'. + + * src/devices/gropdf/gropdf.pl (<top>, GetType1): Make STDOUT and + any font files read to be accessed in binary rather than text mode. + Prevents errors when running on systems set up for UTF-8. + 2011-08-10 Deri James <deri@chuzzlewit.demon.co.uk> [gropdf] Minor updates and fixes. diff --git a/font/devpdf/Makefile.sub b/font/devpdf/Makefile.sub index a40a13b6..c47ff8e7 100644 --- a/font/devpdf/Makefile.sub +++ b/font/devpdf/Makefile.sub @@ -30,7 +30,6 @@ MOSTLYCLEANADD=\ download \ DESC \ Foundry \ - util/BuildFoundries \ $(GROFF_FONT_FILES) \ $(ENC_FILES) \ $(MAP_FILES) diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl index e56aa262..31b92d0f 100644 --- a/src/devices/gropdf/gropdf.pl +++ b/src/devices/gropdf/gropdf.pl @@ -30,6 +30,7 @@ my %cfg; $cfg{GROFF_VERSION}='@VERSION@'; $cfg{GROFF_FONT_PATH}='@GROFF_FONT_DIR@'; +binmode(STDOUT); my @obj; # Array of PDF objects my $objct=0; # Count of Objects @@ -1995,6 +1996,7 @@ sub GetType1 OpenFile(\$f,$fontdir,"$file"); Msg(1,"Failed to open '$file'") if !defined($f); + binmode($f); my $l=<$f>; |