## tex4ht - Bugs: bug #497, spectral font support?

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

## bug #497: spectral font support?

 Submitted by: Karl Berry Submitted on: Sat Jan 2 00:47:21 2021 Category: None Priority: 5 - Normal Severity: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open

Mon Jan 4 01:59:46 2021, comment #3:

Maybe it is possible to add a default HTF table to the tex4ht DVI processor? I've tried to look at the source code if something is here already, but I don't understand it at all.

"nofonts" cannot help, because it disables only insertion of the <span> elements. The ligature is still in the DVI file, not separate characters.

Michal Hoftich <michal_h21>
Mon Jan 4 01:24:04 2021, comment #2:

great, thanks, installed all those files in tl.

wdyt about the general problem of no htf causing ligatures to be lost? maybe could revert to "nofonts" or something if htf not found? i kind of doubt anything like that is plausible, but wanted to get your reaction ...

Karl Berry <karl>
Sun Jan 3 13:02:54 2021, comment #1:

Hi Karl,

I've added a new generated literate source for spectral. It was quite easy, because they use Unicode codepoints in glyph names for this font, so there are no missing characters :)

Best,
Michal

Michal Hoftich <michal_h21>
Sat Jan 2 00:47:21 2021, original submission:

hi michal - It seems there are no htf files for the spectral font family (ctan.org/pkg/spectral). maybe you can run your magic setup and make them?

as a result, the following trivial file outputs o^@line (where ^@ is a zero byte) instead of "offline", with both make4ht try.tex and htlatex try.tex <usual args>. is there some way that the defaults can not result in destroying ligatures? probably not an easy thing to figure out, but figured i could ask the question :).

\documentclass{article}
\usepackage{spectral}
\begin{document}\thispagestyle{empty}
offline
\end{document}

thanks,
karl

Karl Berry <karl>

No files currently attached

Depends on the following items: None found

Items that depend on this one: None found

Carbon-Copy List
• -unavailable- added by michal_h21 (Posted a comment)
• -unavailable- added by karl (Submitted the item)
•

Do you think this task is very important?
This task has 0 encouragements so far.

Only logged-in users can vote.

Please enter the title of George Orwell's famous dystopian book (it's a date):