texlive[74951] Build/source/texk/ps2pk/fontstruct.h: Fix t1funcs.c

commits+ascherer at tug.org commits+ascherer at tug.org
Tue Apr 15 19:12:35 CEST 2025


Revision: 74951
          https://tug.org/svn/texlive?view=revision&revision=74951
Author:   ascherer
Date:     2025-04-15 19:12:35 +0200 (Tue, 15 Apr 2025)
Log Message:
-----------
Fix t1funcs.c for C23.

Next up: token.c and tokst.h.

Modified Paths:
--------------
    trunk/Build/source/texk/ps2pk/fontstruct.h

Modified: trunk/Build/source/texk/ps2pk/fontstruct.h
===================================================================
--- trunk/Build/source/texk/ps2pk/fontstruct.h	2025-04-15 17:12:33 UTC (rev 74950)
+++ trunk/Build/source/texk/ps2pk/fontstruct.h	2025-04-15 17:12:35 UTC (rev 74951)
@@ -123,12 +123,17 @@
                                unsigned char *chars, FontEncoding charEncoding,
                                uint32_t *glyphCount,
                                struct _CharInfo **glyphs );
-    int         (*get_metrics) ( /* font, count, chars, encoding, count, glyphs */ );
+    int         (*get_metrics) ( /* font, count, chars, encoding, count, glyphs */
+                               FontPtr pFont, uint32_t count,
+                               register unsigned char *chars,
+                               FontEncoding charEncoding,
+                               uint32_t *glyphCount,
+                               xCharInfo **glyphs );
     int         (*get_bitmaps) (/* client, font, flags, ranges, nranges,
 				    nextents, extents */ );
     int         (*get_extents) (/* client, font, format, flags, ranges,
 				    nranges, nglyphs, offsets, glyphs */ );
-    void        (*unload_font) ( /* font */ );
+    void        (*unload_font) ( FontPtr pFont /* font */ );
     FontPathElementPtr fpe;
     pointer     svrPrivate;
     pointer     fontPrivate;



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