Commit 8516b182 authored by Kristian Høgsberg's avatar Kristian Høgsberg
Browse files

2005-09-01 Kristian Høgsberg <krh@redhat.com>

        * NEWS:
        * configure.ac: Release 0.4.2.

        * glib/poppler-page.cc (poppler_page_prepare_output_dev): Patch
        from Marco to fix more rotation special cases.
parent 6b7b6874
2005-09-01 Kristian Høgsberg <krh@redhat.com>
* NEWS:
* configure.ac: Release 0.4.2.
* glib/poppler-page.cc (poppler_page_prepare_output_dev): Patch
from Marco to fix more rotation special cases.
2005-08-29 Kristian Høgsberg <krh@redhat.com>
* configure.ac (HAVE_FREETYPE_H): Patch from Hiroyuki Ikezoe: Set
......
Release 0.4.2
- Fix a rotation bug.
- Fix freetype pkg-config check
- Default to built-in decompression.
Release 0.4.1
- Fix and simplify glib rotation API.
......
dnl Based on Xpdf configure.in and evince configure.ac
AC_PREREQ(2.59)
AC_INIT(poppler, 0.4.1)
AC_INIT(poppler, 0.4.2)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AM_CONFIG_HEADER(config.h)
AM_CONFIG_HEADER(poppler/poppler-config.h)
......@@ -87,7 +87,7 @@ AC_ARG_ENABLE(zlib,
AC_HELP_STRING([--disable-zlib],
[Don't build against zlib.]),
enable_zlib=$enableval,
enable_zlib="try")
enable_zlib="no")
if test x$enable_zlib = xyes; then
AC_CHECK_LIB([z], [inflate],,
AC_MSG_ERROR("*** zlib library not found ***"))
......
......@@ -123,9 +123,12 @@ poppler_page_prepare_output_dev (PopplerPage *page,
CairoOutputDev *output_dev;
cairo_surface_t *surface;
int cairo_width, cairo_height, cairo_rowstride;
int rotate;
unsigned char *cairo_data;
if (rotation == 90 || rotation == 270) {
rotate = (rotation + page->page->getRotate()) % 360;
if (rotate == 90 || rotate == 270) {
cairo_width = MAX ((int)(page->page->getHeight() * scale + 0.5), 1);
cairo_height = MAX ((int)(page->page->getWidth() * scale + 0.5), 1);
} else {
......
Supports Markdown
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