GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

9 versions of Xpdf.

ProgramAgeSizeByWWWSummary
Xpdf 3.04-r1 388  2494 Luca...
Viewer for Adobe PDF files
Xpdf 3.03-r1 2262  2765 Mich...
Viewer for Adobe PDF files
Xpdf 3.02-r2 2504  3031 Luca...
Viewer for Adobe PDF files
view entry at GitHub | download recipe.bz2 file
02-permissions.patch
03-float.patch
12-fontpath.patch
Recipe
Resources/BuildInformation
Resources/Dependencies
Resources/Description
Resources/NewDependencies
description: fix a floating point quirk that is exposed by gcc 4.4
 (this was leading to slow pdf document scrolling on i386)
author: Michael Gilbert <michael.s.gilbert@gmail.com>
bug-debian: http://bugs.debian.org/577031
--- xpdf-3.02.orig/xpdf/PDFCore.h
+++ xpdf-3.02/xpdf/PDFCore.h
@@ -40,6 +40,7 @@ class PDFCore;
 #define zoomPage  -1
 #define zoomWidth -2
 #define defZoom   125
+#define EPSILON   1.0e-7	// 32-bit floating point machine precision
 
 //------------------------------------------------------------------------
 
--- xpdf-3.02.orig/xpdf/PDFCore.cc
+++ xpdf-3.02/xpdf/PDFCore.cc
@@ -445,7 +445,7 @@ void PDFCore::update(int topPageA, int s
   // object
   if (force || pages->getLength() == 0 ||
       (!continuousMode && topPageA != topPage) ||
-      zoomA != zoom || dpiA != dpi || rotateA != rotate) {
+      zoomA != zoom || fabs( dpiA - dpi ) > EPSILON || rotateA != rotate) {
     needUpdate = gTrue;
     setSelection(0, 0, 0, 0, 0);
     while (pages->getLength() > 0) {
Xpdf 3.01pl2-r3 3214  4578 Thom...
Viewer for Adobe PDF files
Xpdf 3.01pl1-r1 3214  2694 Jona...
Viewer for Adobe PDF files
Xpdf 3.00pl2-r1 3214  3900 roko
Viewer for Adobe PDF files
Xpdf 3.00pl1-r1 3214  3218 roko
Viewer for Adobe PDF files
Xpdf 3.00-r1 3214  1847
Viewer for Adobe PDF files
Xpdf 2.03-r1 3214  991
Viewer for Adobe PDF files