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

Bug#411651: marked as forwarded (epstopdf: embedding all fonts (small patch))



Your message dated Tue, 20 Feb 2007 13:16:17 +0100
with message-id <87649x81ny.fsf@riesling.zuerich.kuesterei.ch>
has caused the Debian Bug report #411651,
regarding epstopdf: embedding all fonts (small patch)
to be marked as having been forwarded to the upstream software
author(s) Heiko Oberdiek <oberdiek@uni-freiburg.de>.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
# Hallo Heiko!
#
user debian-tex-maint@lists.debian.org
clone 411651 -1
reassign -1 texlive-pdfetex
usertags 411651 cloned-in-texlive
thanks

A user of epstopdf in Debian has suggested the following patch:

Daniel Kraft <da_kraft@web.de> wrote:

> The following small patch adds an option --embed to epstopdf which
> makes epstopdf embed all fonts into the generated PDF.
>
> This is very useful when using pdflatex to compile a document with
> figures from EPS sources. Otherwise, if the figures contain
> non-embedded fonts, the resulting PDF document won't have all fonts
> embedded either, which, however, is requested by many publishers.
>
> The patch works for me, but I'm no ghostscript expert to tell if this
> is the best way to do it.
>
> Regards,
> Daniel
>
> --- /usr/bin/epstopdf	2007-01-10 12:27:16.000000000 +0100
> +++ /tmp/epstopdf	2007-02-20 11:31:51.000000000 +0100
> @@ -90,6 +90,7 @@
>  $::opt_exact=0;
>  $::opt_filter=0;
>  $::opt_outfile="";
> +$::opt_embed=0;
>  
>  ### usage
>  my @bool = ("false", "true");
> @@ -103,6 +104,7 @@
>    --(no)compress:   use compression       (default: $bool[$::opt_compress])
>    --(no)hires:      scan HiResBoundingBox (default: $bool[$::opt_hires])
>    --(no)exact:      scan ExactBoundingBox (default: $bool[$::opt_exact])
> +  --(no)embed:      embed all fonts       (default: $bool[$::embed])
>    --(no)debug:      debug informations    (default: $bool[$::opt_debug])
>  Examples for producing 'test.pdf':
>    * $program test.eps
> @@ -123,6 +125,7 @@
>    "hires!",
>    "exact!",
>    "outfile=s",
> +  "embed!",
>  ) or die $usage;
>  
>  ### help functions
> @@ -162,6 +165,12 @@
>  my $GSOPTS = "";
>  $GSOPTS = "-dUseFlateCompression=false " unless $::opt_compress;
>  
> +### option embed
> +if ($::opt_embed) {
> +    $GSOPTS .= "-dPDFSETTINGS=/printer -dSubsetFonts=true"
> +	. " -dEmbedAllFonts=true ";
> +}
> +
>  ### option BoundingBox types
>  my $BBName = "%%BoundingBox:";
>  !($::opt_hires and $::opt_exact) or

Gruß, Frank

-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)

--- End Message ---

Reply to: