Commit 3a8b826b authored by Enrico Ros's avatar Enrico Ros

Copying kpdf_experiments into branch and reordering directories. Look there

for the file naming map and file  versioning. Please wait until the commit
storm ends to report any bug. Albert and Enrico
Compile fixes.

svn path=/trunk/kdegraphics/kpdf/; revision=374944
parent 6e75cd1f
SUBDIRS = xpdf conf core ui
INCLUDES = -I$(srcdir)/.. -I$(srcdir)/../splash -I$(srcdir)/../goo -I$(srcdir)/../xpdf \
-I$(top_builddir)/kpdf/kpdf/conf -I$(srcdir)/conf $(all_includes) $(FREETYPE_CFLAGS)
INCLUDES = -I$(srcdir)/xpdf -I$(srcdir)/xpdf/goo $(all_includes) $(FREETYPE_CFLAGS)
METASOURCES = AUTO
......@@ -23,7 +22,7 @@ EXTRA_DIST = kpdf.desktop
xdg_apps_DATA = kpdf.desktop
shellrcdir = $(kde_datadir)/kpdf
shellrc_DATA = kpdf_shell.rc
shellrc_DATA = shell.rc
#########################################################################
# KPART SECTION
......@@ -32,10 +31,12 @@ kde_module_LTLIBRARIES = libkpdfpart.la
libkpdfpart_la_SOURCES = dcop.skel error.cpp part.cpp
libkpdfpart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
libkpdfpart_la_LIBADD = ../xpdf/libxpdf.la conf/libconf.la $(LIB_KPARTS) $(LIB_KFILE) $(LIB_KDEPRINT) $(LIB_KUTILS) -lm
libkpdfpart_la_LIBADD = xpdf/xpdf/libxpdf.la conf/libkpdfconf.la \
core/libkpdfcore.la ui/libkpdfui.la $(LIB_KPARTS) \
$(LIB_KFILE) $(LIB_KDEPRINT) $(LIB_KUTILS) -lm
partdesktopdir = $(kde_servicesdir)
partdesktop_DATA = kpdf_part.desktop
partrcdir = $(kde_datadir)/kpdfpart
partrc_DATA = kpdf_part.rc
partrc_DATA = part.rc
......@@ -6,17 +6,15 @@ Legend:
MRG - MeRGed from head
(*) - Some parts of this item are already done
**** 2005-01-02 - MERGING TO HEAD ****
Urgent fixes in HEAD:
-> REGRESSION: find-as-you-type somewhat broken here
Urgent fixes:
-> REGRESSION: find-as-you-type somewhat broken here (enrico)
-> FIX 1/2: sync Memory Management (in Document) with the Generator (exp. undoing requests) (may Segfault!)
-> FIX 2/2: check for removing 'canUnloadPixmap' from observers in place of requesting
a list of visible pixmaps
-> FIX: priorities for requests (pageview regular over thumbnails regular over pv preloading ...)
-> FIX: linearize memory pages map iterators in respect to time
More items to add before final freeze:
Items to do before 3.4 freezes:
-> ADD: preloading (very easy, but change request a little)
-> FIX: viewport changes the right way when clicking links and TOC items (also
suggested by Mikolaj Machowski). Create a great viewport definition and merge
......
noinst_LTLIBRARIES = libconf.la
libconf_la_SOURCES = dlggeneral.ui dlgperformance.ui dlgaccessibility.ui \
preferencesdialog.cpp settings.kcfgc
INCLUDES = -I$(srcdir)/.. $(all_includes)
METASOURCES = AUTO
libkpdfconf_la_SOURCES = dlggeneral.ui dlgperformance.ui dlgaccessibility.ui \
preferencesdialog.cpp settings.kcfgc
noinst_LTLIBRARIES = libkpdfconf.la
kde_kcfg_DATA = kpdf.kcfg
......@@ -296,11 +296,13 @@ void PagePainter::paintPageOnPainter( const KPDFPage * page, int id, int flags,
p->scale( width / (double)pixmap->width(), height / (double)pixmap->height() );
p->drawPixmap( 0,0, *pixmap, 0,0, pixmap->width(), pixmap->height() );
p->restore();
// draw a cross (to that the pixmap has not the right size)
/* Code disabled (after HEAD merge). The user can recognize a wrong sized
pixmap even without the grey cross..
// draw a cross (for telling that the pixmap has not the right size)
p->setPen( Qt::gray );
p->drawLine( 0, 0, width-1, height-1 );
p->drawLine( 0, height-1, width-1, 0 );
}
*/ }
// modify pixmap following accessibility settings
if ( (flags & Accessibility) && backBuffer )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment