* special features in simplefonts.
@ 2015-01-24 21:46 John Culleton
2015-01-25 9:52 ` Pablo Rodriguez
0 siblings, 1 reply; 2+ messages in thread
From: John Culleton @ 2015-01-24 21:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
In regular Context font usage I have this
statement that works:
\def\Fontsize{13}
\font \rm =
"file:MinionPro-Regular.otf:+liga;expansion=default;protrusion=quality"
at \Fontsize bp
How would I use this font in simplefonts?
it is the trailing parameters that I don't know
how to use in simplefonts, like:
:+liga;expansion=default;protrusion=quality
--
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
Updated PDF e-book: "Create Book Covers with
Scribus 1.4.5" coming soon at
http://www.booklocker.com/!
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: special features in simplefonts.
2015-01-24 21:46 special features in simplefonts John Culleton
@ 2015-01-25 9:52 ` Pablo Rodriguez
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Rodriguez @ 2015-01-25 9:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 01/24/2015 10:46 PM, John Culleton wrote:
> In regular Context font usage I have this
> statement that works:
>
> \def\Fontsize{13}
> \font \rm =
> "file:MinionPro-Regular.otf:+liga;expansion=default;protrusion=quality"
> at \Fontsize bp
Hi John,
well, I don’t know how to use the definition above.
> How would I use this font in simplefonts?
> it is the trailing parameters that I don't know
> how to use in simplefonts, like:
>
> :+liga;expansion=default;protrusion=quality
As the body font:
\setuppapersize[A6]
\definefontfamily[minion][serif][Minion Pro][features={default,quality}]
\setupalign[hanging, hz]
\setupbodyfont[minion, 13pt]
\starttext
\input knuth
\stoptext
As a text font (copied from
http://www.ntg.nl/pipermail/ntg-context/2013/075529.html):
\setuppapersize[A6]
\definefontfamily[minion][rm][Minion Pro][features={default,quality}]
\definefont[minionquality][\classfont{minion}{Serif} at 13pt]
\setupalign[hanging, hz]
\starttext
\input zapf
\minionquality\setupinterlinespace
\input zapf
\stoptext
These font features (default and quality) are already defined in
font-pre.mkiv.
I hope it helps,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-25 9:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-24 21:46 special features in simplefonts John Culleton
2015-01-25 9:52 ` Pablo Rodriguez
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).