ports/80895: xpdf honors no-copy flag of .pdf file
Stefan `Sec` Zehl
sec at 42.org
Wed May 11 13:30:03 UTC 2005
>Number: 80895
>Category: ports
>Synopsis: xpdf honors no-copy flag of .pdf file
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed May 11 13:30:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Stefan `Sec` Zehl
>Release: FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD ice 4.10-STABLE FreeBSD 4.10-STABLE #19: Wed Nov 17 18:01:41 CET 2004 root at ice:/export/obj/export/src/sys/ICE i386
>Description:
Some pdf files contain a flag to prohibit copy and paste of text. xpdf by
default honors that flag which can be very inconvinient.
>How-To-Repeat:
>Fix:
Apply this patch:
If necessary, this could be made a commandline option.
--- xpdf/XRef.cc.org Thu Jan 22 02:26:45 2004
+++ xpdf/XRef.cc Fri Apr 29 12:15:57 2005
@@ -803,6 +803,7 @@
// this flag has to be set *after* we read the O/U/P strings
encrypted = encrypted1;
+ permFlags = defPermFlags;
return ret;
}
#else
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list