bugtex4ht - 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 <karl>
Submitted on:  Sat Jan 2 00:47:21 2021  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned 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>
Project Member
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>
Project Administrator
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>
Project Member
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>
Project Administrator

 

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?
    If so, you can click here to add your encouragement to it.
    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):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray