From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>, Mari Voipio <mari.voipio@iki.fi>
Subject: Re: lucida ot
Date: Fri, 13 Apr 2012 19:40:57 +0200 [thread overview]
Message-ID: <1F76E946-2380-405A-A002-3F1679CD4EF6@googlemail.com> (raw)
In-Reply-To: <CAGbDsP27Kt8ZMvANKRSwyS=uLkii-=MhRCNtRF=eBMi8Ux36dA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1576 bytes --]
Am 13.04.2012 um 19:12 schrieb Mari Voipio:
> On Sat, Apr 7, 2012 at 00:25, Hans Hagen <pragma@wxs.nl> wrote:
>>
>> Just copy the *.otf files to for instance a directory
>> <yourtexroot>/tex/texmf-fonts/fonts/opentype/data/lucidaot
>>
>> and then run
>> mtxrun --generate
>>
>> after that
>> \setupbodyfont[lucidaot]
>> should work.
>
> It does! I had a prolonged fight with my Mac about using an up-to-date
> version of ConTeXt, but once I got that far, the rest wasn't that bad.
>
> So the next "for dummies" question is:
>
> If I do \ss or 'sans' in setupbodyfont, I get Lucida Sans - but how do
> I access Blackletter, Calligraphy and Handwriting?
>
> A quick excursion into \cg and \hw didn't work out, I think I'm
> missing something here...
>
> I'd have a real use for all of the three like about right now,
> recreating something from 15th and 17th century with 21st century
> technology, with output in both period style and in various more
> modern forms - ConTeXt should be the perfect tool for the job, if I
> can learn enough to make it work :-)
I attached a modified version of the typescript file where I added calligraphic and handwriting, blackletter is missing because there is no font command for the style.
\setupbodyfont[lucidanova]
\define[1]\LucidaTest
{\begingroup
#1\tf Regular \it Italic \sl Slanted \bf Bold \bi BoldItalic \bs BoldSlanted \tf fi fl VA \par
\endgroup}
\starttext
\LucidaTest\rm
\LucidaTest\ss
\LucidaTest\tt
\LucidaTest\hw
\LucidaTest\cg
\stoptext
Wolfgang
[-- Attachment #2: type-imp-lucida-opentype.mkiv --]
[-- Type: application/octet-stream, Size: 4219 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!hw] [\s!handwriting] [\typescriptone] [\s!default] [\s!features=\s!default]
\definetypeface [\typescriptone] [\s!cg] [\s!calligraphy] [\typescriptone] [\s!default] [\s!features=\s!default]
\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 [\s!handwriting] [lucidanova,lucidaot,otlucida]
\definefontsynonym [\s!Handwriting] [\s!file:LucidaHandwritingOT.otf]
\stoptypescript
\starttypescript [\s!calligraphy] [lucidanova,lucidaot,otlucida]
\definefontsynonym [\s!Calligraphy] [\s!file:LucidaCalligraphyOT.otf]
\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 #3: Type: text/plain, Size: 2 bytes --]
[-- Attachment #4: 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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-04-13 17:40 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-16 20:50 Hans Hagen
2012-03-16 21:03 ` Aditya Mahajan
2012-03-16 22:00 ` Hans Hagen
2012-03-16 22:08 ` Meer, H. van der
2012-03-16 22:10 ` Hans Hagen
2012-04-06 21:15 ` Mari Voipio
2012-04-06 21:25 ` Hans Hagen
2012-04-13 17:12 ` Mari Voipio
2012-04-13 17:40 ` Wolfgang Schuster [this message]
2012-04-13 18:06 ` Mari Voipio
2012-04-18 11:37 ` Mari Voipio
2012-04-20 13:24 ` Mari Voipio
2012-04-20 13:59 ` Hans Hagen
2012-04-21 9:36 ` Wolfgang Schuster
2012-04-21 11:52 ` Mari Voipio
2012-04-24 16:57 ` Mari Voipio
2012-04-24 17:53 ` Wolfgang Schuster
2012-04-25 19:10 ` Mari Voipio
2012-04-29 10:24 ` 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=1F76E946-2380-405A-A002-3F1679CD4EF6@googlemail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=mari.voipio@iki.fi \
--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).