473,787 Members | 2,932 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can SVG be a potential replacement for PDF?

I'm curious to get feedback regarding the potential SVG has in
performing the same functionality as PDF for fixing documents.

Thanks.

Mark
Jul 20 '05 #1
27 3916
Mark <ma**@nowhere.c om> wrote:
I'm curious to get feedback regarding the potential SVG has in
performing the same functionality as PDF for fixing documents.


"fixing"? In what sense were they broke?
----------------------------------------
Aandi Inston qu***@dial.pipe x.com http://www.quite.com
Please support usenet! Post replies and follow-ups, don't e-mail them.

Jul 20 '05 #2
Hi Mark

Mark wrote:
I'm curious to get feedback regarding the potential SVG has in
performing the same functionality as PDF for fixing documents.


SVG is a graphic format. How would you pack a multi-page document into
that ...?

2cents
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word
Jul 20 '05 #3
Robert M. Franz wrote:
Mark wrote:
I'm curious to get feedback regarding the potential SVG has in
performing the same functionality as PDF for fixing documents.

SVG is a graphic format. How would you pack a multi-page document into
that ...?


Each page has its own SVG graphic?

Mark
Jul 20 '05 #4
Mark wrote:
I'm curious to get feedback regarding the potential SVG has in
performing the same functionality as PDF for fixing documents.

SVG is a graphic format. How would you pack a multi-page document into
that ...?


Each page has its own SVG graphic?


That seems impractical at best.

You really want to replace one PDF file with [enter your favourite whole
number] SVG files ...?

Greetinx
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word
Jul 20 '05 #5
Robert M. Franz (RMF) wrote:
Mark wrote:
Each page has its own SVG graphic?

That seems impractical at best.

You really want to replace one PDF file with [enter your favourite whole
number] SVG files ...?


So the SVG spec has not included the functionality to have multiple
SVG graphics within a single SVG file? (Of course, multiple SVG
graphics can be embedded within an XML document using a schema which
supports islands of SVG markup.)

To rephrase, does SVG have the power to be a substitute for PDF on a
page-by-page basis? For example, could SVG be used to produce IRS
forms which would look identical to the PDF versions? Or does
Postscript still have more power than SVG at the exact "fixation" of
text on a page?

Mark
Jul 20 '05 #6


Aandi Inston wrote:
Mark <ma**@nowhere.c om> wrote:

I'm curious to get feedback regarding the potential SVG has in
performing the same functionality as PDF for fixing documents.

"fixing"? In what sense were they broke?


Aw c'mon, Aandi. His meaning is clear enough. Fixing in the sense of
locking (as in fixing a microscopic specimen on a slide, for example).
Jul 20 '05 #7
Mark wrote:
I'm curious to get feedback regarding the potential SVG has in
performing the same functionality as PDF for fixing documents.


"fixing" in the sense of "prepare a self-contained, platform-independent
stand-alone document including all resources".

To answer the question in the subject: Yes, but ...

If you compare the specs, the scope of both of SVG and PDF is pretty
much equivalent. Both build upon the Adobe graphics model for rendering
objects: They share stuff like coordinate systems, graphics stack,
operator names for basic obejcts, set of allowed operators, all this
low-level stuff.

PDF is more mature in terms of specification of embedded blobs
(compression algorithms, fonts, images), but XML (and therefore future
versions of SVG) is extensible enough to support this as well. SVG would
be a lot more accessible though with a simpler structure.

There are relatively good converters between PDF<->SVG, which kind of
proves their strong relationship.

The following three are very close to each other conceptually:

* PostScript :
* strengths in printing (fonts, halftoning, support of device
dependent features in PPD, ...)

* PDF : derived from PostScript with more "web features"

* multi page documents with navigation
* much better structure than PostScript
* better compression algorithms
* mostly device-independent
* optional linear organization to improve streaming
* object tree for page independance
* support of hyperlinks
* fillable fields
* bookmarks
* scripting with JavaScript
* document meta data
* document security model
* better performance by stuff like xref table, incremental write
* one-vendor spec with advantages (consistency, reference
implementation) and disadvantages (dependency, patenting issues, ...)
* commonly seen as too complex with too many features
* specializations : PDF/A for archival, PDF/X for printing and
reliable document exchange in the graphics and publishing industry

* SVG :
* XML-based
* extensible
* single page documents
* easy to make simple examples
* scripting with JavaScript
* fits XML-based workflows best
* but: XML with namespaces gets more complex
* SVG moves towards multiple implementation profiles to support
embedded applications such as mobile phones, where PDF would be too complex
* so far Adobe makes the most wide-spread SVG viewer, it's in their
hand whether they push SVG or PDF. So far, they pushed PDF.

Microsoft wants to push SVG with Longhorn, but - as usual - they made
their own dialect of SVG called WVG (Windows Vector Graphics) with
extensions.

It's just that PDF seems to be the best mix with best software support
currently, which explains the predominance of PDF over SVG. This may
well change when SVG support esp. in browsers, features and maturity
improve.

Ralf
Jul 20 '05 #8
I understand by "fixation" you mean location or position on the page. PDF
is normally limited by the page resolution you've selected (default 1200
dpi) but can go higher (not sure of the limit). Remember, the PDF format
can and often uses a text searchable format, as well as meta-words
(keywords) and indexing to further apply the use of PDFs. An all graphic
format could have some of this, special when combined with an additional
markup or embedded application (xml, html and so on) but I doubt it would
work as smoothly nor is it likely that 3rd party software would be as
willing to interface (we like really, really well defined standards). As
for identical looking documents, you picked a very good example. IRS pdf
forms typically use a number of fonts, some not so common, to build the form
and this is where differences may start to occur (size of the dots,
arrowheads, and serifs on characters are often troublesome). Although these
differences may be miniscule, it could make some forms non-machine readable,
such as a the "notorious" Medicare services application CMS-1500 form. I do
agree however, that you certainly could build a graphic alternative to just
about any form and pass it for the original, except for text (searchable)
and embedded information, I am just not sure as to why.

Larry T.
Jul 20 '05 #9
On Tue, 26 Apr 2005 19:06:42 +0200, Ralf Koenig
<ra*********@in formatik.tu-chemnitz.de> wrote:
Microsoft wants to push SVG with Longhorn, but - as usual - they made
their own dialect of SVG called WVG (Windows Vector Graphics) with
extensions.
What else is new :-)
It's just that PDF seems to be the best mix with best software support
currently, which explains the predominance of PDF over SVG. This may
well change when SVG support esp. in browsers, features and maturity
improve.


Not forgetting the fact that Adobe's PDF reader handles SVG just fine as
it is (via a plug in for Acrobat).

--
Rex
Jul 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2517
by: Paul Miller | last post by:
We've run into minidom's inabilty to handle large (20+MB) XML files, and need a replacement that can handle it. Unfortunately, we're pretty dependent on a DOM, so a pulldom or SAX replacement is likely out of the question for now. Has someone done a more efficient minidom replacement module that we can just drop in? Preferrably written in C?
53
4968
by: Kerberos | last post by:
I followed Dan Cederholm's image replacement tutorial, to replace a header tag by a logo. The h1 is clickable if no CSS is applied but it I replace it by the logo, the area isn't clickable anymore when I pass the mouse over the logo. Is there a way to replace a link by an image that will still be clickable? Thanks, -- Kerberos.
3
9746
by: Vibha Tripathi | last post by:
Hi Folks, I put a Regular Expression question on this list a couple days ago. I would like to rephrase my question as below: In the Python re.sub(regex, replacement, subject) method/function, I need the second argument 'replacement' to be another regular expression ( not a string) . So when I find a 'certain kind of string' in
2
420
by: brian | last post by:
Hi, before coming to .NET, I utilized regular expressions mostly in JScript / JavaScript and also in my favorite text editor: TextPad (www.textpad.com) I don't know about JScript/JavaScript, but in TextPad's implementation of Regular Expressions, you can do a replacement expression like this: \i For every single non-overlapping match, it places an incrementing number starting with zero. Thus, if you searched for ^ (beginning of line...
20
5696
by: Paul D. Boyle | last post by:
Hi all, There was a recent thread in this group which talked about the shortcomings of fgets(). I decided to try my hand at writing a replacement for fgets() using fgetc() and realloc() to read a line of arbitrary length. I know that the better programmers in this group could write a more robust function, but here is my shot at it anyway. I would appreciate people's comments on my fget_line() code below (usage example included). Any...
3
9252
by: Jeffrey D. Gordon | last post by:
I'm wanting to replace Field Values in an existing PDF, I've done this with PHP by doing a replace in the file. I've been able to read the file in a byte array in c# but all my attempts to replace strings in a binary file have led to failure for the last couple of days. I've stared at this function for too long I've become crosseyed ;) Any suggestions, or is there an easier way to replace in a byte array og
1
2332
by: lawrence k | last post by:
Want to replace the limit clause in a query, but can't get it right. What's wrong with this: $pattern = "(.*)limit (.*)"; $replacement = '$1'; $replacement .= "LIMIT $limit"; $replacement .= '$2'; $query = preg_replace ($pattern, $replacement, $query);
8
8324
by: vidya.bhagwath | last post by:
Hello Experts, I am using std::string object as a member variable in one of the my class. The same class member function operates on the std::string object and it appends some string to that object. My sample code is as follows. ..h file content---------- #include <stdio.h>
3
2288
by: =?Utf-8?B?RHVrZSAoQU4yNDcp?= | last post by:
I've added a web deployment project and want to use the config section replacement but I'm obviously not understanding something. I have set up an alternate appSettings file, test.appSettings.config, and when I build the appSettings are correctly overridden, but I also end up with a copy of test.appSettings.config in my web site. If I have config sections for several environments they all get copied. How do I stop the copy? I wondered...
0
10363
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10169
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4067
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.