texlive[73729] Build/source/texk/dvipdfm-x: dvipdfm-x: Fix page's

commits+kakuto at tug.org commits+kakuto at tug.org
Tue Feb 4 23:55:50 CET 2025


Revision: 73729
          https://tug.org/svn/texlive?view=revision&revision=73729
Author:   kakuto
Date:     2025-02-04 23:55:50 +0100 (Tue, 04 Feb 2025)
Log Message:
-----------
dvipdfm-x: Fix page's opacity (Clerk Ma)

Modified Paths:
--------------
    trunk/Build/source/texk/dvipdfm-x/ChangeLog
    trunk/Build/source/texk/dvipdfm-x/configure
    trunk/Build/source/texk/dvipdfm-x/configure.ac
    trunk/Build/source/texk/dvipdfm-x/epdf.c

Modified: trunk/Build/source/texk/dvipdfm-x/ChangeLog
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/ChangeLog	2025-02-04 22:09:28 UTC (rev 73728)
+++ trunk/Build/source/texk/dvipdfm-x/ChangeLog	2025-02-04 22:55:50 UTC (rev 73729)
@@ -1,3 +1,7 @@
+2025-02-05  Clerk Ma  <maqiyuan130324 at vip.qq.com>
+
+	* epdf.c: Fix page's opacity.
+
 2025-02-02  Yukimasa Morimi  <h20y6m at yahoo.co.jp>
 
 	* truetype.c: Fixed issues in embedded TrueType fonts (not CIDFont)

Modified: trunk/Build/source/texk/dvipdfm-x/configure
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/configure	2025-02-04 22:09:28 UTC (rev 73728)
+++ trunk/Build/source/texk/dvipdfm-x/configure	2025-02-04 22:55:50 UTC (rev 73729)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.72 for dvipdfm-x (TeX Live) 20250202.
+# Generated by GNU Autoconf 2.72 for dvipdfm-x (TeX Live) 20250205.
 #
 # Report bugs to <dvipdfmx at tug.org>.
 #
@@ -614,8 +614,8 @@
 # Identity of this package.
 PACKAGE_NAME='dvipdfm-x (TeX Live)'
 PACKAGE_TARNAME='dvipdfm-x--tex-live-'
-PACKAGE_VERSION='20250202'
-PACKAGE_STRING='dvipdfm-x (TeX Live) 20250202'
+PACKAGE_VERSION='20250205'
+PACKAGE_STRING='dvipdfm-x (TeX Live) 20250205'
 PACKAGE_BUGREPORT='dvipdfmx at tug.org'
 PACKAGE_URL=''
 
@@ -1387,7 +1387,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-'configure' configures dvipdfm-x (TeX Live) 20250202 to adapt to many kinds of systems.
+'configure' configures dvipdfm-x (TeX Live) 20250205 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1459,7 +1459,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of dvipdfm-x (TeX Live) 20250202:";;
+     short | recursive ) echo "Configuration of dvipdfm-x (TeX Live) 20250205:";;
    esac
   cat <<\_ACEOF
 
@@ -1590,7 +1590,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-dvipdfm-x (TeX Live) configure 20250202
+dvipdfm-x (TeX Live) configure 20250205
 generated by GNU Autoconf 2.72
 
 Copyright (C) 2023 Free Software Foundation, Inc.
@@ -2371,7 +2371,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by dvipdfm-x (TeX Live) $as_me 20250202, which was
+It was created by dvipdfm-x (TeX Live) $as_me 20250205, which was
 generated by GNU Autoconf 2.72.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -9263,7 +9263,7 @@
 
 # Define the identity of the package.
  PACKAGE='dvipdfm-x--tex-live-'
- VERSION='20250202'
+ VERSION='20250205'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -16931,7 +16931,7 @@
 Report bugs to <bug-libtool at gnu.org>."
 
 lt_cl_version="\
-dvipdfm-x (TeX Live) config.lt 20250202
+dvipdfm-x (TeX Live) config.lt 20250205
 configured by $0, generated by GNU Autoconf 2.72.
 
 Copyright (C) 2024 Free Software Foundation, Inc.
@@ -18885,7 +18885,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by dvipdfm-x (TeX Live) $as_me 20250202, which was
+This file was extended by dvipdfm-x (TeX Live) $as_me 20250205, which was
 generated by GNU Autoconf 2.72.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -18957,7 +18957,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-dvipdfm-x (TeX Live) config.status 20250202
+dvipdfm-x (TeX Live) config.status 20250205
 configured by $0, generated by GNU Autoconf 2.72,
   with options \\"\$ac_cs_config\\"
 

Modified: trunk/Build/source/texk/dvipdfm-x/configure.ac
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/configure.ac	2025-02-04 22:09:28 UTC (rev 73728)
+++ trunk/Build/source/texk/dvipdfm-x/configure.ac	2025-02-04 22:55:50 UTC (rev 73729)
@@ -8,7 +8,7 @@
 dnl   gives unlimited permission to copy and/or distribute it,
 dnl   with or without modifications, as long as this notice is preserved.
 dnl
-AC_INIT([dvipdfm-x (TeX Live)], [20250202], [dvipdfmx at tug.org])
+AC_INIT([dvipdfm-x (TeX Live)], [20250205], [dvipdfmx at tug.org])
 AC_PREREQ([2.65])
 AC_CONFIG_SRCDIR([agl.c])
 AC_CONFIG_AUX_DIR([../../build-aux])

Modified: trunk/Build/source/texk/dvipdfm-x/epdf.c
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/epdf.c	2025-02-04 22:09:28 UTC (rev 73728)
+++ trunk/Build/source/texk/dvipdfm-x/epdf.c	2025-02-04 22:55:50 UTC (rev 73729)
@@ -1,6 +1,6 @@
 /* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
 
-    Copyright (C) 2002-2020 by Jin-Hwan Cho and Shunsaku Hirata,
+    Copyright (C) 2002-2025 by Jin-Hwan Cho and Shunsaku Hirata,
     the dvipdfmx project team.
     
     Copyright (C) 1998, 1999 by Mark A. Wicks <mwicks at kettering.edu>
@@ -119,6 +119,7 @@
   xform_info info;
   pdf_obj *contents = NULL, *catalog;
   pdf_obj *page = NULL, *resources = NULL, *markinfo = NULL;
+  pdf_obj *group = NULL;
 
   pf = pdf_open(ident, image_file);
   if (!pf)
@@ -152,6 +153,10 @@
   }
 
   /*
+   * Handle page's Group
+   */
+  group = pdf_deref_obj(pdf_lookup_dict(page, "Group"));
+  /*
    * Handle page content stream.
    */
   contents = get_page_content(pf, page);
@@ -193,6 +198,9 @@
     pdf_add_dict(contents_dict, pdf_new_name("Resources"),
                  pdf_import_object(resources));
     pdf_release_obj(resources);
+
+    if (group)
+      pdf_add_dict(contents_dict, pdf_new_name("Group"), group);
   }
 
   pdf_close(pf);
@@ -210,6 +218,8 @@
     pdf_release_obj(markinfo);
   if (page)
     pdf_release_obj(page);
+  if (group)
+    pdf_release_obj(group);
   if (contents)
     pdf_release_obj(contents);
 



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