home *** CD-ROM | disk | FTP | other *** search
- <head>
- <title="...forever...">
- <font=monaco10.fnt>
- <font=newy36.fnt>
- <font=time24.fnt>
- <image=back.raw w=256 h=256 t=-1>
- <buf=1523>
- <bgcolor=-1>
- <background=0>
- <link_color=253>
- <module=console.mod>
- <pal=back.pal>
- colors:
- 251 - black
- </head>
- <body>
- <frame x=0 y=0 w=640 h=1523 b=-1 c=-1>
-
-
- - -- - --------------------------------------
- <f1><c000> <link=pic42.scr>PDF - what's this?</l> <f0>
- <f1><c000> part #1 <f0>
- ----------------------------- -- - --- --- --
-
- I think everyone has heard about it, most of you had also such a file on your
- HD and most of you had to display such document. But did you try to understand
- what is in these files? How is it organized? Why is it so popular? Let's start
- from the beginning.
-
- PDF means 'Portable Document Format' and it was created by Adobe Systems many
- years ago. Their main goal was to develop a new document standard for all
- platforms. PDF is pretty old and the first version is dated 1990.
-
- "At that time, the PostScript(r) page description language was rapidly becoming
- the worldwide standard for the production of the printed page. PDF builds on
- the PostScript page description language by layering a document structure and
- interactive navigation features on PostScript's underlying imaging model,
- providing a convenient, efficient mechanism enabling documents to be reliably
- viewed and printed anywhere."
-
- This is what the PDF Reference says (it says also much more about the history).
- Everyone knows that in last few years PDFs are more and more popular on the
- net. One can ask why? The files are small, look exactly the same on every
- platform (about this later), gives more possibilities than any other known
- format etc. So it was just a matter of time before also we Atarians could use
- it.
-
- First step was to use the already known GhostScript. So, it works :) The last
- version ported to Atari is 6.5 (by T. Gallivan up to 1994 and later Christian
- Felsch) and the last official version is 8.x. The Atari version is pretty old,
- but it really works how it should.
-
- Then came the commercial Porthos (by Wolfgang Domr÷se) and in few weeks /
- months freeware/shareware MyPDF (by me and Eric Reboux). About this you can
- read in the article written by Adam Klobukowski...
-
- Now I want to say a few words about the PDF format, how it is built, how it
- works, what generally can and can't be stored in a PDF document.... Good
- questions. First thing that we are thinking of is simple text. That's true - we
- can save as much text as we need. This is the first really strong side of PDFs,
- but at the same time it's really still not perfect. When we write a simple
- text, like this article, we should not have any problems with it. We, as writer
- and later reader. But if we use only one nonstandard character (greek, polish
- chars etc.) we (as programmers of a PDF reader) will have some problems to
- solve. Or in other words, the rendering process will get more complicated than
- you can imagine. But these "problems" give also a lot of freedom for the writer
- and reader. Just imagine - you can display correctly a text written in Korean,
- Chinese, Russian etc. This problem is known when you use any internet browser
- or any of the known text editors.
-
- After displaying text we need sometimes to use picture(s) - vector or bitmap.
- It's also no problem using PDFs. Actually the simplest thing in PDFs is to
- store and read a vector picture. It's almost like a GEM format. So, the PDF
- writers store pictures as lines, squares, Bezier-curves (yes, there are no
- circles) etc. Some examples of vector graphics you can find on the screenshots
- - on all readers it looks exactly the same :) This is really great! Bitmap
- pictures are also really simple. There are only few supported formats. So it's
- no problem to load it and display. The only problem can be dithering - but I
- assume we are working in TrueColour.
-
- What else can be stored in PDF:
-
- - form fields - like on the web,
- - annotations for example as comments to the page,
- - thumbnails (small pictures of each page),
- - article thread - it's useful when the page is a newspaper or so,
- - interactive forms - JAVA, buttons
- - external objects - films, music, WWW, email etc.
-
- And all this should exactly the same on all readers and all platforms - it's
- really great. So, you see how much power can be found in a single PDF
- document. This is really great... Most of the PDFs (technical notes,
- instructions, prospects etc. etc.) use however only text and pictures. And
- these documents can be displayed with no problem on a standard Atari! Maybe
- only with some speed and/or displaying problems occurring while loading bitmap
- pictures. It looks like PDF is a wonderful, simple and fast new document
- format.
-
- In the next part of this article I'll try to show how many critical points are
- in a simple document and why PDFs are not so perfect.
-
- cu next time
- Rafael Kawecki
-
-
- -- - --- -- -------------------------------------------------------------------
- CHOSNECK 4th appearance contact us:
- done by the dream survivors greymsb@poczta.fm
- ----------------------------------------------------------------- -- - --- ----
- </frame>
- </body>
-