ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "C." <metan0r@gmx.de>
To: "'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Re: Endash tlig not working
Date: Tue, 22 Mar 2011 13:57:05 +0100	[thread overview]
Message-ID: <001401cbe890$a683eef0$f38bccd0$@gmx.de> (raw)
In-Reply-To: <4D887259.40803@wxs.nl>

[-- Attachment #1: Type: text/plain, Size: 1246 bytes --]

The font is Whitman (ttf). Minimal example and its output is attached.

> -----Ursprüngliche Nachricht-----
> Von: Hans Hagen [mailto:pragma@wxs.nl]
> Gesendet: Dienstag, 22. März 2011 10:57
> An: mailing list for ConTeXt users
> Cc: C.
> Betreff: Re: [NTG-context] Endash tlig not working
> 
> On 22-3-2011 1:23, C. wrote:
> > Hello,
> > the automatic replacement of -- to endash does not work with a certain
> font.
> > \endash does work and produces the expected symbol.
> > I also have these lines in my code:
> > \definefontfeature[tlig][default][tlig=yes]
> > \addff{tlig}
> >
> > I checked that the endash is at position U+2013 in the font.
> >
> > What else could be wrong here?
> 
> the fact that you don't tell what font it concerns and that no minimal
example
> is added
> 
> 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
> -----------------------------------------------------------------


[-- Attachment #2: minimal.tex --]
[-- Type: application/octet-stream, Size: 285 bytes --]

\usemodule[simplefonts]
\definefontfeature[tlig][default][tlig=yes]
\setmainfont[Whitman Roman][regularfont=whitmanromanlf,boldfont=whitmanboldlf,italicfont=whitmanitaliclf,expansion=quality, protrusion=quality]
\addff{tlig}
\starttext
\char"2013\\
\endash\\
- \\
--
\stoptext

[-- Attachment #3: minimal.pdf --]
[-- Type: application/pdf, Size: 6151 bytes --]

[-- Attachment #4: Type: text/plain, Size: 486 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:[~2011-03-22 12:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-22  0:23 C.
2011-03-22  9:56 ` Hans Hagen
2011-03-22 12:57   ` C. [this message]
2011-03-22 13:06     ` Khaled Hosny

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='001401cbe890$a683eef0$f38bccd0$@gmx.de' \
    --to=metan0r@gmx.de \
    --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).