1. 10 Jan, 2006 1 commit
    • Jeff Muizelaar's avatar
      2006-01-10 Jeff Muizelaar <jeff@infidigm.net> · ea6d9b97
      Jeff Muizelaar authored
      	* poppler/CairoOutputDev.cc:
      	* poppler/CairoOutputDev.h:
      	Fix the following fixme in CairoOutputDevice.
      	// FIXME: This is quite right yet, we need to accumulate all
      	// glyphs within one text object before we clip.  Right now this
      	// just add this one string.
      	The fix uses a strategy similar to the one the Splash backend.
      	textClipPath is used to store the appended path from each call to
      	endString(). The accumulated path is clipped in endTextObject.
  2. 08 Jan, 2006 1 commit
  3. 07 Jan, 2006 1 commit
  4. 03 Dec, 2005 2 commits
    • Kristian Høgsberg's avatar
      2005-12-03 Kristian Høgsberg <krh@redhat.com> · 58de0458
      Kristian Høgsberg authored
              * qt/Makefile.am (noinst_PROGRAMS): Only build qt test program if
              splash is enabled.
              * poppler/CairoOutputDev.cc: Remove unused grid snapping code,
              sidestepping #4507.
              * glib/poppler-document.h (PopplerPermissions): Breaking enum
              definition over multiple lines confuses glib-mkenums (#4600).
              * poppler/Makefile.am (libpoppler_la_LIBADD): Add FREETYPE_LIBS
              * poppler/TextOutputDev.cc:
              * qt/poppler-qt.h: GCC-4.1 fixes (#5031).
    • Kristian Høgsberg's avatar
      2005-12-03 Kristian Høgsberg <krh@redhat.com> · 64079ad8
      Kristian Høgsberg authored
              Fixes from Nickolay V. Shmyrev:
              * poppler/TextOutputDev.cc (TextLine::visitSelection,
              TextBlock::visitSelection): Fix selection crash with zero-width
              word boxes or zero-height line boxes (#4402).
              * poppler/CairoOutputDev.h: Fix wrong cairo-ft.h include (#4413).
              * poppler/CairoOutputDev.cc (eoFill, fill):
              * glib/poppler-page.cc (poppler_page_render_selection): Update to
              work with new GfxColor definition and use
              cairo_pattern_create_rgba() to cache cairo_pattern_t's for the
              fill and stroke colors.
              * glib/poppler-page.cc (poppler_page_set_selection_alpha): Zero
              out pixbuf first.
  5. 30 Oct, 2005 1 commit
  6. 05 Aug, 2005 1 commit
  7. 28 Jul, 2005 2 commits
    • Albert Astals Cid's avatar
      Fontconfig patch is here, rejoice · 82638bab
      Albert Astals Cid authored
    • Kristian Høgsberg's avatar
      2005-07-28 Kristian Høgsberg <krh@redhat.com> · 9df89c49
      Kristian Høgsberg authored
              * poppler/TextOutputDev.cc (TextBlock::visitSelection): Assign
              start and stop coordinates in one place so we don't assign the
              same point to both in some corner cases.
              (TextWord::visitSelection): Initialize begin to len, not len + 1
              to fix crash.
              (TextWord::visitSelection, TextLine::visitSelection): Change
              selection trigger; now midpoint of glyph must be included in
              selection area for glyph to be in selection.
  8. 29 Jun, 2005 1 commit
    • Kristian Høgsberg's avatar
      2005-06-29 Kristian Høgsberg <krh@redhat.com> · b15a8caf
      Kristian Høgsberg authored
              * configure.ac:
              * glib/poppler-page.cc:
              * glib/poppler-page.h:
              * glib/poppler-private.h:
              * poppler/CairoOutputDev.cc:
              * poppler/CairoOutputDev.h:
              * poppler/Page.cc:
              * poppler/Page.h:
              * poppler/TextOutputDev.cc:
              * poppler/TextOutputDev.h: Add support for rendering real
              selection (based on text flow).
  9. 28 Jun, 2005 1 commit
    • Kristian Høgsberg's avatar
      2005-06-27 Kristian Høgsberg <krh@redhat.com> · 61e9bc76
      Kristian Høgsberg authored
              * poppler/CairoOutputDev.cc:
              * poppler/CairoOutputDev.h: Change CairoOutputDev to render to a
              given surface and let the user create that surface.
              * glib/poppler-document.cc:
              * glib/poppler-page.cc:
              * glib/poppler-private.h: Create the cairo image surface here
              instead and pass it to the CairoOutputDev for rendering.
              * poppler/CairoOutputDevImage.cc:
              * poppler/CairoOutputDevImage.h:
              * poppler/CairoOutputDevX.cc:
              * poppler/CairoOutputDevX.h:
              * poppler/Makefile.am: Remove specialized cairo output devices.
  10. 27 Jun, 2005 1 commit
  11. 26 May, 2005 2 commits
    • Kristian Høgsberg's avatar
      2005-05-26 Kristian Høgsberg <krh@redhat.com> · 9e6eeec5
      Kristian Høgsberg authored
              * poppler/CairoOutputDev.cc (clip): Remove snapToGrid so clip()
              prototype matches what Gfx actually calls (fixes clipping).
              * poppler/CairoOutputDev.cc: Update fill color, stroke color, fill
              opacity and stroke opacity from GfxState on restore, since they
              aren't handled by cairo_restore() (#3362).
              * poppler/CairoOutputDev.cc: Comment out tolerance setting until
              we figure out how cairo settings relate to pdf settings.
              * poppler/CairoOutputDev.cc: Support fill and stroke opacity.
    • Kristian Høgsberg's avatar
      2005-05-26 Kristian Høgsberg <krh@redhat.com> · 89a633ed
      Kristian Høgsberg authored
              * poppler/GfxState.cc:
              * poppler/GfxState.h: Add GfxColorSpace::getRGBLine here and
              implement in subclasses.
              * poppler/CairoOutputDev.cc (drawImage): Use getRGBLine here.
  12. 20 May, 2005 1 commit
  13. 12 May, 2005 1 commit
  14. 04 May, 2005 2 commits
  15. 02 May, 2005 1 commit
  16. 22 Apr, 2005 1 commit
    • Kristian Høgsberg's avatar
      Fri Apr 22 00:01:40 2005 Kristian Høgsberg <krh@redhat.com> · 42ecccf9
      Kristian Høgsberg authored
              * poppler/CairoFontEngine.cc: Hack around semi-broken cairo-0.4.0
              font API to fix the problem where some glyphs would show up at the
              wrong sizes.  We now create an FT_Face for each size and font
              combination we encounter, since an FT_Face can't be shared between
              several cairo_font_t.
  17. 21 Apr, 2005 1 commit
    • Kristian Høgsberg's avatar
      Thu Apr 21 02:25:20 2005 Kristian Høgsberg <krh@redhat.com> · 5c89902c
      Kristian Høgsberg authored
              * poppler/CairoFontEngine.cc (CairoFont::getFont): Cache
              cairo_font_t's for a given CairoFont.  With this patch cairo will
              recognize glyphs coming from the same font as such and the glyph
              cache will actually work.
              * glib/poppler-document.cc (poppler_document_new_from_file): Add
              output device (cairo or splash) to PopplerDocument and initialize
              it in the constructor.
              * glib/poppler-page.cc (splash_render_to_pixbuf,
              cairo_render_to_pixbuf): Use output device from associated poppler
              document instead of creating a new one.
              * poppler-glib.pc.in (Requires): Add Requires: field.
              * poppler/Page.cc (loadThumb): Remove unecessary and buggy call to
              Stream::addFilters(), reported by Ryan Lortie (#3046).
  18. 11 Mar, 2005 2 commits
    • Kristian Høgsberg's avatar
      2005-03-11 Kristian Høgsberg <krh@redhat.com> · e632a1d4
      Kristian Høgsberg authored
              From  Jeff Muizelaar  <jrmuizel@nit.ca>:
              * poppler/CairoOutputDev.cc (CairoOutputDev::drawImageMask): Use
              getLine instead of getPixel.
    • Kristian Høgsberg's avatar
      2005-03-10 Kristian Høgsberg <krh@redhat.com> · e2af7133
      Kristian Høgsberg authored
              From Jeff Muizelaar <jrmuizel@nit.ca>:
              * poppler/CairoFontEngine.cc (CairoFontEngine::getFont):
              Don't print "Type 3 font!" message.
              * poppler/CairoOutputDev.cc (CairoOutputDev::drawImageMask):
              Enable image mask drawing and do it properly, albeit slowly.
              * poppler/CairoOutputDev.h
              (CairoOutputDev::interpretType3Chars): Return true so that
              Gfx.cc turns type3 characters into calls to drawImageMask
  19. 05 Mar, 2005 1 commit
    • Kristian Høgsberg's avatar
      2005-03-04 Kristian Høgsberg <krh@redhat.com> · 5b2d9a61
      Kristian Høgsberg authored
              Patch from Jeff Muizelaar <jrmuizel@nit.ca>.  Changed to allocate
              glyphs using gmalloc.
              * poppler/CairoOutputDev.cc (CairoOutputDev::drawString):
              Implement drawString instead of drawChar. This change should
              make clipping to a text path work and has a performance
              improvement. Currently the code is a little ugly because we
              can't concat matrices to cairo without losing our current font.
              * poppler/CairoOutputDev.h (CairoOutputDev::useDrawChar):
              Tell Gfx.cc that it should use drawString instead of drawChar.
  20. 04 Mar, 2005 1 commit
  21. 03 Mar, 2005 1 commit