Bug#537284: Ligature fi becoming ø in avant garde
Control: severity -1 minor Control: notforwarded -1 Am 16.07.2009 um 19:27 teilte Anthony DeRobertis mit: Hi, As explained the issue is now solved, except for "chancery". I lower to minor for now. Please not that I had to change the command to "mk4ht htlatex a.tex", else the compilation fails. As I don't understand anything of tex4ht I can't tell if this is a new bug. Hilmar The following input: \documentclass{article} \usepackage{avant} \usepackage[T1]{fontenc} \begin{document} first \textsf{first} \end{document} with the following command: mk4ht htlatex a.tex "html,uni-html4,css2,charset=utf-8,info" " -cunihtf -utf8" gets the following HTML output: first ørst Notice how the fi (fi; U+FB01) ligature becomes ø (small o stroke; U+00F8). -- sigfault OpenPGP_signature Description: OpenPGP digital signature
Bug#537284: Ligature fi becoming ø in avant garde
On 16.07.09 19:27, Anthony DeRobertis wrote: Hi Anthony, > The following input: > > \documentclass{article} > \usepackage{avant} > \usepackage[T1]{fontenc} > \begin{document} > > first > > \textsf{first} > > \end{document} > > with the following command: > > mk4ht htlatex a.tex "html,uni-html4,css2,charset=utf-8,info" " -cunihtf > -utf8" > > gets the following HTML output: > > first > > ørst > > Notice how the fi (fi; U+FB01) ligature becomes ø (small o stroke; U+00F8). > We got the following two statements from upstream: Michal Hoftich: Thanks for the report. The 8-bit fonts can be sometimes a bit mess. Even if a standard encoding is used, some characters, especially ligatures can be non-standard, which results in such errors. tex4ht uses special files with conversion tables between font characters and Unicode. These tables were originally written by hand, so they may contain errors. I've fixed the files using Htfgen [1], tool that can generate conversion tables automatically. I've fixed lot of bugs and added new features to this tool, so the updates for text fonts should be mostly automatic in the future. Math fonts are a different story, as they often contain unique glyphs that are not even in Unicode. Karl Berry: I committed the new versions of the adobe htf files to TeX Live (r51905). I also realized that a number of htf files were being generated in tex4ht dev but weren't in TL yet, so I committed those too (r51906). Finally, I noticed that three files in TL were no longer being generated (as far as I could see), so I removed them: unicode/ec/eccc.htf unicode/pxfonts/pxbsyc.htf unicode/txfonts/t1x.htf (in texmf-dist/tex4ht/ht-fonts). Guess we'll see if that causes trouble. More discrepancies remain between dev and tl, but we'll resolve those another time. Closing this ... Now your minimal example works and also the other font families you mentioned later one, except "chancery". I guess I have to open another bug w/ lower prio to have this part of the issue solved too. Hilmar -- sigfault #206401 http://counter.li.org signature.asc Description: OpenPGP digital signature
Bug#537284: Ligature fi becoming ø in avant garde
Control: forwarded 537284 https://puszcza.gnu.org.ua/bugs/index.php?433 Am 16.07.2009 um 19:27 teilte Anthony DeRobertis mit: > The following input: > > with the following command: > > mk4ht htlatex a.tex "html,uni-html4,css2,charset=utf-8,info" " -cunihtf > -utf8" > > gets the following HTML output: > > first > > ørst > > Notice how the fi (fi; U+FB01) ligature becomes ø (small o stroke; U+00F8). > Forwarded to upstream for now. H. -- sigfault #206401 http://counter.li.org signature.asc Description: OpenPGP digital signature
Bug#537284: Ligature fi becoming ø in avant garde
On Fri, Jul 17, 2009 at 09:35:21AM +0530, Kapil Hari Paranjape wrote: Hello, On Thu, 16 Jul 2009, Anthony DeRobertis wrote: The following input: \documentclass{article} \usepackage{avant} \usepackage[T1]{fontenc} The problem is with this line. It confuses TeX4HT in its attempt to map TeX fonts to HTML fonts using the .htf files. Without this, the conversion works correctly. That was a minimal example: It also works correctly w/o the \usepackage{avant} line as well. So fontenc is fine with Computer Modern, but not Avant Garde. These fonts work: - computer modern (default) - lmodern - charter - palatino - times (both serif and sans-serif) - utopia These do not: - avant - bookman (both serif and sans-serif broken) - chancery - newcent (both serif and sans-serif) -- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#537284: Ligature fi becoming ø in avant garde
Package: tex4ht Version: 20090521-1 Severity: normal The following input: \documentclass{article} \usepackage{avant} \usepackage[T1]{fontenc} \begin{document} first \textsf{first} \end{document} with the following command: mk4ht htlatex a.tex html,uni-html4,css2,charset=utf-8,info -cunihtf -utf8 gets the following HTML output: first ørst Notice how the fi (fi; U+FB01) ligature becomes ø (small o stroke; U+00F8). -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable'), (100, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages tex4ht depends on: ii libc6 2.9-12GNU C Library: Shared libraries ii libkpathsea4 2007.dfsg.2-6 TeX Live: path search library for ii tex4ht-common 20090521-1LaTeX and TeX for Hypertext (HTML) ii texlive-base-bin 2007.dfsg.2-6 TeX Live: Essential binaries tex4ht recommends no packages. tex4ht suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#537284: Ligature fi becoming ø in avant garde
Hello, On Thu, 16 Jul 2009, Anthony DeRobertis wrote: The following input: \documentclass{article} \usepackage{avant} \usepackage[T1]{fontenc} The problem is with this line. It confuses TeX4HT in its attempt to map TeX fonts to HTML fonts using the .htf files. Without this, the conversion works correctly. Regards, Kapil. -- signature.asc Description: Digital signature