ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* oldstyle numbers and copy pasting from pdf
@ 2008-07-28 14:16 Aditya Mahajan
  2008-07-28 14:27 ` Taco Hoekwater
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2008-07-28 14:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 292 bytes --]

Hi,

I cannot copy oldstyle numbers from a pdf. Consider

\usetypescript[palatino]
\setupbodyfont[palatin,12pt]
\setfontfeature{oldstyle}

\starttext

12345

\stoptext


When I copy from pdf (or run pdftotext) I get





How do I correct this?

Aditya

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: oldstyle numbers and copy pasting from pdf
  2008-07-28 14:16 oldstyle numbers and copy pasting from pdf Aditya Mahajan
@ 2008-07-28 14:27 ` Taco Hoekwater
  2008-07-28 15:06   ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Taco Hoekwater @ 2008-07-28 14:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users



Aditya Mahajan wrote:
> 
> When I copy from pdf (or run pdftotext) I get
> 
> 
> 
> 
> 
> How do I correct this?

Mkiv, yes? This is a luatex bug/limitation: it is using the
PUA numbers as ToUnicode value. I'll add a tracker item for
to fix this soon.

Best wishes,
Taco




___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: oldstyle numbers and copy pasting from pdf
  2008-07-28 14:27 ` Taco Hoekwater
@ 2008-07-28 15:06   ` Aditya Mahajan
  0 siblings, 0 replies; 3+ messages in thread
From: Aditya Mahajan @ 2008-07-28 15:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 424 bytes --]

On Mon, 28 Jul 2008, Taco Hoekwater wrote:

>
>
> Aditya Mahajan wrote:
>>
>> When I copy from pdf (or run pdftotext) I get
>>
>> 
>>
>> 
>>
>> How do I correct this?
>
> Mkiv, yes?

Yes, of course. Haven't used mkii in a month :-)

> This is a luatex bug/limitation: it is using the
> PUA numbers as ToUnicode value. I'll add a tracker item for
> to fix this soon.

Thanks.

Aditya

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-28 15:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-28 14:16 oldstyle numbers and copy pasting from pdf Aditya Mahajan
2008-07-28 14:27 ` Taco Hoekwater
2008-07-28 15:06   ` Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).