[NTG-pdftex] Re: PNG features

Martin Schröder martin at oneiros.de
Sun Jul 10 16:11:42 CEST 2005


On 2005-07-10 10:54:29 +0200, Taco Hoekwater wrote:
> Because of that, you always ended up with the compile-time defaults.
> Martin, can you look into this please?

Done:

--- /home/ms/tex/pdftex/releases/pdftex-1.30.0-rc2/src/texk/web2c/pdftexdir/pdftex.ch	Sat Jul  2 21:49:42 2005
+++ pdftex.ch	Sun Jul 10 16:08:44 2005
@@ -70,7 +70,7 @@
 @y
 @d pdftex_version==130 { \.{\\pdftexversion} }
 @d pdftex_revision=="0" { \.{\\pdftexrevision} }
- at d pdftex_version_string=='-1.30.0-rc2' {current \pdfTeX\ version}
+ at d pdftex_version_string=='-1.30.0-rc3' {current \pdfTeX\ version}
 @#
 @d pdfTeX_banner=='This is pdfTeX, Version 3.141592',pdftex_version_string
    {printed when \pdfTeX\ starts}
@@ -970,7 +970,7 @@
 
 @ This checks that |pdfminorversion| can only be set before any
 bytes have been written to the generated pdf file. It should be called
-directly every after |ensure_pdf_open|.
+directly after every |ensure_pdf_open|.
 
 @p procedure check_pdfminorversion;
 begin
@@ -990,6 +990,10 @@
         end;
         fixed_pdf_minor_version := pdf_minor_version;
         pdf_buf[7] := chr(ord("0") + fixed_pdf_minor_version);
+        fixed_gamma             := fix_int(pdf_gamma, 0, 1000000);
+        fixed_image_gamma       := fix_int(pdf_image_gamma, 0, 1000000);
+        fixed_image_hicolor     := fix_int(pdf_image_hicolor, 0, 1);
+        fixed_image_apply_gamma := fix_int(pdf_image_apply_gamma, 0, 1);
     end
     else begin
         if fixed_pdf_minor_version <> pdf_minor_version then

Best
    Martin
-- 
                    http://www.tm.oneiros.de


More information about the ntg-pdftex mailing list