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

Bug#647225: texlive-lang-cyrillic: missing font declaration for T2A/aer



On Tue, Nov 1, 2011 at 10:59 PM, Hilmar Preusse <hille42@web.de> wrote:
> On 31.10.11 Jean-Michel Philippe (developers@doudoulinux.org) wrote:
>
>> -----------------
>> (/usr/share/texmf-texlive/tex/latex/cyrillic/t2acmr.fd)
>> *geometry auto-detecting driver*
>> *geometry detected driver: dvips*
>> LaTeX Font Warning: Font shape `T2A/aer/m/n' undefined
>> (Font)              using `T2A/cmr/m/n' instead on input line 11.
>> -----------------
>>
> This is not an error, but a warning, telling you that some fonts were
> replaced by others due to non-availability.  If songwrite fails here
> it is somewhat broken.

ACK. BTW, the warning can be reproduced with

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[russian]{babel}
\usepackage[T2A]{fontenc}
\usepackage{ae}
\begin{document}
Блъгракситкес
\end{document}

I don't see any issues with the resulting PDF file, though.

>> Investigations on the Internet showed that this is a problem of
>> font declaration.  The solution is to edit
>> /usr/share/texmf-texlive/tex/latex/cyrillic/t2acmr.fd then add the
>> following lines just before the declaration of the font “cmr” for
>> example:
>>
>> -----------------
>> \DeclareFontFamily{T2A}{aer}{}
>> \EC@family{T2A}{aer}{m}{n}{larm}
>> -----------------
>>
> Hmm, I wouldn't mix the cmr and the aer font.

ACK. It would make more sense to copy t2acmr.fd into the local texmf
path as t2aaer.fd and change all the references to cmr to aer. In the
end one should get the same result sans the warning, though.

> Further I'm not 100% sure if ae is really still needed in times of
> latin modern and cm super. Ralf, are you still on the list? Can you
> help here?

Catching up ... Given Latin Modern, ae is obsolete from my point of
view. Actually the above example uses Latin Modern fonts in the end.

cheerio
ralf



Reply to: