delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/28/13:17:34

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CD0B13858C27
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=systematicsw.ab.ca
X-Authority-Analysis: v=2.4 cv=F+dEy4tN c=1 sm=1 tr=0 ts=61a3c796
a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17
a=IkcTkHD0fZMA:10 a=hjQgTLmkAAAA:8 a=NEAV23lmAAAA:8 a=yBR9Qs6oAAAA:8
a=e5mUnYsNAAAA:8 a=93M62sdh8gRfRwiC9Y4A:9 a=QEXdDO2ut3YA:10
a=jNJ8jSQDCmSd0H0hxmQR:22 a=7C5qix1daMSKwVux_nGC:22 a=Vxmtnl_E_bksehYqCbjh:22
Message-ID: <dc848a5b-eeb3-1a18-74c2-5dceab167d02@SystematicSw.ab.ca>
Date: Sun, 28 Nov 2021 11:16:53 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.2
Subject: Re: Request: pdf2svg 0.2.3
To: cygwin AT cygwin DOT com
References: <CAEcArF1f2KAo=oLBS8RYKKQvtN2gKF6txrM3gi30T5fQW-PQxQ AT mail DOT gmail DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Organization: Systematic Software
In-Reply-To: <CAEcArF1f2KAo=oLBS8RYKKQvtN2gKF6txrM3gi30T5fQW-PQxQ@mail.gmail.com>
X-CMAE-Envelope: MS4xfAP4atWAYyGKWYTYYPK1KIrWafo7mEffuyAsZlE6dLAWew9CJ7F+RfMxmjoOejSe6/tejreEmU1EF4KFyhzwDRb8L8suSdoNjOs2hxfDJTGueNX6Tk4N
pPLdiduC9EH19rBaf14D67feYmjOwKJsIlIqbL8I9Vb2GB10RlSJqVsoZ8IWuWzCiJeqio3/CGSZHfMElDtQ2/A0sdJUqvXPZV8=
X-Spam-Status: No, score=-1161.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, NICE_REPLY_A,
RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,
RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE,
TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 1ASIHYCt017497

On 2021-11-28 05:45, Samuel Lelièvre via Cygwin wrote:
> This is to kindly request upgrading two existing
> packages for mathematical software (Singular and
> FLINT), and creating packages for two other pieces
> of software, one mathematical library for arbitrary
> precision real and complex floating point
> calculations based on ball arithmetic (Arb),
> and one graphics utility for converting between
> graphical file formats, from pdf to svg (pdf2svg).

> - package pdf2svg 0.2.3
> 
>    http://cityinthesky.co.uk/opensource/pdf2svg/
>    https://github.com/dawbarton/pdf2svg
>    https://github.com/dawbarton/pdf2svg/releases
>    https://github.com/dawbarton/pdf2svg/tags
>    https://repology.org/project/pdf2svg/versions

The pdf2svg home page recommends instead pdftocairo from the poppler 
package, which does the same and is maintained as part of the package, 
rather than being a standalone utility which integrates the two, and is 
not as well maintained:

$ pdftocairo --help
pdftocairo version 21.01.0
Copyright 2005-2021 The Poppler Developers - http://poppler.freedesktop.org
Copyright 1996-2011 Glyph & Cog, LLC
Usage: pdftocairo [options] <PDF-file> [<output-file>]
   -png                     : generate a PNG file
   -jpeg                    : generate a JPEG file
   -jpegopt <string>        : jpeg options, with format 
<opt1>=<val1>[,<optN>=<valN>]*
   -tiff                    : generate a TIFF file
   -tiffcompression <string>: set TIFF compression: none, packbits, 
jpeg, lzw, deflate
   -ps                      : generate PostScript file
   -eps                     : generate Encapsulated PostScript (EPS)
   -pdf                     : generate a PDF file
   -svg                     : generate a Scalable Vector Graphics (SVG) file
   -f <int>                 : first page to print
   -l <int>                 : last page to print
   -o                       : print only odd pages
   -e                       : print only even pages
   -singlefile              : write only the first page and do not add 
digits
   -r <fp>                  : resolution, in PPI (default is 150)
   -rx <fp>                 : X resolution, in PPI (default is 150)
   -ry <fp>                 : Y resolution, in PPI (default is 150)
   -scale-to <int>          : scales each page to fit within 
scale-to*scale-to pixel box
   -scale-to-x <int>        : scales each page horizontally to fit in 
scale-to-x pixels
   -scale-to-y <int>        : scales each page vertically to fit in 
scale-to-y pixels
   -x <int>                 : x-coordinate of the crop area top left corner
   -y <int>                 : y-coordinate of the crop area top left corner
   -W <int>                 : width of crop area in pixels (default is 0)
   -H <int>                 : height of crop area in pixels (default is 0)
   -sz <int>                : size of crop square in pixels (sets W and H)
   -cropbox                 : use the crop box rather than media box
   -mono                    : generate a monochrome image file (PNG, JPEG)
   -gray                    : generate a grayscale image file (PNG, JPEG)
   -transp                  : use a transparent background instead of 
white (PNG)
   -antialias <string>      : set cairo antialias option
   -icc <string>            : ICC color profile to use
   -level2                  : generate Level 2 PostScript (PS, EPS)
   -level3                  : generate Level 3 PostScript (PS, EPS)
   -origpagesizes           : conserve original page sizes (PS, PDF, SVG)
   -paper <string>          : paper size (letter, legal, A4, A3, match)
   -paperw <int>            : paper width, in points
   -paperh <int>            : paper height, in points
   -nocrop                  : don't crop pages to CropBox
   -expand                  : expand pages smaller than the paper size
   -noshrink                : don't shrink pages larger than the paper size
   -nocenter                : don't center pages smaller than the paper size
   -duplex                  : enable duplex printing
   -opw <string>            : owner password (for encrypted files)
   -upw <string>            : user password (for encrypted files)
   -q                       : don't print any messages or errors
   -v                       : print copyright and version info
   -h                       : print usage information
   -help                    : print usage information
   --help                   : print usage information
   -?                       : print usage information

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019