Hi,
I just received a PDF doc and cannot read it since some LaTeX fonts (like
CMR10) are not embedded. Is there a way to embed these afterwards since I
cannot get the source of the PDF.
I have MiKTeX and GScript installed.
Thanks in advance,
-Hendri Adriaens.
|
|
0
|
|
|
|
Reply
|
Hendri
|
12/16/2003 3:15:40 PM |
|
Hendri Adriaens wrote:
> I just received a PDF doc and cannot read it since some LaTeX fonts (like
> CMR10) are not embedded. Is there a way to embed these afterwards since I
> cannot get the source of the PDF.
If you can enable the LaTeX fonts in GS, then you are in with a chance. Try
ps2pdf on the PDF (don't worry that it is PDF already, just rename it to
*.ps). Then you should get a new PDF with the fonts in.
Eric.
|
|
0
|
|
|
|
Reply
|
Eric
|
12/16/2003 10:35:12 PM
|
|
Eric,
> If you can enable the LaTeX fonts in GS, then you are in with a chance.
Try
> ps2pdf on the PDF (don't worry that it is PDF already, just rename it to
> *.ps). Then you should get a new PDF with the fonts in.
Thx, I tried recompiling with GS already, but that did make the problem even
worse in the sense that even Arial and Times got replaced by Courier. But I
will try adding the MiKTeX fonts dir to GS and see if that will give any
result.
Thanks for the help, best,
-Hendri Adriaens.
|
|
0
|
|
|
|
Reply
|
Hendri
|
12/17/2003 9:04:22 AM
|
|
If you have Acrobat, I would convert the PDF file back to PS (using Save
As...). Then, using Ghostview, you can convert the PS to PDF
(File...Convert and select pdfwrite as the device). Make sure that under
the properties for pdfwrite that you set the Compatibility Level to at least
1.3 (I always use 1.4).
John
"Hendri Adriaens" <spotje38REMOVE_THIS@hotmail.com> wrote in message
news:brn7is$7if$1@troll.uvt.nl...
> Hi,
>
> I just received a PDF doc and cannot read it since some LaTeX fonts (like
> CMR10) are not embedded. Is there a way to embed these afterwards since I
> cannot get the source of the PDF.
>
> I have MiKTeX and GScript installed.
>
> Thanks in advance,
> -Hendri Adriaens.
>
>
|
|
0
|
|
|
|
Reply
|
John
|
12/17/2003 9:44:31 PM
|
|
On Tue, 16 Dec 2003 16:15:40 +0100, "Hendri Adriaens"
<spotje38REMOVE_THIS@hotmail.com> wrote:
>I just received a PDF doc and cannot read it since some LaTeX fonts (like
>CMR10) are not embedded. Is there a way to embed these afterwards since I
>cannot get the source of the PDF.
Try transcoding the PDF to PDF with PStill, http://www.pstill.com
Just be sure to install the tex fonts.
- Frank
(Author of PStill)
|
|
0
|
|
|
|
Reply
|
frank
|
12/17/2003 11:07:16 PM
|
|
John, Frank,
unfortunately, none of your suggestions worked. I have the fonts installed
in MiKTeX, but these fonts are probably not in the format that Acrobat would
expect them. Hence the PDF/PS doesn't contain fonts and hence conversion
does not work (or something like that, I am not an expert).
BTW, Frank, I have worked with NSIS installers a lot and helped developing
NSIS: you should not let the installer wait for IE to be closed. IT 'hangs'
your installer and users first need to close IE before they can close the
installer. It is very confusing. Mostly due to the fact that you make the
installer on top of IE, but that thing does not do anything anymore, it is
waiting. So they will close IE quickly to be able to close the installer (if
they actually figure that out). But I guess it is the idea of a readme, that
you should read it and that it should not be closed quickly at all. Anyway,
I was just wondering why you programmed the installer like this.
Best, thanks for the suggestions, I will order a fax to be sent since I
cannot read the doc, but thanks anyway for the effort,
-Hendri Adriaens.
|
|
0
|
|
|
|
Reply
|
Hendri
|
12/18/2003 9:01:02 AM
|
|
On Thu, 18 Dec 2003 10:01:02 +0100, "Hendri Adriaens"
<spotje38REMOVE_THIS@hotmail.com> wrote:
>unfortunately, none of your suggestions worked. I have the fonts installed
>in MiKTeX, but these fonts are probably not in the format that Acrobat would
>expect them. Hence the PDF/PS doesn't contain fonts and hence conversion
>does not work (or something like that, I am not an expert).
You can also send me some samples to analyse...
>BTW, Frank, I have worked with NSIS installers a lot and helped developing
>NSIS: you should not let the installer wait for IE to be closed. IT 'hangs'
>your installer and users first need to close IE before they can close the
>installer. It is very confusing. Mostly due to the fact that you make the
>installer on top of IE, but that thing does not do anything anymore, it is
>waiting. So they will close IE quickly to be able to close the installer (if
>they actually figure that out). But I guess it is the idea of a readme, that
>you should read it and that it should not be closed quickly at all. Anyway,
>I was just wondering why you programmed the installer like this.
You are right, maybe I wanted the installer to show the readme in a
too intensive way. ;) I just fixed that in the next release of
PStill/Win (to be released soon and a free upgrade) so the installer
asks if the user wants to display the readme and start the web browser
then without waiting for completion.
Thanks for your work on NSIS, it is really a very nice and
configurable installer system that I can only recommend!
- Frank
|
|
0
|
|
|
|
Reply
|
frank
|
12/18/2003 11:59:07 PM
|
|
On Thu, 18 Dec 2003, Hendri Adriaens wrote:
> John, Frank,
>
> unfortunately, none of your suggestions worked. I have the fonts installed
> in MiKTeX, but these fonts are probably not in the format that Acrobat would
> expect them. Hence the PDF/PS doesn't contain fonts and hence conversion
> does not work (or something like that, I am not an expert).
Gsview can display PDF's using locally installed fonts. A current MiKTeX
should have the BSR/AMS Type 1 fonts. On unix I just create symbolic
links in the ghostscript Resource/Font directory:
$ cd /user/gwhite/share/ghostscript/8.11/Resource/Font/
$ ls -l CMR10*
lrwxr-xr-x 1 gwhite bod 58 Aug 26 12:04 CMR10 ->
/usr/freeware/share/texmf/fonts/type1/bluesky/cm/cmr10.pfb
Check that the .pfb files are installed in the corresponding place for
MiKTeX. Note that the fontnames in TeX documents are usually uppercase,
which the above links handle. An alternate approach is to get Fontmap.cm
from CTAN and edit the Fontmap file to use this.
> Best, thanks for the suggestions, I will order a fax to be sent since I
> cannot read the doc, but thanks anyway for the effort,
All the above is documented and works for many other people.
--
George N. White III <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia, Canada
|
|
0
|
|
|
|
Reply
|
George
|
12/19/2003 7:19:38 PM
|
|
George,
> All the above is documented and works for many other people.
Thanks for the information. Actually, I could not get it to work (probably
because I do not have the right fontmap.cm (I found one in CTAN/Bakoma)).
Maybe you could point me to the documentation you are refering to so that I
can get the right files and install them in the right way.
Thanks a lot, best,
-Hendri.
|
|
0
|
|
|
|
Reply
|
Hendri
|
12/19/2003 8:00:16 PM
|
|
Frank,
> You are right, maybe I wanted the installer to show the readme in a
> too intensive way. ;) I just fixed that in the next release of
> PStill/Win (to be released soon and a free upgrade) so the installer
> asks if the user wants to display the readme and start the web browser
> then without waiting for completion.
Good :-)
> Thanks for your work on NSIS, it is really a very nice and
> configurable installer system that I can only recommend!
Great :-)
Good luck with it, best regards,
-Hendri.
|
|
0
|
|
|
|
Reply
|
Hendri
|
12/19/2003 8:09:09 PM
|
|
On Fri, 19 Dec 2003, Hendri Adriaens wrote:
> George,
>
> > All the above is documented and works for many other people.
>
> Thanks for the information. Actually, I could not get it to work (probabl=
y
> because I do not have the right fontmap.cm (I found one in CTAN/Bakoma)).
It seems to be called Fontmap.cmr now:
% file Fontmap.cmr, last change 2001-04-27
%
% This file make the Computer Modern font files by Donald Ervin Knuth
% and other fonts distributed e.g. with the tetex TeX distribution
% http://www.tug.org/tetex/ available to ghostscript.
%
% Copyright b=A9A 2000, 2001 Karsten Tinnefeld. All rights reserved.
% Corresponding author: Karsten Tinnefeld <karsten@tinnefeld.com>
%
% This file is free software, licensed under the terms of the
% GNU lesser public license, either version 2.1 or any consecutive,
% as being obtainable from http://www.gnu.org/copyleft/lesser.html or
% FSF Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
%
% Check the canonical place for new versions of this file:
% ftp://dante.ctan.org/tex-archive/fonts/cm/ps-type1/contrib/Fontmap.cmr
% or one of its "CTAN" mirror sites. For ghostscript, please check
% http://www.ghostscript.com
%
% Apply this file by moving it to the library directory of your
% ghostscript installation (typically share/ghostscript/VERSION/lib)
% and adding the command "(Fontmap.cmr) .runlibfile" to the end of
% your "Fontmap" file in the same directory. Symlink each pfa/pfb file
% in the texmf/fonts/type1 tree of your local TeX installation to
% share/ghostscript/fonts or add these directories to the GS_FONTPATH
% environment variable.
%
% Section: bluesky/cm
% License:
% Copyright (C) 1997 American Mathematical Society. All Rights Reserved.
%
/CMB10 (cmb10.pfb) ;
/CMBSY10 (cmbsy10.pfb) ;
[...]
> Maybe you could point me to the documentation you are refering to so that=
I
> can get the right files and install them in the right way.
The Fontmap format is described in the comments at the top of Fontmap.GS,
which is included with ghostscript. Also read Fonts.htm from the GS
documentation.
PS -- are other people getting "Error: /typecheck in --mul-" for some Type
1 fonts in gs8.12 (Adobe Times-Roman, BSR CMR10, but not the URW fonts)
or does it only happen on Irix?
--
George N. White III <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia, Canada
|
|
0
|
|
|
|
Reply
|
George
|
12/23/2003 7:06:29 PM
|
|
Dear George,
thanks for that information. I found fontmap.cmr and added it to
\lib\fontmap.
Now the only thing left is to add the path of MiKTeX to GS_FONTPATH. I had
an intesive search but could nowhere find how to set this environment
variable (and I don't want to type the searchpath at the command line
everytime).
Maybe you can answer that too? Thanks already!
Best,
-Hendri.
|
|
0
|
|
|
|
Reply
|
Hendri
|
12/26/2003 10:16:05 PM
|
|
On Fri, 26 Dec 2003, Hendri Adriaens wrote:
> Dear George,
>
> thanks for that information. I found fontmap.cmr and added it to
> \lib\fontmap.
>
> Now the only thing left is to add the path of MiKTeX to GS_FONTPATH. I had
> an intesive search but could nowhere find how to set this environment
> variable (and I don't want to type the searchpath at the command line
> everytime).
>
> Maybe you can answer that too? Thanks already!
You should be able to set GS_FONTPATH the same way any other environment
variable is set (in autoexec.bat for Win9x, using the admin. tool for
Win2k and WinXP).
--
George N. White III <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia, Canada
|
|
0
|
|
|
|
Reply
|
George
|
12/29/2003 1:24:27 PM
|
|
> You should be able to set GS_FONTPATH the same way any other environment
> variable is set (in autoexec.bat for Win9x, using the admin. tool for
> Win2k and WinXP).
Thanks, will try that. Checked and GS_FONTPATH has not yet been defined at
my comp.
Best,
-Hendri.
|
|
0
|
|
|
|
Reply
|
Hendri
|
1/7/2004 3:23:21 PM
|
|
|
13 Replies
234 Views
(page loaded in 0.483 seconds)
Similiar Articles: Cambria Fonts in PDFs? - comp.sys.mac.appsComputer Modern font for Microsoft Word - comp.fonts LaTeX fonts in PDF - comp.text.pdf Computer Modern font for Microsoft Word ... Is Cambria a standard Windows font ... Change LATEX interpreter font in xlabel, ylabel, title - comp.soft ...LaTeX fonts in PDF - comp.text.pdf Change LATEX interpreter font in xlabel, ylabel, title - comp.soft ... How do I change the LATEX interpreter font in xlabel, ylabel, or ... Computer Modern font for Microsoft Word - comp.fontsCambria Fonts in PDFs? - comp.sys.mac.apps Computer Modern font for Microsoft Word - comp.fonts LaTeX fonts in PDF - comp.text.pdf Computer Modern font for Microsoft Word ... Use default latex font in Plots (not OT but almost) - comp.soft ...Inserting email link in latex - comp.text.pdf Use default latex font in Plots (not OT but almost) - comp.soft ... Inserting email link in latex - comp.text.pdf Use default ... Chalk Font? - comp.fontsSingle PDF | eHow.com The PDF, or Portable Document Format, provides a convenient way to ... LaTeX fonts in PDF - comp.text.pdf the properties for pdfwrite that you set the ... Inserting email link in latex - comp.text.pdfusing "*" font for password - comp.databases.filemaker Inserting email link in latex - comp.text.pdf Use default latex font in Plots (not OT but almost) - comp.soft ... Interpreter latex in a figure does not work - comp.soft-sys.matlab ...Use default latex font in Plots (not OT but almost) - comp.soft ... Interpreter latex in ... Prevent PDF from being copied - comp.text.pdf Interpreter latex in a figure does ... LaTeX to XeLaTeX Problem with Math Fonts... - comp.text.tex ...MikTeX 2.7, xelatex, xdvipdfmx - PDF Resolution? - comp.text.tex ... LaTeX to XeLaTeX Problem with Math Fonts... - comp.text.tex ... MikTeX 2.7, xelatex, xdvipdfmx - PDF ... using "*" font for password - comp.databases.filemakerInserting email link in latex - comp.text.pdf using "*" font for password - comp.databases.filemaker Inserting email link in latex - comp.text.pdf Use default latex font ... default font and size for all figures - comp.soft-sys.matlab ...Use default latex font in Plots (not OT but almost) - comp.soft ... Interpreter latex in ... comp.text.pdf AcroExch.PDDoc open from URL - comp.text.pdf How to reduce a PDF ... Ligaturers print incorrectly from pdf - comp.text.pdfSo I assume that the necessary fonts are embedded in the .pdf file, but ... University Department of Astronomy Making Portable Document Format (PDF) files from LaTeX ... multiple fonts in legend text - comp.soft-sys.matlabChange LATEX interpreter font in xlabel, ylabel, title - comp.soft ... multiple fonts in ... Merging pdf files - embedded font - comp.text.pdf font problems in html to pdf ... MikTeX 2.7, xelatex, xdvipdfmx - PDF Resolution? - comp.text.tex ...... graphics are imported EPS files); do I need to be concerned with output PDF ... (Adobe Reader 9.2 reports it has embedded subsets of all the fonts I expected to see ... helvetica for pc - comp.fonts... font in xlabel, ylabel, title - comp.soft ... helvetica for pc - comp.fonts Change LATEX ... Helvetica substitution - comp.text.pdf I tried to find an answer to this from ... Using a joboptions file with ps2pdf - comp.text.pdfI am using LaTeX (IEEEtran class) to typeset a paper for an IEEE ... as : Producer : ESP ghostscript 7.0.7 PDF Version : 1.3 (Acrobat 4.x) It lists a font named "A ... Using TrueType fonts with TeX and pdfTeX - Radamir.comUsing new fonts with pdfTeX and pdfLaTeX is the same as with plain TeX and LaTeX respectively. We are done... Acrobat Bug Note. PDF files are easier to work with in Adobe ... PDF Fonts - Donald Bren School of Information and Computer ...Whenever possible, please substitute Type 1 Postscript fonts for Type 3 fonts in LaTEX files, then generate PS or PDF. LaTEX FILES: PDFs generated from LaTEX files ... 7/10/2012 3:38:52 PM
|