## Font not loadable - fontools problem

tex

### Next

• 1. Latex/Anchoring a Table to the top of page
Hello, I was wondering if anyone knew how to anchor a table to the top of a page? Latex seems to let it float around the page when there is a lot of space available. I could include some example code below... cheers - Kingsley \begin{table} \renewcommand{\arraystretch}{1.3} \caption{6-State Partition Adaptation at $P_{e} = 10^{-1}$ } \label{table_example} \centering \begin{tabular}{c|c} \hline SNR range (dB) & Assigned parameters (m,R) \\ \hline \hline 0.0 - 3.2 & QPSK, 2/5 \\ \hline 3.4 - 6.6 & 8PSK, 1/3 \\ \hline 6.8 - 29 & 16QAM, 1/3 \\ \hline 29.2 - 50 & 64QAM, 1/3 \\ \hline \end{tabular}
• 2. putting wide matrix into one column in a two-column setting
I have a 14x14 matrix which is too wide to be put into one column in a two-column typesetting. I wonder how to get around this problem without having to breaking the matrix into two 14x7 matrices. Thanks.
• 3. tables and section
"Sergio Rojas" < XXXX@XXXXX.COM > wrote in message news: XXXX@XXXXX.COM ... > Could somebody, please, point out how to keep in the same page > a section and two tables (that fix in one page)? Using the > format given below, latex put the section name in one page and > the tables in a differnt page.: > > {\samepage{ > \subsubsection{name} > \input{Tables/tab1.tex} > \input{Tables/tab2.tex} > }} > > tab1.tex looks like: > > \begin{table} > \begin{center} > \begin{tabular}{|c|c|c|c|c|} > \hline > \rowcolor{niceyellow} > Nodes & L2 Norm & R L2 & Max Norm & R Max Norm > \\ > \hline > 11 & 0.00724585 & --- & 0.00539460 & --- > \hline > \end{tabular} > }} > \caption{Summary of convergence results for problem \mynumtype{myexctr}} > \end{center} > \end{table} The table environment floats. If you really want the tabulars just where you put them, just use the tabular environment with a fixed caption from the ccaption (double c) package. You can find other suggestions in the FAQ. Peter W.
• 4. Incompatibility of "color" package?
I would check if all the braces are balanced. Matthew Low On Mon, 25 Aug 2003, Chia C Chong wrote: > Hi! > > I am trying to use "color" package to highlight some of the words. > This package seems to work perfectly until recently when I am using the > \begin{figure}...\end{figure} command in which I am no longer able to > compile my document anymore. Anyone come across the same problem before? The > following is the warning message I saw if I used the color package and the > \begin{figure} command... > > Cheers, > CCC > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > File: Chapter2/fig1.eps Graphic file (type eps) > <Chapter2/fig1.eps> > ! Too many }'s. > \color@endbox ->\color@endgroup \egroup > > l.79 \end{figure} > > ? > > > > >
• 5. How not to indent...
I use "\noindent" as told to but the section get's a small indentation anyway. I suspect it might have to do with the fact that i put an image in there (between the sections, that is). And that's the other issue - for some reason the image get's put after the first row of the other section not between the first and the second as supposed to. I try to make the computer understand that by "[h]" but blah... -- Kindly Konrad --------------------------------------------------- Sleep - thing used by ineffective people as a substitute for coffee Ambition - a poor excuse for not having enough sence to be lazy ---------------------------------------------------

### Font not loadable - fontools problem

I'm trying to install Myriad Pro Opentype fonts with the help of
fontools scripts:

Everything seems to be ok until I launch Yap previewer and see that no
fonts are load, the error message says:

-----------------

Making PK font:
720 600 magstep(1.0) ljfour
Trying to make PK font "LY1--MyriadPro-Regular--base" (at 720 DPI)...
makepk: "LY1--MyriadPro-Regular--base.pk" could not be created.

-----------------

What is missing? I've put all pfb, fd, vf, enc, tfm, map and sty files
and issued mktexlsr before updmap.

Thanks,

Bernhard Enders.



### Re: Font not loadable - fontools problem

Problem found: the MyriadPro.map file was missing from texmf tree. Now
it works. Sorry for the inconvenience.

Bernhard Enders.



Hello,

I started to use CJK in LaTeX recently, and I spend a lot of time
trying to fix the following problem:

! Font C70/song/m/n/9/65=cyberb65 at 9.0pt not loadable:

relax
l.74 ^^e6^^97^^a0
\par
?

I searched Internet to find a fix. I'm not the only one who got such
error, but the only recommendation was to correctly install CJK fonts.
Unfortunately, it wasn't my case. My CJK fonts were installed and
worked.

Finally, I've traced the source of the problem and fixed it. I share
the solution in hope that someone somewhen found it useful.

I use background texts which are produced in \EveryShipout. The text
should be displayed in Helvetica font, so the shipout code contains:

... \fontfamily{phv}\selectfont ...

Now let's trace TeX execution. It processes CJK text, and the current
encoding is some "CXX". A page is full, so shipout procedure is
activated. "Selectfont" tries to load "phv" for "CXX" encoding (font
shape "CXX/phv/m/n"). It's undefined, so fallback is "CXX/song/m/n",
which somehow is translated to "cyberbXX" (my CJK font), and for some

The fix is simple. The shipout code should also define the font
encoding:

... \fontfamily{phv}\fontencoding{T1}\selectfont ...

All this seems obvious now, but it wasn't easy to realize. TeX error
message is very misleading: error context is the source code, not the
shipout code.



Thanks for being so responsive, Derek! I am mailing you the file in
question.

The Debian freetype package I use claims to be 2.0.9-1 (I have also
installed freetype1-tools version 1.4pre20011029-1, but I doubt this
matters). xpdf is 1.00-3.1.

Meanwhile, I have run a couple of tests using different options for
the PostScript output from Word. The (I suppose quite popular) way I
use to convert Word to PostScript is to "print" it to a PostScript
printer but redirect this to a file. I have discovered there are a few
switches in the printer settings (I am translating these since my
stuff is in German; the wording might not be exactly what is said in
English) that do influence the result in a more or less pronounced
way:

- you can choose between "download TrueType fonts to the printer as
softfonts" and "replace TrueType by printer fonts"

"outline" (or "shape"?), and "TrueType"

- a third option the name of which I have forgotten offers you the
choice between "optimise speed", "optimise portability",
"encapsulated postscript", and "archive (the) format".

I have run tests combining almost all these options (I have NOT tried,
however: 1) "replace TT by printer fonts", because this was not what I
was concerned about (I assume that would produce more portable
documents if you are using Helvetica and Times and the like), 2)
speed", which does not make sense when printing to a file), amounting
to a total of 9 combinations for the PostScript output from Word.

That postscript output was then, still under Windows, converted to PDF
1.3 by FreePDF, which really uses AFPL Ghostscript 8.14. Because I had
become curious, I also ran this step under Linux, using the ps2pdf13
script which invokes GNU Ghostscript 6.53.

I have tried viewing both the PS files and the PDF files. The former
with gsview under Windows, and gv under Linux, both of which use the
respective Ghostscript versions. I tried viewing the resultant PDF
under Windows. Under Linux, I tried xpdf and gv.

Of course the results fill a table with 9 rows and 12 columns, which
I'll mail to anyone who's interested, but I'll extract here what
pertains to the question I have posted here:

- the problem with the boxes instead of glyphs arises only if the TT
supposedly meaning the same).

Interestingly, both xpdf and gv have this problem if the PDF was
produced under Windows (though the boxes look somewhat different in

Very interestingly, if the PS->PDF conversion step was performed
under Linux instead, xpdf displays PART of the file (roughly the
second part), while gv displays the whole. The Windows viewers have
again no problem, but there is a difference: with Acrobat Reader 5,
the result looks very pixelish, if not to say unpleasant to read.

- when the TT fonts are downloaded to the "printer" as "outline" (or
"shape"?), the results are fine (and very similar) on all viewers I
tried out (and regardless of whether PS-->PDF was done under Win or
Linux). This was apparently the only PDF deserving the attribute
"portable" one could produce with the tools I had.

- the "illegal bfrange" message seems to lead on the wrong path: it is
issued if and only if the PDF was produced by the win combo
(FreePDF/AFPL gs 8.14), but not if it was produced by ps2pdf13 under
Linux (GNU gs 6.53). This is so regardless of other factors, and
does not seem to have an impact on the display of the file.

Although I now know (by trial and error) HOW to produce one kind of
"P"DF, I have no idea why this is the case. If in both cases, TrueType
fonts are embedded (but are they?), there should be no problem with
either. But what is the difference between PostScript with embedded
TrueType "as TrueType", and with TrueType as "outline" (or "shape")?
And in what way do PDF documents normally contain/embed/use
TrueType? Do they normally need the external .ttf files?

The reason for my concern is that I expect from a "portable" document
format to be portable. Hence I assume there must be a standard way of
implementing things, not several possibilities. At least if using
TrueType in PDF _is_ to be considered standard.

--

Florian v. Savigny

If you are going to reply in private, please be patient, as I only
check for mail something like once a week. - Si vous allez rondre
personellement, patientez s.v.p., car je ne lis les courriels
qu'environ une fois par semaine.


Hi!

When installing a new LaTeX font from Postscript type1 I put the following
line in my fontinst driver file:

\substitutesilent{bx}{b}

But I?m still getting the LaTeX font warning:

Font shape T1/pbbx/bx/n' in size <12> not available
Font shape T1/pbbx/b/n' tried instead on input line 11.

So, what is \substitutesilent for? If we have to put
\renewcommand*{\bfdefault}{b} in every font package we create, why use
\substitutesilent?

Another question: Is a verbose fontinst file really necessary to install
semibold weight available in a font set. Can \latinfamily macro do this
task, how? I've got the following warning when using \latinfamily:

LaTeX Font Warning: Font shape T1/pbbx/sb/n' undefined

TIA,

Bernhard.
`