ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Hyphenation, OTF font and tagging
@ 2015-11-09  7:42 Christoph Reller
  2015-11-09 12:34 ` Thomas A. Schmitz
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Reller @ 2015-11-09  7:42 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 772 bytes --]

Hi,

I have a strange behavior with the latest beta:
- OpenType Font "Myriad"
- Tagging enabled
Result: Hyphenation is not working, i.e., the hyphens disappear.

Example output correct (when disabling tagging):
[...] If I had not partici-
pated fully [...]

Example output defect (when enabling tagging):
[...] If I had not partici
pated fully [...]

MWE:

\setuptagging[state=start] %<- correct when commenting this line
\starttypescript[sans][myfont]
\definefontsynonym[Sans][file:MyriadPro-Regular]
\stoptypescript
\definetypeface[Body][ss][sans][myfont]
\setupbodyfont[Body,ss,10pt]
\starttext
\input knuth
\input tufte
\input reich
\input linden
\input darwin
\stoptext

Any feedback is welcome. @Hans: I can provide the Myriad font if this helps.

Cheers,
Christoph

[-- Attachment #1.2: Type: text/html, Size: 1202 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Hyphenation, OTF font and tagging
  2015-11-09  7:42 Hyphenation, OTF font and tagging Christoph Reller
@ 2015-11-09 12:34 ` Thomas A. Schmitz
  2015-11-09 13:45   ` Rik Kabel
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas A. Schmitz @ 2015-11-09 12:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11/09/2015 08:42 AM, Christoph Reller wrote:
> MWE:
>
> \setuptagging[state=start] %<- correct when commenting this line
> \starttypescript[sans][myfont]
> \definefontsynonym[Sans][file:MyriadPro-Regular]
> \stoptypescript
> \definetypeface[Body][ss][sans][myfont]
> \setupbodyfont[Body,ss,10pt]
> \starttext
> \input knuth
> \input tufte
> \input reich
> \input linden
> \input darwin
> \stoptext
>
> Any feedback is welcome. @Hans: I can provide the Myriad font if this helps.

It's not specific to Myriad, I get the same problem with other fonts as 
well, such as Adobe Garamond or Optima (but not Minion Pro or Sabon). 
It's a bug with the new font loading mechanism; if you add

\usemodule [oldotf]

to your document, the problem goes away. Hans will probably write "fixed 
in next beta."

Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: Hyphenation, OTF font and tagging
  2015-11-09 12:34 ` Thomas A. Schmitz
@ 2015-11-09 13:45   ` Rik Kabel
  0 siblings, 0 replies; 3+ messages in thread
From: Rik Kabel @ 2015-11-09 13:45 UTC (permalink / raw)
  To: ntg-context

On 2015-11-09 07:34, Thomas A. Schmitz wrote:
> On 11/09/2015 08:42 AM, Christoph Reller wrote:
>> MWE:
>>
>> \setuptagging[state=start] %<- correct when commenting this line
>> \starttypescript[sans][myfont]
>> \definefontsynonym[Sans][file:MyriadPro-Regular]
>> \stoptypescript
>> \definetypeface[Body][ss][sans][myfont]
>> \setupbodyfont[Body,ss,10pt]
>> \starttext
>> \input knuth
>> \input tufte
>> \input reich
>> \input linden
>> \input darwin
>> \stoptext
>>
>> Any feedback is welcome. @Hans: I can provide the Myriad font if this 
>> helps.
>
> It's not specific to Myriad, I get the same problem with other fonts 
> as well, such as Adobe Garamond or Optima (but not Minion Pro or 
> Sabon). It's a bug with the new font loading mechanism; if you add
>
> \usemodule [oldotf]
>
> to your document, the problem goes away. Hans will probably write 
> "fixed in next beta."
>
> Thomas
And this appears to be the same issue I reported (on 20151022) with 
tagging and ebgaramond, so no need for an Adobe-licensed font for testing.

-- 
Rik
___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2015-11-09 13:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-09  7:42 Hyphenation, OTF font and tagging Christoph Reller
2015-11-09 12:34 ` Thomas A. Schmitz
2015-11-09 13:45   ` Rik Kabel

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