summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi Scarso <luigi.scarso@gmail.com>2024-12-25 12:03:54 +0000
committerLuigi Scarso <luigi.scarso@gmail.com>2024-12-25 12:03:54 +0000
commit9e8779d62c4eb5a7b9ab2dcea172b367fe30d988 (patch)
treed0ad252856d555b23bde7b824b50d997c8e0c754
parent61de6c1109204fef0fafd7af1f08f0e4f6ae8e4b (diff)
For PNG, we no longer set the attr on the mask. LuaTeX 1.92.2 .
git-svn-id: svn://tug.org/texlive/trunk@73205 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/luatexdir/ChangeLog8
-rw-r--r--Build/source/texk/web2c/luatexdir/image/writepng.c4
-rw-r--r--Build/source/texk/web2c/luatexdir/luatex.c4
-rw-r--r--Build/source/texk/web2c/luatexdir/luatex_svnversion.h2
4 files changed, 10 insertions, 8 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog
index 84a2b79d46d..f3fef072a1d 100644
--- a/Build/source/texk/web2c/luatexdir/ChangeLog
+++ b/Build/source/texk/web2c/luatexdir/ChangeLog
@@ -1,6 +1,8 @@
-2024-12-21 Luigi Scarso <luigi.scarso@gmail.com>
- * \globaldefs: more tracing (H.Hagen)
- * LuaTeX 1.19.1
+2024-12-24 Luigi Scarso <luigi.scarso@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@gmail.com>
* Fixed a memory leak in token.put_next() (thanks to user202729@protonmail.com)
diff --git a/Build/source/texk/web2c/luatexdir/image/writepng.c b/Build/source/texk/web2c/luatexdir/image/writepng.c
index b9ed4d188d7..90b1e805947 100644
--- a/Build/source/texk/web2c/luatexdir/image/writepng.c
+++ b/Build/source/texk/web2c/luatexdir/image/writepng.c
@@ -198,8 +198,8 @@ static void write_smask_streamobj(PDF pdf, image_dict * idict, int smask_objnum,
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));
diff --git a/Build/source/texk/web2c/luatexdir/luatex.c b/Build/source/texk/web2c/luatexdir/luatex.c
index adad229b269..91141824af4 100644
--- a/Build/source/texk/web2c/luatexdir/luatex.c
+++ b/Build/source/texk/web2c/luatexdir/luatex.c
@@ -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>
diff --git a/Build/source/texk/web2c/luatexdir/luatex_svnversion.h b/Build/source/texk/web2c/luatexdir/luatex_svnversion.h
index 9a4d31d574e..b5c2129b393 100644
--- a/Build/source/texk/web2c/luatexdir/luatex_svnversion.h
+++ b/Build/source/texk/web2c/luatexdir/luatex_svnversion.h
@@ -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