[tex4ht-commits] [SCM] tex4ht updated: r1340 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Mon Jun 12 12:57:09 CEST 2023


Author: michal_h21
Date: 2023-06-12 10:57:09 +0000 (Mon, 12 Jun 2023)
New Revision: 1340

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-fonts-cjk.tex
Log:
Fixed invalid HTF files for gbkhei fonts

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2023-06-11 15:01:09 UTC (rev 1339)
+++ trunk/lit/ChangeLog	2023-06-12 10:57:09 UTC (rev 1340)
@@ -1,3 +1,9 @@
+2023-06-12  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-fonts-cjk.tex (
+	tex4ht.dir/texmf/tex4ht/ht-fonts/alias/gbk/gbkhei/*.htf
+	): fixed invalid HTF files.
+
 2023-06-08  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-html4.tex (html4.4ht): removed spurious </p> after the

Modified: trunk/lit/tex4ht-fonts-cjk.tex
===================================================================
--- trunk/lit/tex4ht-fonts-cjk.tex	2023-06-11 15:01:09 UTC (rev 1339)
+++ trunk/lit/tex4ht-fonts-cjk.tex	2023-06-12 10:57:09 UTC (rev 1340)
@@ -25106,15 +25106,18 @@
 
 \def\GbkAlias#1#2{%
      \def\CURR{#1\ifnum\GBK<10 0\fi\GBK}
-     \def\curfnt{#1}\def\tmp{gbkhei}\ifx \curfnt\tmp
-       \leavevmode
-           \special{t4ht>\CURR.log}%
-            \special{t4ht=htfcss: 
-                \CURR\space font-family: }\HChar{186}\HChar{218}%
-            \HChar{204}\HChar{229}\special{t4ht=, sans-serif;}\hfill\break
-            \special{t4ht<\CURR.log}
-        \Needs{"mv \CURR.htf tmp; cat tmp \CURR.log > \CURR.htf; rm \CURR.log"}
-      \fi
+     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+     % what was the purpose of this code? it produced invalid output for the gbkhei fonts
+     % \def\curfnt{#1}\def\tmp{gbkhei}\ifx \curfnt\tmp
+     %   \leavevmode
+     %       \special{t4ht>\CURR.log}%
+     %        \special{t4ht=htfcss: 
+     %            \CURR\space font-family: }\HChar{186}\HChar{218}%
+     %        \HChar{204}\HChar{229}\special{t4ht=, sans-serif;}\hfill\break
+     %        \special{t4ht<\CURR.log}
+     %    \Needs{"mv \CURR.htf tmp; cat tmp \CURR.log > \CURR.htf; rm \CURR.log"}
+     %  \fi
+     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      \immediate\write\dbcs{\string\<\CURR\string\><<<}
      \immediate\write\dbcs{.gbksong\ifnum\GBK<10 0\fi\GBK}
      \immediate\write\dbcs{#2}
@@ -25138,7 +25141,7 @@
 
   \SECTION{gbkcy}{htfcss: \CURR\space font-family:fantasy;}
   \SECTION{gbkfs}{htfcss: \CURR\space font-style: italic;}
-%  \SECTION{gbkhei}{htfcss: \CURR\space font-family: ºÚÌå, sans-serif;}
+ % \SECTION{gbkhei}{htfcss: \CURR\space font-family: ºÚÌå, sans-serif;}
   \SECTION{gbkhei}{}
   \SECTION{gbkkai}{htfcss:
         \CURR\space font-family: monospace,monospace; font-style: italic;}



More information about the tex4ht-commits mailing list.