From: Andrea Valle <valle@di.unito.it>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: fonts (in luatex) (again)
Date: Tue, 15 Jul 2008 17:10:06 +0200 [thread overview]
Message-ID: <A1DAD49C-24F9-4C53-BC02-CCC21A08265C@di.unito.it> (raw)
In-Reply-To: <6faad9f00807150718s30dd2e38ob948fa388d42cd4a@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 4184 bytes --]
Hi
now I'm trying to use Optima.
So I assembled a type-optima.tex with this:
\starttypescript [sans] [optima]
\definefontsynonym [OptimaRegular] [name:Optima Regular]
[features=default]
\definefontsynonym [OptimaBold] [name:Optima Bold]
[features=default]
\definefontsynonym [OptimaBoldItalic] [name:Optima Bold
Italic] [features=default]
\definefontsynonym [OptimaExtraBlack] [name:Optima
ExtraBlack] [features=default]
\definefontsynonym [OptimaItalic] [name:Optima Italic]
[features=default]
\stoptypescript
\starttypescript [sans] [optima]
\definefontsynonym [Sans] [OptimaRegular]
[features=default]
\definefontsynonym [SansItalic] [OptimaItalic]
[features=default]
\definefontsynonym [SansBold] [OptimaBold]
[features=default]
\definefontsynonym [SansBoldItalic] [OptimaBoldItalic]
[features=default]
\definefontsynonym [SansExtra] [OptimaExtraBlack]
[features=default]
\stoptypescript
\starttypescript
\definetypeface[optima][rm][sans][optima][default]
\definetypeface[optima][ss][sans][optima][default]
\definetypeface[optima][tt][mono][modern] [default][rscale=1.12]
\definetypeface[optima][mm][math][iwona] [default][rscale=1.02]
\stoptypescript
Then, did the usual stuff.
But the pdf from
\usetypefile [optima]
\usetypescript[optima]
\setupbodyfont[optima]
\starttext
Oh yes, I'm a test, baby
{\bf there's a little} {\em black} {\sc spot}
in the sun today
\stoptext
uses LM.
The console says:
....
specials : fdf loaded
) (type-optima.tex)
...
the font file is Optima.dfont
Best
-a-
On 15 Jul 2008, at 16:18, Mojca Miklavec wrote:
> On Tue, Jul 15, 2008 at 4:16 PM, Mojca Miklavec wrote:
>> Hello Andrea,
>>
>> before proceeding any further ... where on earth did you find exactly
>> that font? :) :) :)
>>
>> It's a "resource-based" Type1 font or whatever they call it. I don't
>> believe that LuaTeX supports such fonts at all, but maybe Taco can
>> correct me. XeTeX only supports those fonts when using xdv2pdf engine
>> (xdvipdfmx doesn't honor them). And I would say "if you really wanted
>> to use those fonts in ConTeXt, there is a way, but hardcoded deep
>> down
>> in ConTeXt core".
>
> Btw: with the fonts that you have sent me, the definitions should be
>
> \starttypescript [sans] [delicious]
> \definefontsynonym [Delicious-Regular] [file:DelicRom]
> [features=default]
> \definefontsynonym [Delicious-Italic] [file:DelicIta]
> [features=default]
> \definefontsynonym [Delicious-Bold] [file:DelicBol]
> [features=default]
> \definefontsynonym [Delicious-BoldItalic] [file:DelicBolIta]
> [features=default]
> % it should be features=smallcaps for normal fonts
> \definefontsynonym [Delicious-Caps] [file:DelicSmaCap]
> [features=default]
> \stoptypescript
>
> But the font doesn't work with LuaTeX anyway (it could work in XeTeX),
> so do not even try. The name after "file:" needs to match the
> filename.
>
> Mojca
> ______________________________________________________________________
> _____________
> 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
> ______________________________________________________________________
> _____________
--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.myspace.com/andreavalle
--> andrea.valle@unito.it
--------------------------------------------------
"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)
[-- Attachment #1.2: Type: text/html, Size: 13334 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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-07-15 15:10 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-28 15:34 Andrea Valle
2008-06-28 17:55 ` Charles P. Schaum
2008-06-30 20:42 ` Andrea Valle
2008-06-30 21:06 ` Hans Hagen
2008-07-02 13:25 ` Andrea Valle
2008-07-02 15:41 ` Hans Hagen
2008-07-02 17:22 ` Andrea Valle
2008-07-02 22:09 ` Hans Hagen
2008-07-02 23:40 ` Andrea Valle
2008-07-03 7:55 ` Hans Hagen
2008-07-03 7:57 ` Mojca Miklavec
2008-07-03 8:48 ` Wolfgang Schuster
2008-07-03 9:28 ` Mojca Miklavec
2008-07-03 9:40 ` Wolfgang Schuster
2008-07-03 9:22 ` Khaled Hosny
2008-07-03 9:51 ` Hans Hagen
2008-07-03 6:47 ` Wolfgang Schuster
2008-07-02 23:30 ` Diego Depaoli
2008-06-30 6:56 ` Wolfgang Schuster
2008-06-30 20:37 ` Andrea Valle
2008-07-15 13:14 ` Andrea Valle
2008-07-15 13:22 ` Mojca Miklavec
2008-07-15 13:34 ` Andrea Valle
2008-07-15 14:16 ` Mojca Miklavec
2008-07-15 14:18 ` Mojca Miklavec
2008-07-15 15:10 ` Andrea Valle [this message]
2008-07-15 15:35 ` Mojca Miklavec
2008-07-15 15:41 ` Taco Hoekwater
2008-07-15 16:22 ` Arthur Reutenauer
2008-07-15 15:59 ` Andrea Valle
2008-07-15 16:27 ` Mojca Miklavec
2008-07-15 19:19 ` Thomas A. Schmitz
2008-07-15 20:53 ` Charles P. Schaum
2008-07-15 21:58 ` Taco Hoekwater
2008-07-15 21:30 ` Andrea Valle
2008-07-16 0:42 ` Diego Depaoli
2008-07-16 7:15 ` Andrea Valle
2008-07-16 11:26 ` Wolfgang Schuster
2008-07-17 8:05 ` Andrea Valle
2008-07-15 20:36 ` Hans Hagen
2008-07-15 20:54 ` Hans Hagen
2008-07-15 21:04 ` Andrea Valle
2008-07-15 14:39 ` Andrea Valle
2008-07-15 14:50 ` Aditya Mahajan
2008-07-15 15:53 ` Mojca Miklavec
2008-07-15 15:57 ` Andrea Valle
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=A1DAD49C-24F9-4C53-BC02-CCC21A08265C@di.unito.it \
--to=valle@di.unito.it \
--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).