ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: new lucida font
Date: Mon, 19 Mar 2012 11:36:08 +0100	[thread overview]
Message-ID: <F9126CB7-A9C0-4F57-99E2-3AB5BBFD9F6A@googlemail.com> (raw)
In-Reply-To: <B7DD1F57-5712-4B20-BA9F-91D6EBF828C7@uva.nl>


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


Am 19.03.2012 um 11:12 schrieb Meer, H. van der:

> 
> On 19 mrt. 2012, at 10:01, Wolfgang Schuster wrote:
> 
>> The new version of the lucida fonts use different names for the typescript, we have now:
>> 
>> - “lucida” for the old type1 version,
>> - “lucidaot” for the new opentype version and
>> - “lucidanova” as alternative name for the opentype version.
> 
> The "lucidaot" works. But I have observed the following, which might be caused by a naming difference. I am using ConTexT version 2012.03.13 21:26 MKIV; the latest I can download.
> 
> The example is:
> \setuppapersize[A5][A5]
> \setuppagenumbering[state=off]

It’s “state=stop” and works here only because context checks only the “state=start” case.

> \setupbodyfont[lucidaot,sans,10pt]
> \starttext
> sans {\it sans italic}.
> \stoptext
> 
> But "sans italic" is not typeset in italic, see the output pdf below.
> In the log I see a message about a missing lucidanova.lfg. Present in a more recent beta perhaps
> In the opentype font list I do not find LucidaSansOT-Oblique but I do see LucidaSansOT-Italic.
> 
> Could it be something should be changed in a typescript?

Can you try to attached typescript file, I replaced the files for italic and bolditalic fonts for the sans style with the names from the latex example document. The slanted and boldslanted alternatives for the sans style are also fixed.

Wolfgang

[-- Attachment #1.2.1: Type: text/html, Size: 3256 bytes --]

[-- Attachment #1.2.2: type-imp-lucida-opentype.mkiv --]
[-- Type: application/octet-stream, Size: 3839 bytes --]

%D \module
%D   [       file=type-lucida-opentype,
%D        version=2011.05.18,
%D          title=\CONTEXT\ Typescript Macros,
%D       subtitle=Lucida Nova Opentype,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

% NOTA BENE: class feattures and goodies get expanded!

\starttypescriptcollection[lucida-opentype]

    \starttypescript [lucidanova,lucidaot,otlucida]
        \loadfontgoodies[lucida-opentype-math]
        \definetypeface [\typescriptone] [\s!rm] [\s!serif] [\typescriptone] [\s!default] [\s!features=\s!default]
        \definetypeface [\typescriptone] [\s!ss] [\s!sans]  [\typescriptone] [\s!default] [\s!features=\s!default]
        \definetypeface [\typescriptone] [\s!tt] [\s!mono]  [\typescriptone] [\s!default] [\s!features=\s!none]
        \definetypeface [\typescriptone] [\s!mm] [\s!math]  [\typescriptone] [\s!default]
        % for the moment here:
        \setupmathrendering[\typescriptone][\s!it=\s!italic]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [\s!serif] [lucidanova,lucidaot,otlucida]
        \definefontsynonym [\s!Serif]            [\s!file:LucidaBrightOT.otf]
        \definefontsynonym [\s!SerifBold]        [\s!file:LucidaBrightOT-Demi.otf]
        \definefontsynonym [\s!SerifItalic]      [\s!file:LucidaBrightOT-Italic.otf]
        \definefontsynonym [\s!SerifBoldItalic]  [\s!file:LucidaBrightOT-DemiItalic.otf]
        \definefontsynonym [\s!SerifSlanted]     [\s!SerifItalic]
        \definefontsynonym [\s!SerifBoldSlanted] [\s!SerifBoldItalic]
    \stoptypescript

    \starttypescript [\s!sans] [lucidanova,lucidaot,otlucida]
        \definefontsynonym [\s!Sans]            [\s!file:LucidaSansOT.otf]
        \definefontsynonym [\s!SansBold]        [\s!file:LucidaSansOT-Demi.otf]
        \definefontsynonym [\s!SansItalic]      [\s!file:LucidaSansOT-Italic.otf]
        \definefontsynonym [\s!SansBoldItalic]  [\s!file:LucidaSansOT-DemiItalic.otf]
        \definefontsynonym [\s!SansSlanted]     [\s!SansItalic]
        \definefontsynonym [\s!SansBoldSlanted] [\s!SansBoldItalic]
    \stoptypescript

    \starttypescript [\s!mono] [lucidanova,lucidaot,otlucida]
        \definefontsynonym [\s!Mono]            [\s!file:LucidaSansTypewriterOT.otf]
        \definefontsynonym [\s!MonoBold]        [\s!file:LucidaSansTypewriterOT-Bold.otf]
        \definefontsynonym [\s!MonoItalic]      [\s!file:LucidaSansTypewriterOT-Oblique.otf]
        \definefontsynonym [\s!MonoBoldItalic]  [\s!file:LucidaSansTypewriterOT-BoldOblique.otf]
        \definefontsynonym [\s!MonoSlanted]     [\s!MonoItalic]
        \definefontsynonym [\s!MonoBoldSlanted] [\s!MonoBoldItalic]
    \stoptypescript

    \starttypescript [\s!math] [lucidanova,lucidaot,otlucida]
        \definefontsynonym [\s!MathRoman]     [\s!file:LucidaBrightMathOT.otf]      [\s!features=\s!math\mathsizesuffix,\s!goodies=lucidanova-math]
        \definefontsynonym [\s!MathRomanBold] [\s!file:LucidaBrightMathOT-Demi.otf] [\s!features=\s!math\mathsizesuffix,\s!goodies=lucidanova-math]
    \stoptypescript

    \starttypescript [handwriting] [lucidanova,lucidaot,otlucida]
        \definefontsynonym [\s!Handwriting] [\s!file:LucidaHandwritingOT]
        \definefontsynonym [\s!Serif]       [\s!Handwriting]
    \stoptypescript

\stoptypescriptcollection

\endinput

\starttext

    \setupbodyfont[lucidanova]

%   \showfont[Serif][all]
%   \showfont[MathRoman][all]

    \usemodule[fnt-31]

    \startluacode
        fonts.tracers.coverage {
            "LucidaMathOT.otf",
            "LucidaBrightOT.otf",
            "LucidaSansOT-Typewriter.otf",
        }
    \stopluacode

\stoptext

[-- Attachment #1.2.3: Type: text/html, Size: 136 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:[~2012-03-19 10:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-19  8:38 Meer, H. van der
2012-03-19  9:01 ` Wolfgang Schuster
     [not found]   ` <8351EB84-7C4D-4666-ADD2-27AEDA168765@uva.nl>
2012-03-19  9:48     ` Wolfgang Schuster
2012-03-19 10:12   ` Meer, H. van der
2012-03-19 10:36     ` Wolfgang Schuster [this message]
2012-03-24  0:58       ` Renaud AUBIN
2012-03-24 12:04         ` Wolfgang Schuster

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=F9126CB7-A9C0-4F57-99E2-3AB5BBFD9F6A@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).