texlive[65869] Build/source/texk/web2c/pdftexdir: include base+accent

commits+karl at tug.org commits+karl at tug.org
Sat Feb 18 17:13:47 CET 2023


Revision: 65869
          http://tug.org/svn/texlive?view=revision&revision=65869
Author:   karl
Date:     2023-02-18 17:13:46 +0100 (Sat, 18 Feb 2023)
Log Message:
-----------
include base+accent characters in CharSet

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
    trunk/Build/source/texk/web2c/pdftexdir/NEWS
    trunk/Build/source/texk/web2c/pdftexdir/writet1.c

Modified: trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/ChangeLog	2023-02-18 00:49:12 UTC (rev 65868)
+++ trunk/Build/source/texk/web2c/pdftexdir/ChangeLog	2023-02-18 16:13:46 UTC (rev 65869)
@@ -1,5 +1,13 @@
 2023-02-14  Thanh Han The  <hanthethanh at gmail.com>
 
+	* writet1.c (cs_mark) <CS_SEAC>: look for the composite(d) glyphs too,
+	to include in /CharSet. Original report from John Lienhard
+	for Lucida: https://tug.org/pipermail/lucida/2023-February/000922.html
+	Also happens with DejaVuSerif: tests/31-CharSet-miss-composite-char.
+	(pdftex r902)
+
+2023-02-14  Thanh Han The  <hanthethanh at gmail.com>
+
 	* tounicode.c (set_glyph_unicode): take new glyph_unicode_entry arg.
 	(is_last_byte_valid): new fn.
 	(write_tounicode): stop writing range when last byte of a
@@ -47,7 +55,7 @@
         * NEWS,
         * pdftex_version.h,
         * pdftex.web (pdftex_revision, pdftex_version_string):
-        version [1.40.]25 for TL23..
+        version [1.40.]25 for TL23.
 
 2023-12-28  Thanh Han The  <hanthethanh at gmail.com>
 

Modified: trunk/Build/source/texk/web2c/pdftexdir/NEWS
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/NEWS	2023-02-18 00:49:12 UTC (rev 65868)
+++ trunk/Build/source/texk/web2c/pdftexdir/NEWS	2023-02-18 16:13:46 UTC (rev 65869)
@@ -19,7 +19,9 @@
   - finish omission of /Info dict when \pdfomitinfodict is not 0.
   - generated beginbfrange should no longer be invalid with certain
     characters (that is, no longer have have a last byte >255).
-  
+  - include base and accent glyph in /CharSet when the Type 1 seac
+    operator is used (e.g., Lucida, DejaVu Serif).
+
 pdfTeX 3.141592653-2.6-1.40.24 (TeX Live 2022)
 - changes:
   - new primitive \showstream to redirect \show output.

Modified: trunk/Build/source/texk/web2c/pdftexdir/writet1.c
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/writet1.c	2023-02-18 00:49:12 UTC (rev 65868)
+++ trunk/Build/source/texk/web2c/pdftexdir/writet1.c	2023-02-18 16:13:46 UTC (rev 65869)
@@ -1,5 +1,5 @@
 /*
-Copyright 1996-2018 Han The Thanh <thanh at pdftex.org>
+Copyright 1996-2023 Han The Thanh <thanh at pdftex.org>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -1246,6 +1246,13 @@
                 cc_clear();
                 mark_cs(standard_glyph_names[a1]);
                 mark_cs(standard_glyph_names[a2]);
+                if (fd_cur->gl_tree != NULL) {
+                    /* base and accent characters are needed in CharSet */
+                    avl_probe(fd_cur->gl_tree,
+                              (void *) standard_glyph_names[a1]);
+                    avl_probe(fd_cur->gl_tree,
+                              (void *) standard_glyph_names[a2]);
+                }
                 break;
             default:
                 if (cc->clear)



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