From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83651 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: copy&paste from pdf bug (smallcaps, text figures) Date: Fri, 2 Aug 2013 14:28:08 +0200 Message-ID: <20130802122807.GA15161@tartaros> References: <20130801173329.GA5907@phlegethon> <13E355F9-2F54-42AC-8CA6-EB8C05A0B3CD@gmail.com> <20130801214616.GA29570@phlegethon> <20130801220108.GD8003@homerow> <20130801221237.GB29570@phlegethon> <51FB9357.6080000@wxs.nl> <20130802113741.GA14425@tartaros> <20130802120253.GA2084@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0534960276==" X-Trace: ger.gmane.org 1375446259 21598 80.91.229.3 (2 Aug 2013 12:24:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Aug 2013 12:24:19 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 02 14:24:22 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V5EP7-0001A5-EP for gctc-ntg-context-518@m.gmane.org; Fri, 02 Aug 2013 14:24:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1E506101F0; Fri, 2 Aug 2013 14:23:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id M+1bcVe7kYpJ; Fri, 2 Aug 2013 14:23:45 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7B421101E8; Fri, 2 Aug 2013 14:23:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5D8B0101E8 for ; Fri, 2 Aug 2013 14:23:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZHrLWkodsMyn for ; Fri, 2 Aug 2013 14:23:26 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id DA002101E5 for ; Fri, 2 Aug 2013 14:23:26 +0200 (CEST) Original-Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r72CNx3D011468 for ; Fri, 2 Aug 2013 14:23:59 +0200 Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id r72CNwgD024653 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Aug 2013 14:23:59 +0200 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id r72CNwre031183 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Aug 2013 14:23:58 +0200 Original-Received: from localhost (p4FFFD543.dip0.t-ipconnect.de [79.255.213.67]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id r72CNvJu014747 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 2 Aug 2013 14:23:57 +0200 Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: <20130802120253.GA2084@homerow> X-Operating-System: Linux tartaros 3.9.6-1-ARCH User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=129.206.100.212; country=DE; region=01; city=Heidelberg; latitude=49.4167; longitude=8.7000; http://maps.google.com/maps?q=49.4167,8.7000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TK7MnXVA - ef8096f1f149 - 20130802 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83651 Archived-At: --===============0534960276== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7 > On 2013=E2=80=9308=E2=80=9302 Philipp Gesang wrote: >=20 > > https://phi-gamma.net/pdf/copypasta.pdf > > https://phi-gamma.net/files/copypasta.txt > > =20 > > I definitely get =EF=9C=B0=EF=9C=B1=EF=9C=B2=EF=9C=B3=EF=9C=B4=EF=9C=B5= =EF=9C=B6=EF=9C=B7=EF=9C=B8=EF=9C=B9 =EF=9D=A1=EF=9D=A2=EF=9D=A3=EF=9D=A4= =EF=9D=A5=EF=9D=A6=EF=9D=A7=EF=9D=A8=EF=9D=A9=EF=9D=AA=EF=9D=AB=EF=9D=AC=EF= =9D=AD=EF=9D=AE=EF=9D=AF=EF=9D=B0=EF=9D=B1=EF=9D=B2=EF=9D=B3=EF=9D=B4=EF=9D= =B5=EF=9D=B6=EF=9D=B7=EF=9D=B8=EF=9D=B9=EF=9D=BA from this > > one. >=20 > Indeed. When I copy from your file I get those private Unicode > slots. When I run the example code from your OP, I get the correct > characters. I don't know what's the difference between those two > files. The PDF is what Context produces here with that code. > The LuaTeX version and ConTeXt version is the same. >=20 > Creator: ConTeXt - 2013.08.01 01:31 > Producer: LuaTeX-0.76.0 There appears to be a difference between node and base mode depending on how the font is defined: \pdfcompresslevel0 =20 \setupbodyfont [iwona] =20 \definefontfeature [proto] [onum=3Dyes,smcp=3Dyes,script=3Ddflt,lang= =3Ddflt] \definefontfeature [withbase] [proto] [mode=3Dbase] \definefontfeature [withnode] [proto] [mode=3Dnode] =20 \definefont [iwonab] [file:Iwona-Regular.otf*withbase] \definefont [iwonan] [file:Iwona-Regular.otf*withnode] =20 \starttext \feature[<] base mode\par {\feature[!][withbase]0123456789abcdefghijklmnopqrstuvwxyz\par} {\iwonab 0123456789abcdefghijklmnopqrstuvwxyz} =20 node mode\par {\feature[!][withnode]0123456789abcdefghijklmnopqrstuvwxyz\par} {\iwonan 0123456789abcdefghijklmnopqrstuvwxyz} \stoptext \endinput This gets me (through pdftotext): base mode =EF=9C=B0=EF=9C=B1=EF=9C=B2=EF=9C=B3=EF=9C=B4=EF=9C=B5=EF=9C=B6=EF=9C=B7= =EF=9C=B8=EF=9C=B9=EF=9D=A1=EF=9D=A2=EF=9D=A3=EF=9D=A4=EF=9D=A5=EF=9D=A6=EF= =9D=A7=EF=9D=A8=EF=9D=A9=EF=9D=AA=EF=9D=AB=EF=9D=AC=EF=9D=AD=EF=9D=AE=EF=9D= =AF=EF=9D=B0=EF=9D=B1=EF=9D=B2=EF=9D=B3=EF=9D=B4=EF=9D=B5=EF=9D=B6=EF=9D=B7= =EF=9D=B8=EF=9D=B9=EF=9D=BA 0123456789abcdefghijklmnopqrstuvwxyz node mode =EF=9C=B0=EF=9C=B1=EF=9C=B2=EF=9C=B3=EF=9C=B4=EF=9C=B5=EF=9C=B6=EF=9C=B7= =EF=9C=B8=EF=9C=B9=EF=9D=A1=EF=9D=A2=EF=9D=A3=EF=9D=A4=EF=9D=A5=EF=9D=A6=EF= =9D=A7=EF=9D=A8=EF=9D=A9=EF=9D=AA=EF=9D=AB=EF=9D=AC=EF=9D=AD=EF=9D=AE=EF=9D= =AF=EF=9D=B0=EF=9D=B1=EF=9D=B2=EF=9D=B3=EF=9D=B4=EF=9D=B5=EF=9D=B6=EF=9D=B7= =EF=9D=B8=EF=9D=B9=EF=9D=BA =EF=9C=B0=EF=9C=B1=EF=9C=B2=EF=9C=B3=EF=9C=B4=EF=9C=B5=EF=9C=B6=EF=9C=B7= =EF=9C=B8=EF=9C=B9=EF=9D=A1=EF=9D=A2=EF=9D=A3=EF=9D=A4=EF=9D=A5=EF=9D=A6=EF= =9D=A7=EF=9D=A8=EF=9D=A9=EF=9D=AA=EF=9D=AB=EF=9D=AC=EF=9D=AD=EF=9D=AE=EF=9D= =AF=EF=9D=B0=EF=9D=B1=EF=9D=B2=EF=9D=B3=EF=9D=B4=EF=9D=B5=EF=9D=B6=EF=9D=B7= =EF=9D=B8=EF=9D=B9=EF=9D=BA So base mode with \definefont works while node mode or the font =66rom the typescript doesn=E2=80=99t. Philipp --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQEcBAEBAgAGBQJR+6XXAAoJEI7yfcKNwM1+dPwIAJx0oPlG6fxDL0Xaj03ROsT2 YoSxCZRKGLia5v7CR5olrYLaSVnriSAfuXG0w9d/73RMf4dwZDIKNwOM5GNDQDtE 61ZGaDekKDoqEn2LkbN6wEXL2iJA+8wlLpmWW6KaMip0YXoP7fv32Gv4NDd9vGHl BAC8oF76lqhQIhZ1ZgiI6ObgRIvTTI1ieMmeCmOCDUfBHzPQN14lQncKfD5GXdFi hbW4GhGePAwlgUtfp1yR8lLWSAk8sk82hijToTDqeYoLrrVqdCsDCjlwKo2Jgl+c lakCge9jgNd3Jf8WR0XcL3QGGhkCNgIqcfemqwE0bRS6n1x0VCPLB1XV9+R3gVY= =Rv56 -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu-- --===============0534960276== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0534960276==--