Add pdf2svg 0.2.1, convert PDF to SVG.

PR:		ports/132616
Submitted by:	martin.dieringer at gmx.de
This commit is contained in:
Li-Wen Hsu 2009-03-14 16:21:09 +00:00
parent 9de0dd1eed
commit bef5688b92
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230074
4 changed files with 46 additions and 0 deletions

View file

@ -589,6 +589,7 @@
SUBDIR += panoglview
SUBDIR += panomatic
SUBDIR += passepartout
SUBDIR += pdf2svg
SUBDIR += pear-Image_3D
SUBDIR += pear-Image_Barcode
SUBDIR += pear-Image_Canvas

23
graphics/pdf2svg/Makefile Normal file
View file

@ -0,0 +1,23 @@
# New ports collection makefile for: pdf2svg
# Date created: Mar 13 2009
# Whom: martin.dieringer@gmx.de
#
# $FreeBSD$
PORTNAME= pdf2svg
PORTVERSION= 0.2.1
CATEGORIES= graphics
MASTER_SITES= http://www.cityinthesky.co.uk/files/
MAINTAINER= martin.dieringer@gmx.de
COMMENT= Convert PDF to SVG
LIB_DEPENDS= poppler-glib:${PORTSDIR}/graphics/poppler-gtk \
cairo:${PORTSDIR}/graphics/cairo \
gtk:${PORTSDIR}/x11-toolkits/gtk20
GNU_CONFIGURE= yes
PLIST_FILES= bin/pdf2svg
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (pdf2svg-0.2.1.tar.gz) = 59b3b9768166f73b77215e95d91f0a9d
SHA256 (pdf2svg-0.2.1.tar.gz) = 96e6902e0bca6aeb70f3c6621d0d95b346b14c6a0282c12c1e7635f67af0c74b
SIZE (pdf2svg-0.2.1.tar.gz) = 77601

View file

@ -0,0 +1,19 @@
Under Linux there aren't many freely available vector graphics editors and
as far as I know there are none that can edit EPS (encapsulated postscript)
and PDF (portable document format) files. I produce lots of these files in
my day-to-day work and I would like to be able to edit them. The best vector
graphics editor I have found so far is Inkscape but it only reads SVG
files... (Note: the upcoming v0.46 should be able to read PDFs!)
To overcome this problem I have written a very small utility to convert PDF
files to SVG files using Poppler and Cairo. Version 0.2.1 is available here
(with modifications by Matthew Flaschen and Ed Grace). This appears to work
on any PDF document that Poppler can read (try them in XPDF or Evince since
they both use Poppler).
So now it is possible to easily edit PDF documents with your favourite SVG
editor! One other alternative would be to use pstoedit but the commercial
SVG module costs (unsurprisingly!) and the free SVG module is not very good
at handling text...
WWW: http://www.cityinthesky.co.uk/pdf2svg.html