ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco Patzer <lists@homerow.info>
To: ntg-context@ntg.nl
Subject: Re: Em dash using Hoefler
Date: Tue, 20 Aug 2013 10:33:34 +0200	[thread overview]
Message-ID: <20130820083334.GE17312@homerow> (raw)
In-Reply-To: <2C698EAF-A1D3-40CA-84F0-6F9E1D735C57@cam.ac.uk>


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

On 2013–08–19 Martin Moncrieffe wrote:

> Hopefully, this is the correct list for this question.  I'm trying
> to typeset documents using the font Hoefler on MacOSX (10.8.4)
> with ConTeXt 2013.05.28 from the TeXlive 2013 distribution.  All
> works, but unfortunately, em dashes are not typeset correctly;
> there are three dashes instead of a continuous line.

The font (at least my version) does not contain an em dash in slot
U+2014.

> I'm obviously missing something and would appreciate help in correcting this.

It rather seems that not you, but the font is missing something.

> A minimal example that produces the error is:
> 
> \usetypescriptfile[osx]
> \usetypescript[hoefler]
> \setupbodyfont[hoefler,11pt]
> 
> \starttext
> 
> A test of Hoefler at 10 pt. The  emdash--- does not work...
> 
> \stoptext 
> 
> 
> files are compiled using "context myfile.tex"

I get the same result here. However, if I compile with

  context --jit myfile.tex

I get Latin Modern instead of Hoefler. From the log file:

  fonts  > defining > font with asked name 'hoeflertext' is not found using lookup 'name'
  fonts  > defining > unknown font 'hoeflertext', loading aborted
  fonts  > defining > unable to define 'hoeflertext' as 'hoefler-12pt-rm-tf-0--0'

The font is there:

  mtxrun --script fonts --list --all hoefler

  hoeflertext          hoeflertext   /home/marco/.fonts/HoeflerText.otf
  hoeflertextnormal    hoeflertext   /home/marco/.fonts/HoeflerText.otf
  hoeflertextregular   hoeflertext   /home/marco/.fonts/HoeflerText.otf

Why does the font lookup differ between luatex and luajittex?

Hoefler Version: OTF 1.0;PS 001.001;Core 116;AOCW 1.0 161


Marco

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 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
___________________________________________________________________________________

  reply	other threads:[~2013-08-20  8:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-19 10:20 Martin Moncrieffe
2013-08-20  8:33 ` Marco Patzer [this message]
2013-08-20  9:52   ` Marco Patzer
2013-08-20 11:02     ` Wolfgang Schuster
2013-08-20 12:00       ` Hans Hagen
2013-08-20 12:25         ` Khaled Hosny
2013-08-20 11:10     ` Martin Moncrieffe
2013-08-20 11:51       ` Marco Patzer
2013-08-20 12:00         ` Matt Gushee
2013-08-20 12:07           ` Martin Moncrieffe
2013-08-20 12:16             ` Hans Hagen

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=20130820083334.GE17312@homerow \
    --to=lists@homerow.info \
    --cc=ntg-context@ntg.nl \
    /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).