Font problem with TL'20

David Carlisle d.p.carlisle at gmail.com
Thu Dec 10 08:47:51 CET 2020


On Thu, 10 Dec 2020 at 03:29, Paulo Ney de Souza <pauloney at gmail.com> wrote:

> Awesome, thanks! David. That does solve the problem.
>
> Is it possible/feasible to trace what other packages are in the same
> situation?
>

yes I'll look, in  fact any packages using problematic \fontseries or
\DeclareFontShape were flagged with the package maintainers months before
the release (and I think by now most got changed) I think this slipped
through as it is using \usefont which we may have not searched for.

there are three instances in my texlive tree

$ pwd

/usr/local/texlive/2020/texmf-dist/tex

$ grep -r '\\usefont.*{m.}'

latex/ean13isbn/ean13isbn.sty:  \def\zw at isbnfont
{\usefont{OT1}{phv}{mc}{n}\fontsize{\zw at isbnfsize}{\zw at isbnfsize
}\selectfont}}

latex/recipecard/recipecard.cls:    \noindent\fontsize{14.4}{17}
\usefont{T1}{pzc}{mb}{it}%

latex/songs/songs.sty:  \usefont{OT1}{pzc}{mb}{it}%


we will check if the other two cases are problematic.




David


> Paulo Ney
>
> On Wed, Dec 9, 2020 at 2:11 PM David Carlisle <d.p.carlisle at gmail.com>
> wrote:
>
>>
>> In a local copy change line 91 from
>>
>>   \def\zw at isbnfont{\usefont{OT1}{phv}{mc}{n}\fontsize{\zw at isbnfsize
>> }{\zw at isbnfsize}\selectfont}}
>>
>> to
>>
>>   \def\zw at isbnfont{\usefont{OT1}{phv}{c}{n}\fontsize{\zw at isbnfsize
>> }{\zw at isbnfsize}\selectfont}}
>>
>> deleting the `m`  the interpretation of mc has changed, normally it will
>> manage to default to the right thing with a warning but here the condensed
>> form needs c explicitly otherwise it falls back on the  medium m and the
>> letters are too wide.
>>
>> David
>>
>>
>>
>> On Wed, 9 Dec 2020 at 19:36, Paulo Ney de Souza <pauloney at gmail.com>
>> wrote:
>>
>>> The small file below, used to work fine
>>>
>>> ----
>>> \documentclass{report}
>>>
>>> \usepackage{ean13isbn}
>>>
>>> \begin{document}
>>> \EANisbn[ISBN=978-80-7340-097-2]
>>> \end{document}
>>> ----
>>>
>>> used to produce a fine bar-code (and numbers on top fine) in TL-18 and
>>> TL-19.... but in TL'20 one gets:
>>>
>>> [image: image.png]
>>>
>>> with a strange error message:
>>>
>>> (/usr/local/texlive/2020/texmf-dist/tex/latex/psnfss/ot1phv.fd)
>>> LaTeX Font Warning: Font shape `OT1/phv/mc/n' undefined
>>> (Font)              using `OT1/phv/m/n' instead on input line 6.
>>> LaTeX Font Warning: Some font shapes were not available, defaults
>>> substituted.
>>>
>>> which is different from TL-18 and TL-19:
>>>
>>> (/usr/local/texlive/2018/texmf-dist/tex/latex/psnfss/ot1phv.fd
>>> File: ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv.) [1]
>>>
>>> Can anyone shed some light on what is going on?
>>>
>>> Paulo Ney
>>>
>>>
>>>
>>>
>>>
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20201210/caebf03f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 9655 bytes
Desc: not available
URL: <https://tug.org/pipermail/texhax/attachments/20201210/caebf03f/attachment-0001.png>


More information about the texhax mailing list.