[tlbuild] rebuild please

Karl Berry karl at freefriends.org
Sat Mar 8 00:00:41 CET 2025


Rebuild TL please. Akira found a fix to make in xetex. Just the xetex
binary should be affected. --thanks, karl.

(Aside: I didn't receive any updates about luametatex. We can go with
what we've got if no new version shows up.)

Date: Sat, 8 Mar 2025 07:27:09 +0900
From: Akira Kakuto <kakuto at jcom.zaq.ne.jp>
To: Karl Berry <karl at freefriends.org>
Subject: a bug in gettexstring() for XeTeX

Hi Karl,

I found a bug in gettexstring() for XeTeX:

--- texmfmp.c.orig	Fri Feb 28 09:58:22 2025
+++ texmfmp.c	Sat Mar 08 07:00:05 2025
@@ -3192,7 +3192,7 @@
      if (c >= 0xD800 && c <= 0xDBFF) {
        unsigned lo = strpool[++i + strstart[s - 65536L]];
        if (lo >= 0xDC00 && lo <= 0xDFFF)
-        c = (c - 0xD800) * 0x0400 + lo - 0xDC00;
+        c = 0x10000 + (c - 0xD800) * 0x0400 + lo - 0xDC00;
        else
          c = 0xFFFD;
      }

Because of this bug, we can't use file names outside BMP with
synctex in XeTeX. If we don't use synctex, we can use names
outside BMP without correcting the bug. Should we wait for TL26,
or fix it for TL25? The fix gives effects only on XeTeX.

Thanks,
Akira


More information about the tlbuild mailing list.