Outils pour utilisateurs

Outils du site


issue74:comparaison_visionneuses_pdf

Ceci est une ancienne révision du document !


Table des matières

1

In this article I want to tell you about two Linux native, open source PDF viewers that can match almost all of their Windows counterparts (and have quirkier names too!). The Contenders If you use Ubuntu, you must have come across Evince (below left)—if not necessarily by that name. The rather sterile sounding Document Viewer that Ubuntu ships with is also known as Evince. According to Carlos Gracia Campos, the current project lead, Evince was,”created by Red Hat to provide a consistent way to read any kind of paginated documents”. Evince's tagline reads—”Simply a Document Viewer.” Okular (below right), KDE's counterpart to Evince, however, came into being from KPDF—as the name suggests a KDE PDF viewer. The change of name to Okular was both logical and pragmatic. When I asked Albert Astals Cid, the project lead, about the switch, he told me,”KPDF 'has' to be a PDF viewer because of the name, while Okular not so; we could support more file formats like we do now.” Indeed, Okular's tagline proudly boasts that it is “More than a reader.” So, Evince and Okular, though part of the same large family that is FOSS, are driven by starkly different philosophies. However, do these philosophies actually dictate the development? Or are they merely descriptions of the team's vision? I decided to fire up both and load the same document (incidentally a back issue of FCM) to find out more.

Dans cet article je veux vous parler de deux visionneuses de PDF, les deux natives à Linux et Open Source. Elles peuvent égaler les performances de presque tous leurs semblables sous Windows (et, en plus, leurs noms sont plus drôles !).

Les concurrents

Si vous utilisez Ubuntu, vous avez dû rencontre Evince (ci-dessous à gauche) - bien que pas nécessairement sous cette appellation. La Visionneuse de documents, ce qui sonne très froid, intégrée à Ubuntu se nomme également Evince. D'après Carlos Gracia Campos, le directeur de projet actuel, Evince fut « créé par Red Hat pour fournir un moyen cohérent de lire tous les documents paginés. » Le slogan d'Evince est « Une visionneuse de documents, tout simplement. »

Cependant, Okular (ci-dessous à droite), l'homologue d'Evince sous KDE, s'est développé à partir de KPDF - comme le nom l'indique, une visionneuse de PDF sous KDE. Le changement de nom pour Okular était à la fois logique et pragmatique. Quand j'ai parlé de la modification à Albert Astals Cid, le directeur du projet, il m'a répondu que « vue son nom, il faut que KPDF soit une visionneuse de PDF, alors que ce n'est pas vrai dans le cas d'Okular ; on pouvait prendre en charge d'avantage de formats de fichier comme nous faisons actuellement. » En effet, le slogan d'Okular annonce fièrement qu'il s'agit de « Plus qu'un lecteur ».

Ainsi, tout en faisant partie de la même grande famille des Logiciels libres, Evince et Okular sont nourris par deux philosophies radicalement différentes. Toutefois, est-ce que ces philosophies dictent leur développement ? Ou ne sont-elles que des simples descriptions de la vision des équipes ? J'ai décidé de lancer les deux et de charger le même document (à savoir un vieux numéro du FCM) pour en découvrir davantage.

2

The User Interface The screenshots below show the file opened in the two different readers. At first glance, some things are evidently clear. Evince—which belongs to the GNOME project—is perfectly at home in Ubuntu. It has Global Menu support and its appearance compliments the Ambiance theme on my setup. The menu bar is simple and intuitive, it includes up and down arrows for navigating the document. The current page number and total number of pages are also shown—they help you get your bearings and are useful in large documents. The other important option included is the “Zoom” percentage. “Fit Page Width” and “Best Fit” are handy options that save you the effort of estimating the right percentage. The menu bar also has an option to show the parent folder to which the document belongs, which can be surprisingly useful for certain use cases (eg: browsing the FCM archive on my hard drive). Evince has a two-column UI, the first column is extremely unobtrusive and the focus is clearly on the document—extremely clever design. The first column though serves an important purpose other than just thumbnails, it also shows the bookmarks and annotations (you have to select these from a drop-down menu).

L'interface utilisateur

Les captures d'écran ci-dessous montrent le fichier ouvert dans les deux visionneuses.

À première vue, des choses sont évidemment claires. Evince– qui fait partie du projet GNOME – est parfaitement à l'aise sous Ubuntu. Il prend en charge du Menu global et son apparence complimente le thème Ambiance sur ma machine. La barre des menus est simple et intuitive ; elle comprend des flèches vers le haut et vers le bas avec lesquelles on navigue dans le document. Le numéro de la page actuelle ainsi que le nombre total des pages sont également montrés – ils vous aident à vous situer et sont utiles dans les grands documents. L'autre option importante incluse est le pourcentage du « Zoom ». « Fit Page Width » (ajuster à la largeur de la page) et « Best Fit » (ajuster au mieux) sont des options utiles qui vous épargnent le travail d'estimation du bon pourcentage. La barre des menus a également une option d'affichage du dossier parent auquel appartient le document, ce qui peut s'avérer étonnamment utile dans certains cas d'usage (par ex : parcourir l'archive FCM sur mon disque dur).

Evince possède une interface utilisateur en deux colonnes : la première est très discrète et l'interface est clairement axée sur le document – une conception très astucieuse. Cependant, la première colonne a une raison d'être importante autre que l'affichage des miniatures : elle montre également les marque-pages et les annotations (qu'il faut sélectionner dans un menu déroulant).

3

Now to Okular. A perfunctory glance at the screenshot and you would think that Okular acquits itself well in strange waters (it's part of the KDE project, remember). Sure, the UI isn't as elegant or as simple as Evince's UI, but it’s still fairly straightforward. The navigation bar has the standard “previous” and “next” buttons, a small difference from Evince—they're horizontal. And that tiny detail makes a significant difference, somehow browsing doesn't seem as intuitive as it did on Evince. The rest of the items on the navigation bar more or less match Evince's. There's a “Zoom” option with “Fit width” and “Fit page.” An added advantage are the simple “Zoom in” and “Zoom out” buttons that allow you to circumvent the percentage dilemma and simply go on clicking till you're comfortable. There's a “Browse” button that doesn't do much in particular. There's also a “Selection” tool that is simply awesome. But more about that later, let me first complete the UI description. Okular's UI can be referred to as a three-column interface. The first column has four buttons—”Contents,” “Thumbnails,” “Reviews” and “Bookmarks.” Choosing one of the four determines the contents of the next column, which, uhh, shows the thumbnails, bookmarks or annotations. The final column shows the document, again it's larger than the other two but perhaps places slightly less emphasis on the document than Evince. Having said that, the three-column view has its advantages—it makes accessing annotations and bookmarks much easier, avoiding the drop-down complication of Evince.

Au tour d'Okular. Si vous avez jeté un œil distrait à la capture d'écran, vous pourriez penser qu'il se comporte très bien en terrain inconnu (souvenez-vous, il fait partie du projet KDE). C'est vrai, l'interface utilisateur n'est ni aussi élégante ni aussi simple que celle d'Evince, mais elle est néanmoins assez facile à appréhender. Sur la barre de navigation, vous retrouverez les boutons standards « précédent » et « suivant », mais avec une petite différence par rapport à Evince – ils sont horizontaux. Et ce détail minuscule fait une différence énorme : je ne sais pas pourquoi, mais naviguer dans le document ne semble pas aussi intuitif qu'avec Evince. Les autres éléments de la barre de navigation sont à peu près les mêmes que chez Evince. Il y a une option « Zoom » comprenant « Fit width » (ajuster à la largeur) et « Fit page » (ajuster à la page). Un avantage supplémentaire sont les boutons «Zoom in » et « Zoom out » qui vous permettent de contourner la difficulté des pourcentages et de cliquer jusqu'à ce que vous soyez confortable. Il y a un bouton « Browse » qui ne fait rien de particulier. Il y a aussi un outil de « sélection » qui est tout simplement génial. Mais cela sera pour plus tard, car je voudrais d'abord terminer la description de l'interface.

4

Performance Just as we shouldn't judge a PDF by its cover page (sorry but I love bringing familiar sayings to the 21st Century), we can't be satisfied merely by analyzing the GUI of both Evince and Okular. The question is how do they perform with a large, picture-filled PDF file like an FCM edition? But, before I answer that question, a short detour. Okular, under “Settings,” has an option called “Configure Okular.” And under that there is a “Performance” tab. And in that tab lies Okular's hidden (literally) ace—memory usage modes. You can choose “low” memory usage if your machine is slow, “Normal” is the default. But if your computer is fairly modern and has RAM greater than 512 MB, choose “Aggressive.” Congratulations, you now have a PDF reader on steroids. In the comparison that follows my Okular was in “Aggressive” mode. I loaded FCM, edition #63. I then started browsing rapidly. Evince didn't much care for my style of reading, after a few pages it would show blank pages and display a rather apologetic looking yellow loading sign, accompanied by a spinning progress wheel. The delay was only a few seconds, but irritating nonetheless. In sharp contrast, Okular on opening the PDF informed me in a business-like gray message box that it had loaded the 59 page document. And it really had. I could browse through as fast as I wanted. The searches in Okular were sniper like, Google-esque—super accurate and super fast. It managed to find my name in the magazine (sorry for ego surfing) literally within seconds.

5

Annotations and other Goodies Things go downhill for Evince from here. PDFs are quickly replacing books and traditional paper documents; you want to be able to make annotations on them. Evince scored very poorly in this category. The only annotation possible is adding a small note. And in case you typed that note wrong, you can't delete it. Yes you heard me right, Evince informs you that it can't delete annotations as of now. In a nutshell, it is simply a document viewer. Okular, on the other hand, really is more than a reader. Its annotation tools prove that its boast was not an empty one. Press F6 or “Review” under “Tools,” and a plethora of icons shows up on the left-hand side of the document. Each icon depicts an annotation operation. You can make a note, make an in-line note, draw freehand, highlight, make ellipses and rectangles, and even put a stamp (Okular logo with your name) on the document. Further, the “Selection” tool in the navigation bar makes selecting text or images a snap. After you select them, you can either copy to the clipboard or directly save them in a file. It works flawlessly and is one of the most efficient ways of extracting data from a PDF that I have seen so far. Both document viewers had a “Presentation” mode that would certainly come in handy, Evince's offering was again a tad better designed.

6

Conclusion In the end however, there can only be one default PDF viewer. And that is Okular! Despite Evince's better, slicker UI, Okular's superior feature list and blazingly fast “Aggressive mode” makes it the PDF viewer of choice for FOSS fans. However.. Having said that, I would like to put forward a small addendum. While interviewing the project leads of both Evince and Okular, I realized that the projects share a close relationship. In fact they both work together on “poppler” the PDF rendering library that powers both viewers. Mr. Cid told me, “Most of the 'bad attitude' comes from user(s) than from developers.” While Mr. Campos pointed out that advanced annotations may be lacking in Evince as of now, but only because of “lack of manpower” and to remember, “that all Evince contributors are volunteers.” Whichever document viewer you choose, don't forget that a lot of effort goes into developing and maintaining both Evince and Okular. More importantly, both belong to the FOSS family and deserve appreciation—no matter what their shortcomings. Show your gratitude by dropping them an email (or even better, offering to contribute) at okular-devel@kde.org (Okular) and evince-list@gnome.org (Evince).

7

Summary – Evince The Good • Intuitive, simple and elegant user interface • A great professional looking Presentation mode • A great guide to using Evince under 'Help' > 'Contents' The Bad • Lackluster performance with large PDF files • Lack of annotation features and the inability to delete a simple note • Issues while selecting text, which the guide itself describes as a hit and trial procedure Website - http://projects.gnome.org/evince/ Summary – Okular The Good • Efficient and fast performance especially on a large PDF file • Amazing annotation options • Great text or image selection tool, in fact the best I've ever seen on any OS • Extremely powerful searches especially in the 'Aggressive' mode • The option to choose memory management modes makes it adaptable to computers of all types The Bad • A bit clunky User Interface • Sometimes the menu options don't work • May take up a lot of memory on GNOME environments as it needs the KDE dependencies Website - http://okular.kde.org/ The Winner is: Okular! BIO : Tushar is a 17-year-old Indian who loves Ubuntu/FOSS. He programs in Java and C++, enjoys writing, and making Android apps. Email him at tushar1995@gmail.com with 'Software Showdown' in the subject.

issue74/comparaison_visionneuses_pdf.1384440165.txt.gz · Dernière modification : 2013/11/14 15:42 de auntiee