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
--------------------------------------------------


"
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)