ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Derek CORDEIRO <derekcordeiro@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Small caps problem/bug with some fonts
Date: Fri, 18 Sep 2009 23:05:23 +0530	[thread overview]
Message-ID: <33c64e670909181035u4b766efesd85c99aeb566adbc@mail.gmail.com> (raw)
In-Reply-To: <4AB387A0.2000300@wxs.nl>


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

On Fri, Sep 18, 2009 at 6:44 PM, Hans Hagen <pragma@wxs.nl> wrote:

> Mika Ritola wrote:
>
>> Hello all,
>>
>> For some reason, the snippet below outputs 'ThOMAS' instead of 'THOMAS.'
>> This seems to be font dependent; at least Adobe Jenson Pro and Adobe
>> Garamond Pro produce 'Th,' while the other fonts that I've tried produce
>> 'TH', as expected. I don't know whether the bug exists in the fonts
>> themselves or in the way they are handled by ConTeXt or the Simplefonts
>> module, or possibly some other part of the system. In any case, could you
>> suggest a work-around, please?
>>
>> I'm using ConText version 2009.09.16 20:07 and Simplefonts version
>> 2009.09.15.
>>
>>
>> \usemodule[simplefonts]
>> \setmainfont[Adobe Jenson Pro]
>>
>> \starttext
>> {\sc Thomas}
>> \stoptext
>>
>

That does not work for me at all. The following does work with generating
the same ThOMAS

\usemodule[simplefonts]

\setmainfont[A Jenson Pro Regular]

\starttext
{\sc Thomas}
\stoptext




>
> could it be a bug in the font? i.e. a Th ligature showing up in smallcaps?
> if so, then simplefonts should disable ligatures in smallcaps
>

I doubt it is a font bug as the following plain luatex works.

\font\body=file:AJensonPro-Regular:mode=node;script=latn;language=dflt;+liga;+dlig;+smcp
at 12pt

\body Thomas

\bye

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

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

  reply	other threads:[~2009-09-18 17:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-18 12:57 Mika Ritola
2009-09-18 13:14 ` Hans Hagen
2009-09-18 17:35   ` Derek CORDEIRO [this message]
2009-09-18 17:54     ` Hans Hagen
2009-09-18 18:54       ` Derek CORDEIRO
2009-09-18 20:32         ` Barry Schwartz
2009-09-18 21:40           ` Hans Hagen
2009-09-18 22:05             ` Barry Schwartz
2009-09-19 16:32               ` Hans Hagen
2009-09-18 17:57     ` Hans Hagen
2009-09-18 20:35       ` Wolfgang Schuster
2009-09-18 18:01     ` Hans Hagen
2009-09-18 18:58       ` Derek CORDEIRO
2009-09-18 18:15   ` Barry Schwartz
2009-09-18 18:42     ` Hans Hagen
2009-09-18 20:19       ` Barry Schwartz
2009-09-18 21:39         ` Hans Hagen
2009-09-18 22:38           ` Barry Schwartz
2009-09-19 16:52             ` Hans Hagen
2009-09-22  4:15               ` Barry Schwartz
2009-09-22  7:18                 ` 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=33c64e670909181035u4b766efesd85c99aeb566adbc@mail.gmail.com \
    --to=derekcordeiro@gmail.com \
    --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).