[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: