miktex-packaging
miktex-packaging copied to clipboard
Some `.htf` files have wrong name
- [x] I have read and acknowledged this HOWTO article:
Submitting a MiKTeX problem report
.htf
files inside /tex4ht/ht-fonts/unicode/cjk/utf8
have wrong name. Currently they are named utf8song*.htf
, but they should be unisong*.htf
. Otherwise tex4ht will complaint about:
--- warning --- Couldn't find font 'unisong*.htf' (char codes: 0--255)
when converting latex containing chinese.
For example, try to convert the following latex to html via htlatex
command.
\documentclass{article}
\usepackage{ctex}
\begin{document}
test. 测试。
\end{document}
You will find all chinese characters disappear in the output html and things like Couldn't find font 'unisong*.htf'
shown in the log.
This issue is the same as this one in texlive. It's a pretty old issue(10 years ago) and texlive have already fixed it, their files in /tex4ht/ht-fonts/unicode/cjk/utf8
are named unisong*.htf
.
Here is my MiKTeX installation report miktex-report.txt