texlive[73205] Build/source/texk/web2c/luatexdir: For PNG, we no

commits+lscarso at tug.org commits+lscarso at tug.org
Wed Dec 25 13:03:54 CET 2024


Revision: 73205
          https://tug.org/svn/texlive?view=revision&revision=73205
Author:   lscarso
Date:     2024-12-25 13:03:54 +0100 (Wed, 25 Dec 2024)
Log Message:
-----------
For PNG, we no longer set the attr on the mask. LuaTeX 1.92.2 .

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/luatexdir/ChangeLog
    trunk/Build/source/texk/web2c/luatexdir/image/writepng.c
    trunk/Build/source/texk/web2c/luatexdir/luatex.c
    trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h

Modified: trunk/Build/source/texk/web2c/luatexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/ChangeLog	2024-12-25 00:41:52 UTC (rev 73204)
+++ trunk/Build/source/texk/web2c/luatexdir/ChangeLog	2024-12-25 12:03:54 UTC (rev 73205)
@@ -1,6 +1,8 @@
-2024-12-21 Luigi Scarso <luigi.scarso at gmail.com>
-	* \globaldefs: more tracing (H.Hagen)
-	* LuaTeX 1.19.1
+2024-12-24 Luigi Scarso <luigi.scarso at gmail.com>
+	* For PNG, we no longer set the attr on the mask. If we get a report about dropping this 
+          we could add a 'maskattr' feature, but one should consider
+          to include a correct pdf of the image instead, it's more robust.
+	* LuaTeX 1.19.2
 
 2024-11-02  Luigi Scarso <luigi.scarso at gmail.com>
 	* Fixed a memory leak in token.put_next()  (thanks to user202729 at protonmail.com)

Modified: trunk/Build/source/texk/web2c/luatexdir/image/writepng.c
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/image/writepng.c	2024-12-25 00:41:52 UTC (rev 73204)
+++ trunk/Build/source/texk/web2c/luatexdir/image/writepng.c	2024-12-25 12:03:54 UTC (rev 73205)
@@ -198,8 +198,8 @@
     pdf_dict_add_name(pdf, "Type", "XObject");
     pdf_dict_add_name(pdf, "Subtype", "Image");
     pdf_dict_add_img_filename(pdf, idict);
-    if (img_attr(idict) != NULL && strlen(img_attr(idict)) > 0)
-        pdf_printf(pdf, "\n%s\n", img_attr(idict));
+    /* if (img_attr(idict) != NULL && strlen(img_attr(idict)) > 0) */
+    /*     pdf_printf(pdf, "\n%s\n", img_attr(idict)); */
     pdf_dict_add_int(pdf, "Width", (int) png_get_image_width(png_p, info_p));
     pdf_dict_add_int(pdf, "Height", (int) png_get_image_height(png_p, info_p));
     pdf_dict_add_int(pdf, "BitsPerComponent", (bitdepth == 16 ? 8 : bitdepth));

Modified: trunk/Build/source/texk/web2c/luatexdir/luatex.c
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/luatex.c	2024-12-25 00:41:52 UTC (rev 73204)
+++ trunk/Build/source/texk/web2c/luatexdir/luatex.c	2024-12-25 12:03:54 UTC (rev 73205)
@@ -33,8 +33,8 @@
 */
 
 int luatex_version = 119;
-int luatex_revision = '1';
-const char *luatex_version_string = "1.19.1";
+int luatex_revision = '2';
+const char *luatex_version_string = "1.19.2";
 const char *engine_name = my_name;
 
 #include <kpathsea/c-ctype.h>

Modified: trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h	2024-12-25 00:41:52 UTC (rev 73204)
+++ trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h	2024-12-25 12:03:54 UTC (rev 73205)
@@ -1,4 +1,4 @@
 #ifndef luatex_svn_revision_h
 #define luatex_svn_revision_h
-#define luatex_svn_revision 7629
+#define luatex_svn_revision 7631
 #endif



More information about the tex-live-commits mailing list.