Date: Wed, 11 May 2005 15:21:37 +0200 (CEST) From: Stefan `Sec` Zehl <sec@42.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: nork@FreeBSD.org Subject: ports/80895: xpdf honors no-copy flag of .pdf file Message-ID: <20050511132137.906B5549A@ice.42.org> Resent-Message-ID: <200505111330.j4BDU2s2073887@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050511132137.906B5549A>