ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* weird word breaking in Win64
@ 2021-05-08 11:33 Pablo Rodriguez
  2021-05-08 13:58 ` denis.maier
  2021-05-08 15:48 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Pablo Rodriguez @ 2021-05-08 11:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

the following sample breaks some words not right in Win64 (I cannot
reproduce it in Linux):

  \enabledirectives[fonts.injections.method=advance]
  \setuppapersize[A6]
  \definefontfamily[mainface][rm]
      [TeX Gyre Pagella]
  \setupbodyfont[mainface]
  \starttext
    \input zapf
  \stoptext

Copying text from latest Acrobat Reader DC, I get:

 Coming back to the use of typefaces in
 electronic publishing: many of the new
 typog raphers receive their knowledge and
 infor mation about the rules of typog raphy
 from books, from com puter mag azines
 or the instruction manuals which
 they get with the purchase of a PC or software.
 There is not so much basic instruction,
 as of now, as there was in the old
 days, showing the differences between good
 and bad typographic design. Many people
 are just fascinated by their PC's tricks,
 and think that a widely--praised program,
 called up on the screen, will make everything
 automatic from now on.

Lines 3-5 contain word breaks that make searching impossible.

This seems to be added by fonts.injections.method=advance.

Could anyone on Windows confirm this issue?

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: weird word breaking in Win64
  2021-05-08 11:33 weird word breaking in Win64 Pablo Rodriguez
@ 2021-05-08 13:58 ` denis.maier
  2021-05-08 15:33   ` Pablo Rodriguez
  2021-05-08 15:48 ` Hans Hagen
  1 sibling, 1 reply; 4+ messages in thread
From: denis.maier @ 2021-05-08 13:58 UTC (permalink / raw)
  To: ntg-context

Looks like I can confirm this... see below. But it seems to depend on your PDF viewer. Results in Sumatra and Acrobat differ.

Denis


current version: 2021.05.06 23:35

Sumatra
Coming back to the use of typefaces in
electronic publishing: many of the new
typog‍ raphersreceivetheirknowledgeand
infor‍ mation about the rules of typog‍ ra-
phy from books, from com‍ puter mag‍ a-
zines or the instruction manuals which
theygetwiththepurchaseofaPCorsoft-
ware. There is not so much basic instruc-
tion, as of now, as there was in the old
days,showingthedifferencesbetweengood
and bad typographic design. Many peo-
plearejustfascinatedbytheirPC'stricks,
andthinkthatawidely--praisedprogram,
called up on the screen, will make every-
thing automatic from now on.

Acrobat

Coming back to the use of typefaces in
electronic publishing: many of the new
typog raphers receive their knowledge and
infor mation about the rules of typog raphy
from books, from com puter mag azines
or the instruction manuals which
they get with the purchase of a PC or software.
There is not so much basic instruction,
as of now, as there was in the old
days, showing the differences between good
and bad typographic design. Many people
are just fascinated by their PC's tricks,
and think that a widely--praised program,
called up on the screen, will make everything
automatic from now on.

> -----Ursprüngliche Nachricht-----
> Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von Pablo
> Rodriguez
> Gesendet: Samstag, 8. Mai 2021 13:33
> An: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Betreff: [NTG-context] weird word breaking in Win64
> 
> Dear list,
> 
> the following sample breaks some words not right in Win64 (I cannot
> reproduce it in Linux):
> 
>   \enabledirectives[fonts.injections.method=advance]
>   \setuppapersize[A6]
>   \definefontfamily[mainface][rm]
>       [TeX Gyre Pagella]
>   \setupbodyfont[mainface]
>   \starttext
>     \input zapf
>   \stoptext
> 
> Copying text from latest Acrobat Reader DC, I get:
> 
>  Coming back to the use of typefaces in
>  electronic publishing: many of the new
>  typog raphers receive their knowledge and  infor mation about the rules of
> typog raphy  from books, from com puter mag azines  or the instruction
> manuals which  they get with the purchase of a PC or software.
>  There is not so much basic instruction,  as of now, as there was in the old
> days, showing the differences between good  and bad typographic design.
> Many people  are just fascinated by their PC's tricks,  and think that a widely--
> praised program,  called up on the screen, will make everything  automatic
> from now on.
> 
> Lines 3-5 contain word breaks that make searching impossible.
> 
> This seems to be added by fonts.injections.method=advance.
> 
> Could anyone on Windows confirm this issue?
> 
> Many thanks for your help,
> 
> Pablo
> --
> http://www.ousia.tk
> __________________________________________________________
> _________________________
> 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://context.aanhet.net archive  :
> https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> __________________________________________________________
> _________________________
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: weird word breaking in Win64
  2021-05-08 13:58 ` denis.maier
@ 2021-05-08 15:33   ` Pablo Rodriguez
  0 siblings, 0 replies; 4+ messages in thread
From: Pablo Rodriguez @ 2021-05-08 15:33 UTC (permalink / raw)
  To: ntg-context

On 5/8/21 3:58 PM, denis.maier@ub.unibe.ch wrote:
> Looks like I can confirm this... see below. But it seems to depend on your PDF viewer. Results in Sumatra and Acrobat differ.

Many thanks for your confirmation, Denis.

With SumatraPDF 3.1.2, I get lines without spaces between words, too.

But the wrong extra extra spaces inside some words are wrong even in
Acrobat.

Of course, I would like not have all correct spaces in SumatraPDF.

But the issue in Acrobat may be a bug.

Many tha thanks for your help,

Pablo


>
> current version: 2021.05.06 23:35
>
> Sumatra
> Coming back to the use of typefaces in
> electronic publishing: many of the new
> typog‍ raphersreceivetheirknowledgeand
> infor‍ mation about the rules of typog‍ ra-
> phy from books, from com‍ puter mag‍ a-
> zines or the instruction manuals which
> theygetwiththepurchaseofaPCorsoft-
> ware. There is not so much basic instruc-
> tion, as of now, as there was in the old
> days,showingthedifferencesbetweengood
> and bad typographic design. Many peo-
> plearejustfascinatedbytheirPC'stricks,
> andthinkthatawidely--praisedprogram,
> called up on the screen, will make every-
> thing automatic from now on.
>
> Acrobat
>
> Coming back to the use of typefaces in
> electronic publishing: many of the new
> typog raphers receive their knowledge and
> infor mation about the rules of typog raphy
> from books, from com puter mag azines
> or the instruction manuals which
> they get with the purchase of a PC or software.
> There is not so much basic instruction,
> as of now, as there was in the old
> days, showing the differences between good
> and bad typographic design. Many people
> are just fascinated by their PC's tricks,
> and think that a widely--praised program,
> called up on the screen, will make everything
> automatic from now on.
>

--
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: weird word breaking in Win64
  2021-05-08 11:33 weird word breaking in Win64 Pablo Rodriguez
  2021-05-08 13:58 ` denis.maier
@ 2021-05-08 15:48 ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2021-05-08 15:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Pablo Rodriguez

On 5/8/2021 1:33 PM, Pablo Rodriguez wrote:

> This seems to be added by fonts.injections.method=advance.

Hm, i need to use an different trick then for a border case (currently a 
zwj injected).  Will do.

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2021-05-08 15:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-08 11:33 weird word breaking in Win64 Pablo Rodriguez
2021-05-08 13:58 ` denis.maier
2021-05-08 15:33   ` Pablo Rodriguez
2021-05-08 15:48 ` Hans Hagen

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).