Revision 728256

Go back to digest for 28th October 2007

Bug Fixes in Graphics

Albert Astals Cid committed changes in /branches/KDE/3.5/kdegraphics/kpdf/xpdf:

Splash rework, check if font is inside clip area before rendering it to a temporary bitmap. Fixes bug 150693

This change is not trivial. What i did is:
It is getGlyph the one that does the intersection between clip area and rendering area of the font instead fillGlyph2

That means some clipRes = state->clip->testRect but we win more robustness against broken pdf that specify HUGE fonts

File Changes

Modified 10 files
  • /branches/KDE/3.5/kdegraphics/kpdf/xpdf
  •   /goo/gmem.cc
  •   /goo/gmem.h
  •   /splash/Splash.cc
  •   /splash/Splash.h
  •   /splash/SplashFont.cc
  •   /splash/SplashFont.h
  •   /splash/SplashFTFont.cc
  •   /splash/SplashFTFont.h
  •   /splash/SplashT1Font.cc
  •   /splash/SplashT1Font.h
10 files changed in total