[Poppler-bugs] [Bug 26532] Not showing text in Evince
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Feb 16 11:17:11 PST 2010
http://bugs.freedesktop.org/show_bug.cgi?id=26532
Albert Astals Cid <tsdgeos at terra.es> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bradh at frogmouth.net
--- Comment #4 from Albert Astals Cid <tsdgeos at terra.es> 2010-02-16 11:17:11 PST ---
Brad, the following code fixes this problem and another pdf for me, do you
remember if you had an exact reason for writing it the other way?
diff --git a/poppler/OptionalContent.cc b/poppler/OptionalContent.cc
index f59b16a..5665f54 100644
--- a/poppler/OptionalContent.cc
+++ b/poppler/OptionalContent.cc
@@ -199,7 +199,7 @@ bool OCGs::optContentIsVisible( Object *dictRef )
}
} else if (ocg.isRef()) {
OptionalContentGroup* oc = findOcgByRef( ocg.getRef() );
- if ( !oc || oc->getState() == OptionalContentGroup::Off ) {
+ if ( oc && oc->getState() == OptionalContentGroup::Off ) {
result = false;
} else {
result = true ;
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Poppler-bugs
mailing list