- Fix showing of radio buttons (#480868)

This commit is contained in:
mkasik 2010-03-04 15:42:58 +00:00
parent efe4abb327
commit f114dbaaa3
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,14 @@
--- poppler-0.12.4/poppler/Annot.cc 2010-01-17 01:06:58.000000000 +0100
+++ poppler-0.12.4/poppler/Annot.cc 2010-03-04 12:50:56.000000000 +0100
@@ -3173,7 +3173,10 @@ void AnnotWidget::generateFieldAppearanc
obj1.free();
// get the default appearance string
- if (Form::fieldLookup(field, "DA", &obj1)->isNull()) {
+ if (Form::fieldLookup(annot, "DA", &obj1)->isNull()) {
+ obj1.free();
+ }
+ if (!obj1.isString() && Form::fieldLookup(field, "DA", &obj1)->isNull()) {
obj1.free();
acroForm->lookup("DA", &obj1);
}

View File

@ -2,7 +2,7 @@
Summary: PDF rendering library Summary: PDF rendering library
Name: poppler Name: poppler
Version: 0.12.4 Version: 0.12.4
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2 License: GPLv2
Group: Development/Libraries Group: Development/Libraries
URL: http://poppler.freedesktop.org/ URL: http://poppler.freedesktop.org/
@ -21,6 +21,8 @@ Patch102: poppler-0.12.3-actualize-fcconfig.patch
# http://bugs.freedesktop.org/show_bug.cgi?id=26264 # http://bugs.freedesktop.org/show_bug.cgi?id=26264
# http://bugzilla.redhat.com/show_bug.cgi?id=563353 # http://bugzilla.redhat.com/show_bug.cgi?id=563353
Patch103: poppler-0.12.3-rotated-downscale.patch Patch103: poppler-0.12.3-rotated-downscale.patch
# http://bugzilla.redhat.com/show_bug.cgi?id=480868
Patch104: poppler-0.12.4-annot-appearance.patch
Requires: poppler-data >= 0.4.0 Requires: poppler-data >= 0.4.0
BuildRequires: automake libtool BuildRequires: automake libtool
@ -128,6 +130,7 @@ converting PDF files to a number of other formats.
%patch101 -p1 -b .downscale %patch101 -p1 -b .downscale
%patch102 -p1 -b .fcconfig %patch102 -p1 -b .fcconfig
%patch103 -p1 -b .rotated-downscale %patch103 -p1 -b .rotated-downscale
%patch104 -p1 -b .annot
chmod -x goo/GooTimer.h chmod -x goo/GooTimer.h
@ -231,6 +234,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Thu Mar 4 2010 Marek Kasik <mkasik@redhat.com> - 0.12.4-2
- Fix showing of radio buttons (#480868)
* Thu Feb 18 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.12.4-1 * Thu Feb 18 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.12.4-1
- popper-0.12.4 - popper-0.12.4