summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/pdftexdir
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-18 16:13:46 +0000
committerKarl Berry <karl@freefriends.org>2023-02-18 16:13:46 +0000
commit1fb42003cd8236c261e9a5d6faa36fa94dc4e479 (patch)
treefdf43d9520de589afb0e1ee57d31d1e32e15d210 /Build/source/texk/web2c/pdftexdir
parent70809be73f4b4b8075be4ff99c02a7b6ac7b2a87 (diff)
include base+accent characters in CharSet
git-svn-id: svn://tug.org/texlive/trunk@65869 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir')
-rw-r--r--Build/source/texk/web2c/pdftexdir/ChangeLog10
-rw-r--r--Build/source/texk/web2c/pdftexdir/NEWS4
-rw-r--r--Build/source/texk/web2c/pdftexdir/writet1.c9
3 files changed, 20 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog
index 6f06138a6d0..1bcc3fe47da 100644
--- a/Build/source/texk/web2c/pdftexdir/ChangeLog
+++ b/Build/source/texk/web2c/pdftexdir/ChangeLog
@@ -1,5 +1,13 @@
2023-02-14 Thanh Han The <hanthethanh@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@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@gmail.com>
diff --git a/Build/source/texk/web2c/pdftexdir/NEWS b/Build/source/texk/web2c/pdftexdir/NEWS
index e857a19fe0b..541fc744e50 100644
--- a/Build/source/texk/web2c/pdftexdir/NEWS
+++ b/Build/source/texk/web2c/pdftexdir/NEWS
@@ -19,7 +19,9 @@ pdfTeX 3.141592653-2.6-1.40.25
- 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.
diff --git a/Build/source/texk/web2c/pdftexdir/writet1.c b/Build/source/texk/web2c/pdftexdir/writet1.c
index 079ac369d7d..0444d46be07 100644
--- a/Build/source/texk/web2c/pdftexdir/writet1.c
+++ b/Build/source/texk/web2c/pdftexdir/writet1.c
@@ -1,5 +1,5 @@
/*
-Copyright 1996-2018 Han The Thanh <thanh@pdftex.org>
+Copyright 1996-2023 Han The Thanh <thanh@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 @@ static void cs_mark(const char *cs_name, int subr)
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)