blob: 894d757b0e303d37e1c115e9efd47f986e4a3233 [file] [log] [blame]
2006-02-09 Kristian Høgsberg <>
* Bump realease to 0.4.5.
* NEWS: Sum up changes.
* splash/ Add fix for CVE-2006-0301.
2006-01-10 Kristian Høgsberg <>
* Bump realease to 0.4.4.
* NEWS: Sum up changes.
* poppler/ Backport patch for KDE #119569.
2006-01-10 Kristian Høgsberg <>
Security patch from Martin Pitt (#5516). Multiple integer/buffer
* poppler/ (CCITTFaxStream::CCITTFaxStream): Check
columns for negative or large values (CVE-2005-3624).
* poppler/ Reset numComps to 0 since it's a global
variable that is used later (CVE-2005-3627).
* poppler/ (DCTStream::readHuffmanTables): Fix out of
bounds array access in Huffman tables (CVE-2005-3627).
* poppler/ (DCTStream::readMarker): Check for EOF in
while loop to prevent endless loops (CVE-2005-3625).
* poppler/ (JBIG2Bitmap::JBIG2Bitmap,
JBIG2Bitmap::expand, JBIG2Stream::readHalftoneRegionSeg): Check
user supplied width and height against invalid values. Allocate
one extra byte to prevent out of bounds access in combine().
2006-01-10 Kristian Høgsberg <>
* poppler/ Fix bug in last security patch (#5514).
Also, for the record, the security patch also fixes CVE-2005-3192
and CVE-2005-3193.
2005-12-18 Albert Astals Cid <>
* Better jpeg detection, refer to ml PCbsd problem
* qt/ Backport fix build on systems where fontconfig is
not on /usr/include
2005-12-12 Kristian Høgsberg <>
* Bump release.
* NEWS: Sum up changes.
2005-12-12 Kristian Høgsberg <>
* poppler/
* qt/poppler-qt.h: GCC-4.1 fixes (#5031).
* qt/ (noinst_PROGRAMS): Only build qt test program if
splash is enabled.
* poppler/ Remove unused grid snapping code,
sidestepping #4507.
* glib/poppler-document.h: Fix glib-mkenums warning (#4600).
* poppler/ (libpoppler_la_LIBADD): Add $(FREETYPE_LIBS)
* poppler/ (TextWord::visitSelection,
TextWord::visitSelection): Fix selection crash (#4402).
* poppler/CairoOutputDev.h: Fix wrong cairo-ft.h include (#4413).
* poppler/
* poppler/
* poppler/Stream.h: CVE-2005-3191 security fix.
* fofi/
* poppler/ CAN-2005-2097 security fix.
2005-10-16 Kristian Høgsberg <>
* poppler/ (GCC_PRINTF_FORMAT): Remove evil
space character in macro definition.
2005-10-05 Kristian Høgsberg <>
* glib/ (poppler_page_render_to_ps): Fix another
off-by-one page number error (#4555).
2005-09-01 Kristian Høgsberg <>
* Release 0.4.2.
* glib/ (poppler_page_prepare_output_dev): Patch
from Marco to fix more rotation special cases.
2005-08-29 Kristian Høgsberg <>
* (HAVE_FREETYPE_H): Patch from Hiroyuki Ikezoe: Set
HAVE_FREETYPE_217_OR_OLDER to 0 if we found freetype using
pkg-config (#4223).
2005-08-24 Kristian Høgsberg <>
* Bump release to 0.4.1
* NEWS: Sum up changes.
2005-08-24 Kristian Høgsberg <>
* poppler/ Push rotation argument down to
GfxState constructor. This is still not completely functional yet.
* glib/ (poppler_page_render_selection): Add
rotation argument so API is useful. Not yet implemented.
(poppler_page_prepare_output_dev): Patch from Marco to fix
rotation using the cairo backend.
Tue Aug 23 17:21:02 2005 Jonathan Blandford <>
* test/ (gtk_cairo_test_LDADD): add
FREETYPE_{CFLAGS,LIBS} to the cairo deps
2005-08-22 Kristian Høgsberg <>
* glib/
* glib/poppler-page.h:
* glib/poppler-private.h:
* glib/test-poppler-glib.c: Patch from Marco to simplify the glib
rotation API.
2005-08-21 Kristian Høgsberg <>
* Make freetype check use pkg-config if possible.
2005-08-16 Kristian Høgsberg <>
* Bump version to 0.4.0.
* NEWS: Sum up changes.
* poppler/ Add extended check for %%EOF.
2005-08-15 Kristian Høgsberg <>
* poppler/ Add fix discussed in #3131 to only use the
MacRoman char map if the font has one or the font dicts specifies
2005-08-06 Kristian Høgsberg <>
* glib/
* glib/poppler-page.h: Use GdkColor for specifying selection
colors, we alreay depend on GDK anyway.
2005-08-05 Kristian Høgsberg <>
* poppler/ (visitLine): Round selection
coordinates in device space, so selection isn't fuzzy.
* poppler/
* poppler/GfxState.h: Add simple Matrix class.
2005-08-05 Kristian Høgsberg <>
* glib/
* glib/poppler-page.h:
* poppler/
* poppler/TextOutputDev.h: Propagate selection colors to the glib API.
2005-08-01 Kristian Høgsberg <>
Patch from Dan Winship <>
* glib/ (poppler_page_copy_to_pixbuf): Set alpha to
0xff (opaque), not 0x00.
2005-07-29 Kristian Høgsberg <>
* poppler/ Finish TextSelectionDumper class for
extracting the text from a selection. Add
TextPage::getSelectionText() and TextOutputDev::getSelectionText()
methods to expose the new functionality.
* glib/ (poppler_page_get_text): Use
TextOutputDev::getSelectionText() to get the text from the
* glib/ (poppler_document_new_from_file):
* glib/ (_poppler_page_new): Add extra NULL to
g_object_new() constructor to silence gcc warning about missing
2005-07-28 Kristian Høgsberg <>
* poppler/ Add GCC_PRINTF_FORMAT macro to
annotate printf-like functions (#3638).
* poppler/Error.h: Add GCC_PRINTF_FORMAT to error().
* poppler/PSOutputDev.h: Add GCC_PRINTF_FORMAT to
* poppler/, poppler/ Quiet new
printf warnings.
* poppler/ (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.
2005-07-27 Martin Kretzschmar <>
* poppler/ (PSOutputDev): change the constructor to
take paper size and duplex setting parameters.
(init): add paper size and duplex parameters.
(writeDocSetup): add duplex parameter.
* poppler/PSOutputDev.h: update declarations.
* glib/poppler-private.h (struct _PopplerPSFile): store necessary
information to eventually construct a PSOutputDev.
* glib/ (poppler_page_render_to_ps): initialize the
output dev if it doesn't exist yet.
* glib/ (poppler_ps_file_new): don't create the
PSOutputDev here, just store filename and page range.
(poppler_ps_file_set_paper_size, poppler_ps_file_set_duplex): new
(poppler_ps_file_free): free the filename which we strdup now.
* glib/poppler-document.h: add prototypes.
2005-07-26 Albert Astals Cid <>
* qt/test-poppler-qt-cpp: Fix mem leak
2005-07-26 Kristian Høgsberg <>
* fofi/ Make check for end of encoding array a bit
more liberal so we don't crash on complex encoding arrays.
2005-07-25 Albert Astals Cid <>
* poppler/ Work on bad jpeg data that have garbage before
the start marker. Fixes bug #3299
2005-07-22 Albert Astals Cid <>
* poppler/ Fix mem leak. Reported in bug #3586 by
Kjartan Maraas, initial patch by Martin Kretzschmar.
2005-07-22 Albert Astals Cid <>
* qt/test-poppler-qt.cpp: Make it possible to change the displayed
page using Up and Down keys
2005-07-22 Albert Astals Cid <>
* splash/ Fix bugs #3728 and #3750
2005-07-20 Martin Kretzschmar <>
* glib/ (poppler_fonts_iter_get_name): if the
font is a subset, strip the ABCDEF+ tag.
(poppler_fonts_iter_get_full_name): does what the old get_name did.
(poppler_fonts_iter_get_font_type, poppler_fonts_iter_is_embedded)
(poppler_fonts_iter_is_subset): new wrappers.
* glib/poppler-document.h (PopplerFontType): new enum.
Update prototypes.
2005-07-15 Martin Kretzschmar <>
* test/ update for 2005-06-27 change to actually
display something again.
2005-07-10 Brad Hards <>
* poppler/ General cleanup - removing
dead code, and some minor tweaks. No new features.
2005-07-08 Kristian Høgsberg <>
* glib/ (poppler_page_set_selection_alpha): Add
this function to initialize the alpha channel when using the
splash backend.
* poppler/ (visitLine): Add missing scaling of
intra-line selection edges.
2005-07-07 Kristian Høgsberg <>
* glib/ (poppler_page_prepare_output_dev): Account
for page rotation when creating the cairo surface.
2005-07-06 Kristian Høgsberg <>
* glib/ (poppler_page_copy_to_pixbuf): Add out of
bounds checking (from Marco).
2005-07-07 Brad Hards <>
* qt4/src/
* qt4/src/poppler-qt4.h: Add pageLayout() function for Qt4
* qt4/tests/check_pagelayout_single.cpp:
* qt4/tests/check_pagelayout_none.cpp:
* Add unit tests for pageLayout()
* glib/ (convert_page_mode): Update to
reflect the Catalog API change. I'm not that good at glib,
so this has a non-zero chance of being pure crackrock.
* poppler/
* poppler/Catalog.h: update page mode options to PDF 1.6
* qt4/src/poppler-qt4.h:
* qt4/src/ add Qt4 bindings for additional
pageMode() value created by change above
* qt4/src/poppler-qt4.h: minor updates to API docs.
* qt4/tests/
* qt4/tests/check_pagemode_*.cpp: unit tests for Qt4 pageMode() call
and associated enum. This is the initial checkin for these files
2005-07-06 Albert Astals Cid <>
* poppler/PDFDoc.[cc|h]: Add checkFooter to check document ends with
* poppler/GfxFont.[cc|h]: Extract family, stretch and weight from the
font descriptor
2005-07-06 Brad Hards <>
* qt4/tests/
* qt4/tests/check_linearised.cpp: Added unit test for linearised
* qt4/tests/poppler-fonts.cpp (main): update to reflect API change,
and also to show "[none]" if the font is nameless.
* qt4/src/ (Poppler):
* qt4/src/poppler-qt4.h: remove the unicode translation bool,
it is really an internal thing.
2005-07-05 Albert Astals Cid <>
* qt4/src/ (Poppler):
* qt4/src/poppler-qt4.h: Don't crash with files that have fonts with
no name, for example the one found at
2005-07-05 Brad Hards <>
* qt4/tests/check_author.cpp:
* qt4/tests/check_permissions.cpp:
* .cvsignore: add a couple more test cases
* qt4/src/ (Poppler):
* qt4/src/poppler-qt4.h: Add Qt4 bindings for the
additional user permission properties.
* poppler/XRef.h:
* poppler/
* poppler/PDFDoc.h: Add some more user permissions properties -
high resolution printing, document assembly, extraction for
accessibility and form completion.
2005-07-04 Brad Hards <>
* qt4/src/ fix typo bug that
prevented correct detection of upside down pages
* qt4/tests/check-orientation.cpp: fix path to
point to test module.
* qt4/.cvsignore: update to reflect new files
* qt4/tests/
* qt4/tests/poppler-fonts.cpp: initial import of a simple font
metadata listing application.
* qt4/src/poppler-qt4.h:
* qt4/src/ complete Qt4 font metadata handling
* qt4/src/poppler-qt4.h:
* qt4/src/ change the render API to make it more
* qt4/tests/test-poppler-qt4.cpp:
* qt4/tests/stress-poppler-qt4.cpp: update to reflect changes
to render API
* poppler/FontInfo.h/cc: make FontInfo::type() return a enum
instead of a GooString. As discussed on mailing list, if you
want a string representation, you get to make one at the bindings
layer (ie typeName() didn't make the grade in the final patch)
* qt4/tests/poppler-fonts.cpp (main): change order in test
code to reflect actual testcase file
2005-07-01 Kristian Høgsberg <>
* poppler/ Make selection also work when dragging
backwards in the text flow. Currently this is a big pile of
if-statements, and there is certainly room for improvement.
2005-06-30 Kristian Høgsberg <>
* glib/poppler-page.h: * glib/
(poppler_page_copy_to_pixbuf): Fix splash compilation (patch from
(poppler_page_render_to_pixbuf): Drop dest_x and dest_y
coordinates from this function. This functionality can be
achieved using a sub-GdkPixbuf.
* glib/test-poppler-glib.c (main): Update test case.
2005-06-29 Kristian Høgsberg <>
* glib/poppler-private.h: Move TextOutputDev.h include here from
2005-06-29 Kristian Høgsberg <>
* glib/
* glib/poppler-page.h:
* glib/poppler-private.h:
* poppler/
* poppler/CairoOutputDev.h:
* poppler/
* poppler/Page.h:
* poppler/
* poppler/TextOutputDev.h: Add support for rendering real
selection (based on text flow).
2005-06-28 Albert Astals Cid <>
* poppler/FontInfo.[cc,h]: Add FontInfo::getType()
2005-06-28 Albert Astals Cid <>
* poppler/ use transformation matrix for image
2005-06-28 Brad Hards <>
* .cvsignore:
* qt4/.cvsignore:
* qt4/src/.cvsignore:
* qt4/tests/.cvsignore: update to reflect the Qt4 bindings.
2005-06-28 Brad Hards <>
* qt4/:
* Initial import of Qt4 bindings, based
on the Qt3 bindings. API is still in flux.
* poppler/AuthurOutputDev.[cc,h]:
* poppler/ Initial import of Qt4 backend renderer.
Incomplete at this stage.
2005-06-27 Kristian Høgsberg <>
* poppler/
* poppler/CairoOutputDev.h: Change CairoOutputDev to render to a
given surface and let the user create that surface.
* glib/
* glib/
* glib/poppler-private.h: Create the cairo image surface here
instead and pass it to the CairoOutputDev for rendering.
* poppler/
* poppler/CairoOutputDevImage.h:
* poppler/
* poppler/CairoOutputDevX.h:
* poppler/ Remove specialized cairo output devices.
2005-06-26 Kristian Høgsberg <>
* poppler/
* poppler/CairoOutputDev.h: Switch back to using drawChar() for
text, but utilize the beginString() and endString() hooks so we
can use cairo_show_glyphs() efficiently.
2005-06-26 Albert Astals Cid <>
* qt/
* qt/poppler-page.h: Add PageTransition class and
PageTransition* Page::getTransition() const; to the qt frontend.
2005-06-26 Martin Kretzschmar <>
* glib/.cvsignore: add poppler-enums.[ch].
* require glib 2.4+ for g_value_take_string and
2005-06-25 Jeff Muizelaar <>
* poppler/Error.h: Maybe fix build on Solaris.
2005-06-20 Kristian Høgsberg <>
* Bump version to 0.3.3 and sum up changes since
last release.
* glib/ (poppler_page_find_text): Initialize xMin
and yMin to avoid referencing unintialized memory (#3582).
2005-06-20 Martin Kretzschmar <>
* glib/ (info_dict_get_string): convert
from PDFDocEncoding to UTF-8.
2005-06-20 Kristian Høgsberg <>
* glib/
* glib/poppler-page.h:
* glib/poppler.h: Clean up glib rotation implementation and add a
getter for rotation. Patch from Marco.
2005-06-20 Kristian Høgsberg <>
* glib/
* poppler/ Fixes from Marco to handle fonts without
name (typically type 3 fonts) and fix an iterator bug.
2005-06-20 Kristian Høgsberg <>
* glib/ (poppler_page_get_link_mapping): Adjust
link coordinates so they're relative to bounding box lower left
corner (#3396).
2005-06-17 Kristian Høgsberg <>
* Patch from Emil Soleyman-Zomalan to enable checks
for automake >= 1.7 (#3554).
2005-06-15 Kristian Høgsberg <>
* glib/
* glib/poppler-document.h: Patch from Marco to get initial status
(open or closed) for bookmark subtrees.
2005-06-13 Kristian Høgsberg <>
* glib/
* glib/poppler-document.h:
* glib/poppler-private.h:
* glib/poppler.h:
* glib/test-poppler-glib.c:
* poppler/ Patch from Marco to extract font info from
2005-06-08 Kristian Høgsberg <>
* poppler/ Remember to delete tmpFileName.
Patch from Nikolai Weibull (#3491).
2005-06-07 Kristian Høgsberg <>
* qt/test-poppler-qt.cpp: Add stdlib.h include for exit().
2005-06-02 Kristian Høgsberg <>
* poppler/TextOutputDev.h:
* qt/poppler-qt.h: Patch from Stanislav Brabec <>
to fix gcc 4.0.1 warnings on undeclared friend classes.
* test/ Fix from Martin Kretzschmar
<> to compile with OPI enabled (#2911).
2005-06-02 Kristian Høgsberg <>
Patch from Stanislav Brabec <>:
* Misc fixes to pkg-config files.
2005-06-01 Jeff Muizelaar <>
* poppler/
* poppler/Error.h: Make error handling function setable through
Based on a patch by Albert Astals Cid.
2005-05-29 Kristian Høgsberg <>
* glib/*: Add more meta data properties to poppler document.
Patch by Emil Soleyman-Zomalan (#3359).
2005-05-26 Kristian Høgsberg <>
* poppler/ (clip): Remove snapToGrid so clip()
prototype matches what Gfx actually calls (fixes clipping).
* poppler/ Update fill color, stroke color, fill
opacity and stroke opacity from GfxState on restore, since they
aren't handled by cairo_restore() (#3362).
* poppler/ Comment out tolerance setting until
we figure out how cairo settings relate to pdf settings.
* poppler/ Support fill and stroke opacity.
* poppler/
* poppler/GfxState.h: Add GfxColorSpace::getRGBLine here and
implement in subclasses.
* poppler/ (drawImage): Use getRGBLine here.
Mon May 23 00:22:41 2005 Jonathan Blandford <>
* glib/poppler-document.h: Add a permissions flag to the glib
2005-05-21 Kristian Høgsberg <>
* glib/ (poppler_ps_file_new): Fix off-by-one
error spotted by Jürg Billeter.
2005-05-20 Kristian Høgsberg <>
* poppler/ Account for different row vs. column
vector conventions between cairo and poppler.
* poppler/ Only get the code to gid map if
we're using freetype 2.1.7 or older (#3340).
2005-05-19 Kristian Høgsberg <>
* poppler/ Only cast to Gfx8BitFont when we
know for sure we have a truetype font.
GfxCIDFont::getCIDToGIDLen() can return 0 in which case codeToGID
will be NULL, and we end up casting it to a Gfx8BitFont (#3265).
2005-05-18 Kristian Høgsberg <>
* Require cairo 0.5.0, bump release to 0.3.2.
* NEWS: Sum up latest changes.
* glib/ (poppler_ps_file_new): Take a page
range here instead of just number of pages.
2005-05-17 Kristian Høgsberg <>
* poppler/
* test/ Chase the cairo xlib constructor again.
2005-05-16 Kristian Høgsberg <>
Patch from Christian Persch (#3300):
* Check for glib-mkenums.
* glib/ (poppler-enums.h): Generate glib enums at
compile time.
* glib/poppler-enums.c:
* glib/poppler-enums.h: Removed.
2005-05-16 Kristian Høgsberg <>
* test/ Update this test case also.
* poppler/ Track changes to cairo Xlib surface
* poppler/ (cairo_font_face_destroy): Make this
Thu May 12 23:10:45 2005 Jonathan Blandford <>
* glib/poppler.gidl: add metadata file.
2005-05-12 Kristian Høgsberg <>
* poppler/
* poppler/
* poppler/
* test/ Update to latest cairo changes, patch
from Jens Taprogge (#3281)
2005-05-11 Kristian Høgsberg <>
* glib/ (poppler_get_backend, poppler_get_version): Add
these functions so it's easy to tell if poppler is using cairo or
splash and what version.
* glib/test-poppler-glib.c (main): Print out version and backend.
2005-05-06 Kristian Høgsberg <>
* glib/ (libpoppler_glib_la_LIBADD): Link poppler-glib
against poppler.
* qt/ (libpoppler_qt_la_LIBADD): Ditto for qt.
* poppler-glib.pc (Libs): Drop -lpoppler from link.
* poppler-qt.pc (Libs): Ditto for qt.
* Test for both and in that
2005-05-04 Kristian Høgsberg <>
* poppler/ (CairoOutputDev::drawImageMask,
CairoOutputDev::drawImage): Track cairo cvs API changes; use
cairo_mask() and cairo_paint() for drawing image masks and images.
2005-05-04 Kristian Høgsberg <>
* poppler/ Fix matrix convention confusion.
2005-05-04 Kristian Høgsberg <>
Patches from Albert Astals Cid:
* qt/ (getText): Use QString::fromUtf8() instead of
implicit latin1 cast constructor.
* qt/test-poppler-qt.cpp (main): Use a QLabel for showing text
instead of qDebug.
Wed May 4 02:31:05 2005 Jonathan Blandford <>
* glib/
* glib/poppler-document.h:
* glib/poppler-enums.c: (poppler_permissions_get_type):
* glib/poppler-enums.h:
* glib/
* glib/poppler-page.h:
* glib/poppler.h:
Register a bunch of boxed types to test introspection, and for
LBs. Also, remove unused 'popper_document_save()' (-:
2005-05-01 Kristian Høgsberg <>
* poppler/
* poppler/CairoFontEngine.h:
* poppler/ Back out workaround for cairo 0.4.0
font API and port to new cairo head.
2005-05-01 Jeff Muizelaar <>
* splash/ (SplashFTFont::getGlyphPath):
Use FT_LOAD_NO_BITMAP to make sure we get outlines loaded instead
of bitmaps for use in FT_Outline_Decompose.
Patch from Albert Astals Cid.
2005-05-01 Jeff Muizelaar <>
* goo/gmem.c: (gmalloc), (grealloc), (gfree):
* goo/gmem.h: make memory functions use size_t instead of int.
Patch from Takashi Iwai through Albert Astals Cid.
2005-04-30 Jeff Muizelaar <>
* qt/ (Document::unlock) :
* qt/poppler-qt.h (Document::unlock):
Add const to the password argument.
Patch from Albert Astals Cid.
2005-04-30 Jeff Muizelaar <>
* fofi/ (FoFiType1::parse):
Don't assume Encoding array of Type1 fonts end in "foo def". says
"This sequence of assignments must be followed by an instance of the
token def or readonly; such a token may not occur within the sequence
of assignments." so it must end with "readonly" "def" "readonly def"
(That is what most fonts are using and this is why it was not
Patch from Albert Astals Cid.
Fri Apr 29 14:54:44 2005 Jonathan Blandford <>
* goo/GooTimer.h: New class to do simple timing checks.
* glib/poppler-document.c: Patch from Martin Kretzschmar to really
set the PDF version correct. Third time's the charm.
2005-04-29 Kristian Høgsberg <>
* Bump release to 0.3.1.
* NEWS: Write up news for 0.3.1 release.
2005-04-28 Kristian Høgsberg <>
Patch from Martin Kretzschmar:
* poppler/ use UTF-8 as the default text encoding.
Fixes Bug 2934.
2005-04-27 Jeff Muizelaar <>
* poppler/
* poppler/FlateStream.h:
* poppler/
* poppler/
* poppler/Stream.h: Add a reimplementation of FlateStream using
2005-04-27 Kristian Høgsberg <>
* poppler/ (NameTree::lookup): Fix bsearch return value
NULL check. Found by Albert Astals Cid.
Tue Apr 26 13:13:42 2005 Jonathan Blandford <>
* glib/test-poppler-glib.c (main): add a quick dump-to-text test.
2005-04-24 Kristian Høgsberg <>
* qt/ (libpoppler_qt_la_SOURCES): Add poppler-private.h
2005-04-23 Kristian Høgsberg <>
* poppler/ Use the right fileName for loading
CID fonts (#3114).
2005-04-22 Kristian Høgsberg <>
* Actually commit version number bump.
2005-04-22 Martin Kretzschmar <>
* poppler/ declare matrix variable before the
first goto. Fixes build with gcc 3.3.
Fri Apr 22 00:01:40 2005 Kristian Høgsberg <>
* poppler/ 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.
Thu Apr 21 15:43:52 2005 Kristian Høgsberg <>
* poppler/
* poppler/Outline.h: Implement the documented behaviour for
Outline::getItems() and OutlineItem::getKids() and make
documentation more precise (Patch from Marco).
Thu Apr 21 02:25:20 2005 Kristian Høgsberg <>
* poppler/ (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_new_from_file): Add
output device (cairo or splash) to PopplerDocument and initialize
it in the constructor.
* glib/ (splash_render_to_pixbuf,
cairo_render_to_pixbuf): Use output device from associated poppler
document instead of creating a new one.
* (Requires): Add Requires: field.
* poppler/ (loadThumb): Remove unecessary and buggy call to
Stream::addFilters(), reported by Ryan Lortie (#3046).
2005-04-13 Jeff Muizelaar <>
* qt/ (Page::getText):
* qt/poppler-qt.h: add a getText method for getting
the text on a page
* qt/test-poppler-qt.c (PDFDisplay::PDFDisplay):
add the option to display the text on a page
Patch from Albert Astals Cid.
Tue Apr 19 17:21:19 2005 Jonathan Blandford <>
* glib/ (poppler_document_get_property): Use
%.2g instead.
Tue Apr 19 17:11:52 2005 Jonathan Blandford <>
* glib/ (poppler_document_get_property): Use %g
instead of %f to avoid versioning like PDF-1.50000
Tue Apr 19 15:43:35 2005 Kristian Høgsberg <>
* glib/ (_poppler_action_new): Handle NULL links
gracefully (fix from Jeff).
Tue Apr 19 00:20:08 2005 Kristian Høgsberg <>
* poppler/ Fix from Marco to make sure we always
initialize Catalog::pageLabelInfo.
Sat Apr 16 14:53:15 2005 Jonathan Blandford <>
* glib/ Create poppler-enums.[ch]
* glib/poppler.h:
* glib/
* glib/poppler-page.h:
* glib/poppler-action.h: Try to clean up the headers a bit
* glib/
* glib/poppler-document.h: Add support for document data.
Implemented as a lot of GObject properties.
* glib/poppler-enums.c:
* glib/poppler-enums.h: New autogenerated files.
* glib/test-poppler-glib.c: Test the new document metadata. Seems
to work nicely, other than the PDF string and View Prefs.
* poppler/
* poppler/Catalog.h: Extend to support PageLayout.
2005-04-14 Kristian Høgsberg <>
* glib/
* glib/poppler-page.h:
* glib/poppler-private.h:
* glib/poppler.h: Patch from Marco Pesenti Gritti to set page
2005-04-13 Jeff Muizelaar <>
* poppler/ (getBitmap): remove unused
SplashBitmap. Patch from Albert Astals Cid.
2005-04-12 Kristian Høgsberg <>
* Add fontconfig to PKG_CHECK_MODULES for the cairo
backend too, since we shouldn't depend on cairo.pc to pull that in
for us.
* poppler/ (INCLUDES): Add $(splash_includes) to
INCLUDES to make sure the fontconfig include path is added when
using the splash backend.
2005-04-09 Jeff Muizelaar <>
* poppler-qt.h:
* (okToPrint, okToChange, okToCopy):
Patch from Albert Astals Cid adding more metadata exports
2005-04-08 Kristian Høgsberg <>
* (Libs): Add -lpoppler to Libs.
2005-04-07 Jeff Muizelaar <>
* redo the qt tests from Albert Astals Cid
2005-04-07 Jeff Muizelaar <>
* qt/
* qt/
* qt/poppler-qt.h:
Patch from Albert Astals Cid adding consts and exporting some more
2005-04-07 Kristian Høgsberg <>
* glib/
* glib/poppler-document.h:
* glib/
* glib/poppler-page.h:
* glib/poppler-private.h: Print to PS support from Marco Pesenti
Thu Apr 7 12:25:39 2005 Jonathan Blandford <>
* check for qt, not glib, when enabling the qt
2005-04-06 Jeff Muizelaar <>
* .cvsignore, glib/.cvsignore, qt/.cvsignore:
Add more things to .cvsignore.
Patch from Martin Kretzschmar.
2005-04-06 Jeff Muizelaar <>
* (Page::Page, Page::~Page):
Construct and deconstruct the PageData object.
Patch from Albert Astals Cid.
2005-04-06 Jeff Muizelaar <>
*, Add configuration for qt wrapper.
* qt/
* qt/
* qt/
* qt/poppler-private.h:
* qt/poppler-qt.h:
* qt/test-poppler-qt.cpp:
New files.
2005-04-05 Kristian Høgsberg <>
* NEWS: Attempt to sum up changes since 0.1.2.
* Bump release to 0.2.0, add AC_DEFINEs for cairo
and splash availability.
* poppler/ Disable hinting.
* glib/ (poppler_page_render_to_pixbuf): Choose
either splash or cairo rendering, based on configure choice.
(cairo_render_to_pixbuf): New function to render using the cairo
(splash_render_to_pixbuf): Split out the splash code to this
2005-04-04 Kristian Høgsberg <>
* ChangeLog: Add this entry to test commit mailer script.
* TODO: Add reminder about using PDF font descriptors with
* Add checks for mkstemp() and mkstemps().
* glib/ (poppler_page_find_text): Reverse
y-coordinates so we return PDF style coordinates.
From Maro Pesenti Gritti <>:
*, poppler/ Check for fontconfig when
we're building the splash backend.
* glib/ (poppler_page_get_text): New function to
select text on page.
2005-04-04 Kristian Høgsberg <>
* glib/ (poppler_page_find_text): Reverse list of
matches so we get them in the right order.
2005-04-03 Martin Kretzschmar <>
* poppler/DCTStream.h: Wrap #include <jpeglib.h> in extern "C"
Fixes build with unpatched libjpeg.
2005-04-02 Jeff Muizelaar <>
* poppler/Page.h:
* poppler/ (Page::Page):
Some initial infrastructure for supporting transitions.
2005-03-31 Kristian Høgsberg <>
* glib/ (poppler_page_render_to_pixbuf): Clip
output to destination pixbuf and fix RGB order.
2005-03-31 Kristian Høgsberg <>
* glib/ (poppler_page_find_text): New function to
seach a page for occurrences of a given text string.
* glib/ Add g_return_if_fail() checks to a couple
of functions.
Thu Mar 31 00:26:20 2005 Jonathan Blandford <>
* glib/
* glib/poppler-page.h (poppler_page_get_link_mapping,
poppler_page_free_link_mapping): New functions to get a mapping of
links to locations on the current document.
2005-03-30 Jeff Muizelaar <>
* poppler/DCTStream.h: change x to unsigned int to eliminate
comparision warning
2005-03-30 Jeff Muizelaar <>
* poppler/ delete pageLabelInfo on deconstruction
Tue Mar 29 23:07:17 2005 Jonathan Blandford <>
* glib/poppler-page.h: Reformat.
Tue Mar 29 22:49:15 2005 Jonathan Blandford <>
* glib/poppler-action.[ch]: New item to encapsulate links.
* glib/poppler-document.[ch] (poppler_index_iter_get_action): New
function to get the action. Also, fix some warnings.
* glib/poppler-private.h (_poppler_action_new): New function.
* glib/test-poppler-glib.c: Fix warnings.
Tue Mar 29 02:36:00 2005 Jonathan Blandford <>
* glib/poppler-document.[ch] (PopplerIndexIter): Add an iter to
extract the index from the doc. Includes a bad hack, for now.
Mon Mar 28 22:02:07 2005 Jonathan Blandford <>
* glib/
* glib/poppler-page.h (poppler_page_get_thumbnail_size): New
* add -lpoppler-glib to the libs line.
2005-03-28 Kristian Høgsberg <>
* poppler/ (loadThumb): Backend agnostic method for
extracting an embedded thumbnail iamge.
* poppler/ (lookupInt): New convenience method.
* glib/ (poppler_page_get_thumbnail): New glib
function for getting the embedded thumbnail image for a page.
2005-03-25 Kristian Høgsberg <>
* Check for fontconfig for glib bindings.
2005-03-24 Kristian Høgsberg <>
instead of GTK_TEST_*. Reported by Adam Jackson <>.
2005-03-23 Kristian Høgsberg <>
* poppler/ (indexToLabel, labelToIndex): Add stricter
checking of incoming labels and indices.
* glib/test-poppler-glib.c (main): Change test program to take the
page label from the command line.
* glib/
* glib/poppler-page.h: Add poppler_page_get_index() and rename
popper_page_get_dimension() to popper_page_get_size()
2005-03-22 Kristian Høgsberg <>
* glib/ Implement poppler_document_save().
* glib/poppler-document.h: Add prototype and format headers
2005-03-22 Kristian Høgsberg <>
* Fix --disable-popper typo reported by Albert.
Require exactly cairo 0.4 since CVS cairo has API changes.
2005-03-22 Kristian Høgsberg <>
* poppler/
* poppler/Array.h: Add getString() convenience method.
* poppler/
* poppler/Catalog.h: Optimize lookup of named destinations.
2005-03-21 Kristian Høgsberg <>
* NEWS, TODO: Update these.
2005-03-21 Kristian Høgsberg <>
From Albert Astals Cid <>:
* poppler/, poppler/Catalog.h: Parse PageMode setting
from the Catalog dict and expose it through getPageMode() method.
2005-03-21 Kristian Høgsberg <>
* glib/
* glib/poppler-document.h: Expose the document title as a GObject
* glib/ Expose the page label as a GObject
* glib/poppler-private.h: Add the page index to PopplerPage.
* glib/test-poppler-glib.c: Print out page label and document
* poppler/
* poppler/Catalog.h: Add page label accessors.
* poppler/
* poppler/PageLabelInfo.h: New files.
* poppler/ Add new files to sources.
2005-03-20 Kristian Høgsberg <>
* glib/
* glib/poppler-page.h:
* glib/
* poppler/
* poppler/Array.h:
* poppler/ Fix up filenames in #include statements and
2005-03-19 Kristian Høgsberg <>
Land the first bits of the glib wrapper.
* Add new glib subdirectory and configure options
for glib wrapper.
* glib/
* glib/
* glib/poppler-document.h:
* glib/
* glib/poppler-page.h:
* glib/poppler-private.h:
* glib/
* glib/poppler.h:
* glib/test-poppler-glib.c:
* New files.
2005-03-16 Jeff Muizelaar <>
From Dan Sheridan <>
* poppler/ (XRef::checkEncrypted):
The key length should be 5 for revision 2 documents.
2005-03-11 Kristian Høgsberg <>
From Jeff Muizelaar <>:
* poppler/ (CairoOutputDev::drawImageMask): Use
getLine instead of getPixel.
* Add checks for libjpeg.
*, DCTStream.h,, Stream.h,
Conditionally use libjpeg instead of xpdf jpeg decoder.
2005-03-10 Kristian Høgsberg <>
From Jeff Muizelaar <>:
* poppler/ (CairoFontEngine::getFont):
Don't print "Type 3 font!" message.
* poppler/ (CairoOutputDev::drawImageMask):
Enable image mask drawing and do it properly, albeit slowly.
* poppler/CairoOutputDev.h
(CairoOutputDev::interpretType3Chars): Return true so that turns type3 characters into calls to drawImageMask
2005-03-09 Kristian Høgsberg <>
* NEWS: Describe 0.1.2 (and 0.1.1) release.
* Bump poppler version to 0.1.2
2005-03-09 Kristian Høgsberg <>
* Bump cairo requirement to 0.4.
2005-03-04 Kristian Høgsberg <>
Patch from Jeff Muizelaar <>. Changed to allocate
glyphs using gmalloc.
* poppler/ (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 that it should use drawString instead of drawChar.
2005-03-04 Kristian Høgsberg <>
* test/ (view_load):
* test/ (view_load): Fix missing return
statement, and remove unused variables.
* Add configure option to enable the default KDE
flags as described by Albert Astals Cid <>.
* TODO: Update with Jeff's items.
* .cvsignore:
* */.cvsignore: Add these to silence CVS.
* Implement same check for gtk+-2.0 tests as for
2005-03-04 Kristian Høgsberg <>
* Only fail hard in check for cairo if the user
specified --enable-cairo-output (from Brad Hards
<>). Print summary of configure results at the
end of configure script.
* poppler/poppler-config.h: Remove this file (noticed by Brad
Hards <>).
2005-03-03 Kristian Høgsberg <>
Patch from Jeff Muizelaar <>:
* poppler/ (CairoOutputDev::drawImage,
CairoOutputDev::drawImageMask): destroy the image surface and
free the image buffer.
2005-03-03 Kristian Høgsberg <>
* Add -i to autoreconf invocation.
* Add to CVS.
2005-03-01 Kristian Høgsberg <>
* poppler/*.h: Take config.h out of header files.
* Bump release to 0.1.1 to build a tar ball that
works with CVS evince.
* (Cflags): Change include dir to be poppler.
* poppler/ (poppler_include_HEADERS): Add splash and
cairo headers.
2005-02-27 Kristian Høgsberg <>
* test/ Add cairo test case.
*, poppler/, poppler/Cairo*: Add Alex
Larsons cairo output device.
*, Make splash backend conditional.
* test/*: Add optional GdkRGB based test program (taken from
* goo/*: rename files and functions to GooHash, GooString etc. to
avoid nasty glib clash.
* New file.
* Combining bits from evince and
removing checks only required by the xpdf applications.
* everything: Created poppler as a fork of xpdf.