diff options
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-fontunavail.html')
-rw-r--r-- | Master/texmf-doc/doc/english/FAQ-en/html/FAQ-fontunavail.html | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-fontunavail.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-fontunavail.html new file mode 100644 index 00000000000..24e99f1dff3 --- /dev/null +++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-fontunavail.html @@ -0,0 +1,67 @@ +<head> +<title>UK TeX FAQ -- question label fontunavail</title> +</head><body> +<h3>Warning: "Font shape ... not available"</h3> +<p>LaTeX's font selection scheme maintains tables of the font families +it has been told about. These tables list the font families that +LaTeX knows about, and the shapes and series in which those font +families are available. In addition, in some cases, the tables list +the sizes at which LaTeX is willing to load fonts from the family. +<p>When you specify a font, using one of the LaTeX font selection +commands, LaTeX looks for the font (that is, a font that matches +the encoding, family, shape, series and size that you want) in its +tables. If the font isn't there at the size you want, you will see a +message like: + +<pre> +LaTeX Font Warning: Font shape `OT1/cmr/m/n' in size <11.5> not available +(Font) size <12> substituted on input line ... +</pre> +There will also be a warning like: + +<pre> +LaTeX Font Warning: Size substitutions with differences +(Font) up to 0.5pt have occurred. +</pre> +after LaTeX has encountered <code>\</code><code>end{document}</code>. +<p>The message tells you that you've chosen a font size that is not in +LaTeX's list of "allowed" sizes for this font; LaTeX has +chosen the nearest font size it knows is allowed. In fact, you can +tell LaTeX to allow <em>any</em> size: the restrictions come from the +days when only bitmap fonts were available, and they have never +applied to fonts that come in scaleable form in the first place. +Nowadays, most of the fonts that were once bitmap-only are also +available in scaleable (Adobe Type 1) form. If your installation uses +scaleable versions of the Computer Modern or European Computer Modern +(EC) fonts, you can tell LaTeX to remove the restrictions; +use the <i>type1cm</i> or <i>type1ec</i> package as appropriate. +<p>If the combination of font shape and series isn't available, LaTeX +will usually have been told of a fall-back combination that may be +used, and will select that: + +<pre> +LaTeX Font Warning: Font shape `OT1/cmr/bx/sc' undefined +(Font) using `OT1/cmr/bx/n' instead on input line 0. +</pre> +<p>Substitutions may also be "silent"; in this case, there is no more +than an "information" message in the log file. For example, if you +specify an encoding for which there is no version in the current font +family, the 'default family for the encoding' is selected. This +happens, for example, if you use command <code>\</code><code>textbullet</code>, which is +normally taken from the maths symbols font, which is in <code>OMS</code> +encoding. My test log contained: + +<pre> +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 ... +</pre> +<p>In summary, these messages are not so much error messages, as +information messages, that tell you what LaTeX has made of your +text. You should check what the messages say, but you will ordinarily +not be surprised at their content. +<dl> +<dt><tt><i>type1cm.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/type1cm.zip">macros/latex/contrib/type1cm</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/type1cm.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/type1cm/">browse</a>) +<dt><tt><i>type1ec.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/fonts/ps-type1/cm-super/type1ec.sty">fonts/ps-type1/cm-super/type1ec.sty</a> +</dl> +<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=fontunavail">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=fontunavail</a> +</body> |