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

Re: TeX Gyre Fonts for Debian



On Sun, Aug 26, 2007 at 01:57 +0200, "Danai SAE-HAN (韓達耐)" wrote:
> On 25-08-07 21:54, Norbert Preining wrote:
> > 
> > Please take a look and tell me what you think.
> 
> Thanks for packaging this!  It looks like a very promising project.
> 
> I get the current warning:
> 
> LaTeX Font Warning: Font shape `OMS/qbk/m/n' undefined
> (Font)              using `OMS/cmsy/m/n' instead

This is a quite usual warning. For example, the following file will
produce a very similar message:

\documentclass{article}
\usepackage[T1]{fontenc}
%\usepackage{textcomp}
\begin{document}
\begin{itemize}
\item foo
\end{itemize}
\end{document}

LaTeX Font Info:    Font shape `OMS/cmr/m/n' in size <10> not available
(Font)              Font shape `OMS/cmsy/m/n' tried instead on input line 6.

What happens here is that the bullet (=\textbullet) of the itemize
environment is taken from a font with OMS encoding (one of the many
cases wher DEK put things useful for text into math fonts). In order
to circumvent this, one has to use textcomp.sty, which is commented
out in the above example. Actually, whenever you use T1 encoded fonts,
you should also load textcomp.sty.  
 
> and then it tries to create PK fonts from the EC family:
> 
> kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ec-qbkri
> mktexpk: don't know how to create bitmap font for ec-qbkri.

This is not related to the EC family but just the (odd) naming scheme
used by the TeX Gyre fonts. The names of all fonts using T1/EC/Cork
encoding start with "ec-". The above message indicates that there is
no entry for "ec-qbkri" in pdftex.map (or psfonts.map). Since it is
rather unlikely that this happens when a debian package is installed,
the most likely explanation is that at some point you called updmap as
user. This produces map files in TEXMFVAR shadowing the system wide
map files in TEXMFSYSVAR. Only the latter map files get updated when a
debian font package is installed.
 
> I don't have cm-super installed.  I'll fiddle a bit more and see if it has
> something to do with \usepackage[T1]{CJKutf8}.  If I spot anything more, I'll
> make sure to provide a minimal example file.

It is definitly unrelated to cm-super. I don't know CJKutf8, but it is
likely that it also needs textcomp.sty.

On Sun, Aug 26, 2007 at 03:08 +0200, "Danai SAE-HAN (韓達耐)" wrote:
> So now I installed cm-super and removed ~/.texmf-var/fonts/ and it works.
> I'm not sure which one of the two actually made the difference.

I am positive that the culprit where map files in
~/.texmf-var/fonts/map.

cheerio
ralf







Reply to: