ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: Sanjoy Mahajan <sanjoy@MIT.EDU>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: example of better linebreak with 2014.05.17 compared to 2014.07.07
Date: Thu, 10 Jul 2014 13:03:41 +0200	[thread overview]
Message-ID: <53BE730D.8020303@wxs.nl> (raw)
In-Reply-To: <87wqblap5i.fsf@approx.mit.edu>

On 7/10/2014 5:06 AM, Sanjoy Mahajan wrote:
> Hans Hagen <pragma@wxs.nl> writes:
>
>> it can happen if patterns or fonts changed ...so, best make two small
>> test files and we can look into it with tracing
>
> There's just one test file for both (see below).  I think I verified
> that the texgyrepagella font is the same in both context minimals.  But
> maybe the hyphenation patterns did change.
>
>> how does the tex file look
>
> I made the following minimal example (same for both versions):
>
> \setupbodyfont[palatino]
> \showframe
> \setuplayout[width=5.4286in]
>
> \starttext
>
> Let's see whether this estimate is reasonable.  According to the
> plane's technical documentation, the 747-400's four engines together
> can provide roughly 1~meganewton of thrust.
>
> \stoptext

fyi:

\setupbackend[space=yes]

can help you around the wrong threshold for spaces in your viewer.

\setuptolerance[tolerant]

makes the paragraph look better ... i'm not sure what makes the 
difference in file

BT
/F1 11.955168 Tf 1 0 0 1 263.3079 760.2084 Tm [<0053>]TJ
1 0 0 1 70.867 702.3845 Tm 
[<00480033006A02150063>-404<006300330033>-405<007300400033006A>-15<004000330061>-405<006A>-15<004000430063>-405<00330063>14<006A0043004C001D006A0033>-403<00430063>-405<00610033001D00630052004E001D0024004900330059>-798<001C>34<002C002C00520061>15<00300043004E003C>-404<006A>9<0052>-404<006A>-15<00400033>-404<00550049001D004E003302150063>]TJ
1 0 0 1 70.867 687.3545 Tm 
[<006A0033002C0040004E0043002C001D0049>-302<00300052002C006E004C0033004E006A001D006A00430052004E002E>-315<006A>-15<00400033>-302<0065003A00650041003A007A007A02150063>-302<0038>14<0052006E0061>-302<0033004E003C0043004E00330063>-302<006A>9<0052003C>20<0033006A>-14<004000330061>-302<002C001D004E>-302<005500610052>24<0071004300300033>]TJ
1 0 0 1 70.867 672.3244 Tm 
[<00610052006E003C00400049>25<0077>-250<0053>-250<004C0033003C>15<001D004E0033>10<0073006A>10<0052004E>-250<00520038>-250<006A>-15<00400061>-10<006E0063>15<006A0059>]TJ
ET

BT
/F1 11.955168 Tf 1 0 0 1 263.3079 760.2084 Tm [<0053>]TJ
1 0 0 1 70.867 702.3845 Tm 
[<00480033006A0215>25<0063>-201<006300330033>-201<007300400033006A>-15<004000330061>-200<006A>-15<004000430063>-201<00330063>14<006A0043004C001D006A0033>-200<00430063>-201<00610033001D00630052004E001D0024004900330059>-317<001C>34<002C002C00520061>15<00300043004E003C>-200<006A>9<0052>-200<006A>-15<00400033>-201<00550049001D004E00330215>24<0063>-200<006A0033002C00400041>]TJ
1 0 0 1 70.867 687.3545 Tm 
[<004E0043002C001D0049>-166<00300052002C006E004C0033004E006A001D006A00430052004E002E>-184<006A>-15<00400033>-166<0065003A00650041003A007A007A0215>24<0063>-166<0038>14<0052006E0061>-166<0033004E003C0043004E00330063>-166<006A>9<0052003C>20<0033006A>-14<004000330061>-167<002C001D004E>-167<005500610052>25<0071004300300033>-166<00610052006E003C00400049>24<0077>]TJ
1 0 0 1 70.867 672.3244 Tm 
[<0053>-250<004C0033003C>15<001D004E0033>10<0073006A>10<0052004E>-250<00520038>-250<006A>-15<00400061>-10<006E0063>15<006A0059>]TJ
ET

looks like a difference in font (kerning)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      reply	other threads:[~2014-07-10 11:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-09 10:39 Sanjoy Mahajan
2014-07-09 13:45 ` Hans Hagen
2014-07-10  3:06   ` Sanjoy Mahajan
2014-07-10 11:03     ` Hans Hagen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53BE730D.8020303@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    --cc=sanjoy@MIT.EDU \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).