Commit graph

60 commits

Author SHA1 Message Date
Albert Astals Cid 99a10e1841 All fixes done in HEAD come to annotations branch
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=395067
2005-03-05 15:59:15 +00:00
Albert Astals Cid d1da5ab1b7 Add missing break
svn path=/trunk/kdegraphics/kpdf/; revision=380921
2005-01-21 20:25:23 +00:00
Waldo Bastian d923b1e8e2 Call me paranoid, but keyLength == 0 sounds like trouble.
svn path=/trunk/kdegraphics/kpdf/; revision=380498
2005-01-20 17:39:02 +00:00
Tobias Koenig a8a6011b3f Fixed security issue 'makeFileKey2 Stack Overflow'
svn path=/trunk/kdegraphics/kpdf/; revision=380043
2005-01-19 11:40:33 +00:00
Albert Astals Cid 8a07428146 xpdf code is not prepared for paths with only 1 point, skip paths that have only one point, have to check in pdf spec if paths can have 1 point (in that case should fix the fix :-) or that pdf are buggy and the fix is correct in all senses. Pages that crash are 18, 20 and 26 on Introduction_to_Jitter.pdf and page 1 on FT-857.pdf
BUG: 97131

svn path=/trunk/kdegraphics/kpdf/; revision=379020
2005-01-16 11:47:06 +00:00
Albert Astals Cid 662acc6f49 Fix the fix of the fix
svn path=/trunk/kdegraphics/kpdf/; revision=378735
2005-01-15 13:56:14 +00:00
Albert Astals Cid ef815771cf Fix my fix of #96085 as freetype treats all CID fonts the same way only from 2.1.8 and up
Kurt can you check that fixes the problem with characters not beign correctly displayed on firefox nytimes pdf?
CCMAIL: 96085@bugs.kde.org
CCMAIL: 95985@bugs.kde.org

svn path=/trunk/kdegraphics/kpdf/; revision=378732
2005-01-15 13:39:03 +00:00
Albert Astals Cid aca830739f Link to Xft libs
svn path=/trunk/kdegraphics/kpdf/; revision=376981
2005-01-09 20:20:08 +00:00
Jakub Stachowski f69c54b8a1 Restore old way of finding fonts (xpdfrc and hardcoded dirs) as backup
when fontconfig cannot find font or returns .pcf.gz. It may be removed again
when i find way to force fontconfig to match only truetype or type1 font.

svn path=/trunk/kdegraphics/kpdf/; revision=376970
2005-01-09 19:28:43 +00:00
Enrico Ros ecef2e9995 Gentoo compile fix. Using XFree 4.3.0, FontConfig 2.2.3, Freetype 2.1.9.
svn path=/trunk/kdegraphics/kpdf/; revision=376954
2005-01-09 18:49:43 +00:00
Albert Astals Cid 59a06e7da7 KPDFLinkBrowse( QString url ) { m_url = url; } -> KPDFLinkBrowse( const QString &url ) { m_url = url; }
Comment a unused variable so we don't get the warning

svn path=/trunk/kdegraphics/kpdf/; revision=376907
2005-01-09 16:56:21 +00:00
Jakub Stachowski 7713a20646 Use Xft for searching for external fonts instead of hard-coded directories.
svn path=/trunk/kdegraphics/kpdf/; revision=376902
2005-01-09 16:23:26 +00:00
Jakub Stachowski 6589342bf5 Fix copying non-latin1 chars when xpdfrc does not exist.
svn path=/trunk/kdegraphics/kpdf/; revision=376506
2005-01-08 16:21:43 +00:00
Albert Astals Cid d42321176a Render correctly Type 1 as CID fonts
Improves font rendering of fireforx nytimes pdf
BUG: 96085
CCMAIL: 95985@bugs.kde.org

svn path=/trunk/kdegraphics/kpdf/; revision=376349
2005-01-08 00:13:47 +00:00
Tobias Koenig f0d84a181f KPDF reads the transition effects from the PDF document now.
svn path=/trunk/kdegraphics/kpdf/; revision=375033
2005-01-02 20:32:58 +00:00
Albert Astals Cid af788a0b6c 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
svn path=/trunk/kdegraphics/kpdf/; revision=374914
2005-01-02 14:08:07 +00:00
Dirk Mueller 5d394eefb4 fix xpdf buffer overflow
svn path=/trunk/kdegraphics/kpdf/; revision=372724
2004-12-22 11:59:46 +00:00
Albert Astals Cid 727e371860 Add another possible font path, used by Gentoo Linux
svn path=/trunk/kdegraphics/kpdf/; revision=368646
2004-12-05 13:22:06 +00:00
Albert Astals Cid 2cb22b69a2 Print PS and not images
Fixes 92204, backporting in a moment

svn path=/trunk/kdegraphics/kpdf/; revision=359628
2004-11-01 17:51:46 +00:00
Dirk Mueller a00e614670 fix checks again
svn path=/trunk/kdegraphics/kpdf/; revision=358461
2004-10-28 09:56:24 +00:00
Dirk Mueller 641a251ea9 the "unbreak integer overflow checks". *sigh*, never trust a patch from suse.
svn path=/trunk/kdegraphics/kpdf/; revision=358427
2004-10-28 08:08:45 +00:00
Albert Astals Cid 8a7a6686b4 Remove warnings caused by the overflow checks. Aprroved by Dirk Mueller from security team
svn path=/trunk/kdegraphics/kpdf/; revision=356973
2004-10-22 21:37:33 +00:00
Dirk Mueller 60841da908 fix integer overflows
svn path=/trunk/kdegraphics/kpdf/; revision=356910
2004-10-22 18:40:07 +00:00
Albert Astals Cid 638cca06bf Add debian path for fonts, thanks teprrr for the testing
svn path=/trunk/kdegraphics/kpdf/; revision=348295
2004-09-21 21:08:40 +00:00
Adriaan de Groot 857e05fb52 Make .h safe for multiple inclusion (which happens with --enable-final)
svn path=/trunk/kdegraphics/kpdf/; revision=347729
2004-09-19 21:16:37 +00:00
Adriaan de Groot 9453a26b33 Make names unique, for --enable-final
svn path=/trunk/kdegraphics/kpdf/; revision=347727
2004-09-19 21:13:42 +00:00
Albert Astals Cid 7b935ae6ba Give our implementation of error routine, now it uses KMessageBox instead of printf
xpdf_errors.cpp contains a hand-made (ouch) list of all messages that xpdf uses in error messages

svn path=/trunk/kdegraphics/kpdf/; revision=341405
2004-08-26 16:35:29 +00:00
André Wöbbeking fc9cca559a renamed config.h to xpdf_config.h to avoid clash with kdegraphics/config.h. I hope it's OK.
CCMAIL: Albert Astals Cid <tsdgeos@terra.es>

svn path=/trunk/kdegraphics/kpdf/; revision=341132
2004-08-25 20:53:04 +00:00
André Wöbbeking 28360a7ee0 OK, no absolute include paths.
CCMAIL: Albert Astals Cid <tsdgeos@terra.es>

svn path=/trunk/kdegraphics/kpdf/; revision=341116
2004-08-25 20:30:14 +00:00
André Wöbbeking 6fbe7bfced renamed config.h to xpdf_config.h to avoid clash with kdegraphics/config.h. I hope it's OK.
CCMAIL: Albert Astals Cid <tsdgeos@terra.es>

svn path=/trunk/kdegraphics/kpdf/; revision=341110
2004-08-25 20:17:35 +00:00
André Wöbbeking b7de521fa1 find config.h and aconf.h for srcdir != builddir
CCMAIL: Albert Astals Cid <tsdgeos@terra.es>

svn path=/trunk/kdegraphics/kpdf/; revision=341088
2004-08-25 19:48:23 +00:00
Albert Astals Cid 0d6b458e3f Less warnings, these changes have been sent upstream to the xpdf author to see if he includes the changes in the original sources
svn path=/trunk/kdegraphics/kpdf/; revision=341032
2004-08-25 18:12:30 +00:00
Albert Astals Cid 75a7004a7c Detect t1lib. I've done my best to make it work, but having a configure.in.in guru over it would not hurt
svn path=/trunk/kdegraphics/kpdf/; revision=340997
2004-08-25 17:20:29 +00:00
Albert Astals Cid 264b6249ab QOutputDev is no longer a OutputDev subclass but a SplashOutputDev sublclass. That makes xpdf do all the work related to rendering (sorting lots of problems with fonts, etc). That should improve the render quality of kpdf drastically.
svn path=/trunk/kdegraphics/kpdf/; revision=340973
2004-08-25 16:27:34 +00:00
Albert Astals Cid d01d8daac8 These files are not needed
svn path=/trunk/kdegraphics/kpdf/; revision=340217
2004-08-23 20:56:27 +00:00
Albert Astals Cid 82cd404f88 Make compilation give less warnings, i'm sending that patch upstream to xpdf author to see if he adds it to the source of the "problems"
svn path=/trunk/kdegraphics/kpdf/; revision=340184
2004-08-23 19:33:12 +00:00
Albert Astals Cid 3abd57ea99 - Put xpdf 3.00 in the xpdf, goo and fofi drawers to bring the PDF 1.5 support that version has to kpdf
- Remove not used files of xpdf (images, etc) that we don't need to distribute

Please test if your kpdf behaves equally that older versions (it should only have somewhat better support to PDF 1.5)

svn path=/trunk/kdegraphics/kpdf/; revision=339928
2004-08-23 00:05:01 +00:00
Laurent Montel b16b7d1b65 Fix compile
svn path=/trunk/kdegraphics/kpdf/; revision=260605
2003-10-20 21:43:35 +00:00
Christophe Devriese 0892511b3e Added lots and lots of const goodness
svn path=/trunk/kdegraphics/kpdf/; revision=254561
2003-09-28 12:17:12 +00:00
George Staikos 03d825b185 surprise surprise surprise! more glib code finds its way into KDE CVS and guess
who gets to waste time fixing it?  dirty deeds done dirt cheap.

author: breaking compilation on purpose is not acceptable.  when your app stops
        compiling, so does the module as a whole.

I fixed a few warnings too, but it will take many hours to fix them all
probably.

svn path=/trunk/kdegraphics/kpdf/; revision=253318
2003-09-23 13:12:37 +00:00
Christophe Devriese 63670f8f74 removed the reason for lots of warnings (the deprecated conversion from "boem" to char *)
svn path=/trunk/kdegraphics/kpdf/; revision=253155
2003-09-22 19:13:38 +00:00
Dirk Mueller d432b0a07b some changes for --enable-final.
Did anybody else notice that this directory alone produces 19846
compiler warnings ?
Amazing, given that its only about 54906 lines of code.

svn path=/trunk/kdegraphics/kpdf/; revision=253027
2003-09-22 08:32:23 +00:00
Stephan Kulow 7cf549b0f6 some need to learn about dependencies ;(
svn path=/trunk/kdegraphics/kpdf/; revision=252803
2003-09-21 11:04:16 +00:00
Christophe Devriese 6415a476a8 xpdf update to version 2.02pl1
this fixes the security bug people have been complaining about

svn path=/trunk/kdegraphics/kpdf/; revision=243811
2003-08-20 21:25:12 +00:00
Christophe Devriese c4e612d688 bugfixes, removed a lot of processEvent calls that caused crashes
svn path=/trunk/kdegraphics/kpdf/; revision=242829
2003-08-15 01:46:53 +00:00
Christophe Devriese 13e8356a5b patch from uga committed
svn path=/trunk/kdegraphics/kpdf/; revision=242596
2003-08-13 23:17:56 +00:00
Laurent Montel eb168e8e27 Fix compile with gcc-2.96.
(I hope that it doesn't break compile with newer compiler)

svn path=/trunk/kdegraphics/kpdf/; revision=235425
2003-07-04 15:16:19 +00:00
Laurent Montel 806ec38cad Fix crash
svn path=/trunk/kdegraphics/kpdf/; revision=234954
2003-07-01 20:22:06 +00:00
Laurent Montel 47d5def5dc Add const
svn path=/trunk/kdegraphics/kpdf/; revision=234942
2003-07-01 19:05:24 +00:00
Laurent Montel 1ad2dedb44 Fix crash
svn path=/trunk/kdegraphics/kpdf/; revision=234941
2003-07-01 18:52:57 +00:00