Font Helvetica is not in the mapping file.

Bug #193913 reported by Manuel López-Ibáñez
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
r-base (Ubuntu)
Confirmed
Undecided
Unassigned
texlive-base (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

dvips complains about missing fonts:

dvips: Font Helvetica used in file figures.eps is not in the mapping file.
dvips: Font Helvetica-Bold used in file figures.eps is not in the mapping file.
dvips: Font Helvetica-Oblique used in file figures.eps is not in the mapping file.
dvips: Font Helvetica-BoldOblique used in file figures.eps is not in the mapping file.
dvips: Font Symbol used in file figures.eps is not in the mapping file.

The EPS files were generated using R.

Revision history for this message
Norbert Preining (preining) wrote : Re: [Bug 193913] [NEW] Font Helvetica is not in the mapping file.

Hi all,

please close this bug. Thanks

On Do, 21 Feb 2008, Launchpad Bug Tracker wrote:
> dvips complains about missing fonts:

and ???

> The EPS files were generated using R.

Complain to R that they use commercial fonts. dvips tells you that the
fonts are not available. THat is what it is.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <email address hidden> Vienna University of Technology
Debian Developer <email address hidden> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
MAVIS ENDERBY (n.)
The almost-completely-forgotten girlfriend from your distant past for
whom your wife has a completely irrational jealousy and hatred.
   --- Douglas Adams, The Meaning of Liff

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Can't they be mapped to Nimbus or something else?

Also, R is a GNU project, I cannot believe they ship commercial fonts or encourage their use.
http://www.gnu.org/software/r/R.html

At the very least, R could be patched to use a free-font as default.

Revision history for this message
Norbert Preining (preining) wrote : Re: [Bug 193913] Re: Font Helvetica is not in the mapping file.

On Do, 21 Feb 2008, manu wrote:
> Can't they be mapped to Nimbus or something else?

Of course they can be mapped, but if the dvi file calls for Helvetica it
calls for Helvetica.

> Also, R is a GNU project, I cannot believe they ship commercial fonts or encourage their use.
> http://www.gnu.org/software/r/R.html

They don't *ship* commercial fonts, they just reference them.

> At the very least, R could be patched to use a free-font as default.

Not up to me.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <email address hidden> Vienna University of Technology
Debian Developer <email address hidden> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
And finally, " said Max, quieting the audience down and
putting on his solemn face, "finally I believe we have with
us here tonight, a party of believers, very devout
believers, from the Church of the Second Coming of the
Great Prophet Zarquon. " ... "There they are, " said Max,
"sitting there, patiently. He said he'd come again, and
he's kept you waiting a long time, so let's hope he's
hurrying fellas, because he's only got eight minutes left!
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Actually, the fonts seem to be under /usr/lib/R/library/grDevices/afm/

/usr/lib/R/library/grDevices/afm/Helvetica.afm /usr/lib/R/library/grDevices/afm/Helvetica-BoldOblique.afm
/usr/lib/R/library/grDevices/afm/Helvetica-Bold.afm /usr/lib/R/library/grDevices/afm/Helvetica-Oblique.afm

and many more.

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Running fc-cache -f -v does not show that directory being taken into account.

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Also provided by OpenOffice.org?

/usr/lib/openoffice/share/psprint/fontmetric/Helvetica-Oblique.afm
/usr/lib/openoffice/share/psprint/fontmetric/Helvetica-Bold.afm
/usr/lib/openoffice/share/psprint/fontmetric/Helvetica.afm
/usr/lib/openoffice/share/psprint/fontmetric/Helvetica-BoldOblique.afm

Revision history for this message
Norbert Preining (preining) wrote :

On Do, 21 Feb 2008, manu wrote:
> /usr/lib/R/library/grDevices/afm/Helvetica.afm /usr/lib/R/library/grDevices/afm/Helvetica-BoldOblique.afm

That are not the fonts. That are only the font metric files. The font
definitions are missing.

On Do, 21 Feb 2008, manu wrote:
> Running fc-cache -f -v does not show that directory being taken into
> account.

fc-cache is *completely* (and always will be) independent of
dvips/tex/etc.

Please first read a bit about the font system in TeX ...

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <email address hidden> Vienna University of Technology
Debian Developer <email address hidden> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
ARDSCALPSIE (n.)
Excuse made by rural Welsh hairdresser for completely massacring your
hair.
   --- Douglas Adams, The Meaning of Liff

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Not a TeXLive bug.

Changed in texlive-base:
status: New → Invalid
Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

Norbert Preining wrote:
>
> That are not the fonts. That are only the font metric files. The font
> definitions are missing.

I see... the fonts would be the *.pfb files. So they aren't available.
And still R defaults to them. OK. I close this in texlive but certainly
*is* a bug in R-base.

Am I the only one still using R and LaTeX in GNU/Linux? Is everybody
else switching to OpenOffice/KOffice/Matlab/STATSGRAPHICS? I can't
believe the no one else has hit this problem...

> fc-cache is *completely* (and always will be) independent of
> dvips/tex/etc.

Didn't know. I thought fontconfig was for configuring fonts. Anyway, I
hope it won't always be independent. Let's hope some day you can install
a font with 1 click or 1 command. Otherwise, we are way doomed.

Thanks for the explanations.

Daniel T Chen (crimsun)
Changed in r-base:
status: New → Confirmed
Revision history for this message
Markus Kuhn (markus-kuhn) wrote :

Practically all PostScript interpreters out there either include the 13 standard fonts

  - Times (Roman, Italic, Bold, Bold Italic)
  - Helvetica (Regular, Oblique, Bold, Bold Oblique)
  - Courier (Regular, Oblique, Bold, Bold Oblique)
  - Symbol

(listed in Appendix E of the PostScript Language Reference Manual) or are automatically able to map these to equivalent and compatible alternative fonts. This has been common practice for nearly three decades now.

So I think it is inappropriate for dvips to attempt to map one the above 13 standard PostScript fonts, or complain about there use. This is clearly the job of the PostScript interpreter later in the pipeline.

So this bug report is in my opinion very clearly an issue with dvips, not a bug with R (or with any of the other thousands of EPS-generating tools out there that rely on the recipient to know the standard PostScript). Please reassign it back to texlive-base.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.