From: Sietse Brouwer <sbbrouwer@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: wiki page for \feature
Date: Fri, 22 Mar 2013 16:33:02 +0100 [thread overview]
Message-ID: <CAF=dkzz2hiQ+yTJGx2edsotWz01GH-ASd1mR+jq9sgNG51DAuQ@mail.gmail.com> (raw)
In-Reply-To: <op.wubjk91vpw6hmh@ishamid-pc>
Dear Idris,
I have merged your output graphic into the article --- perhaps a bit
large, but I wanted to be sure the features were legible. Thank you
for including the PDF, that made things easier.
I have taken the liberty of moving the page title to [[Featuresets]]
---easier to remember, I think, and easier to link to. I've updated
your redirects, of cours. [[Open Type Font Features]], [[Open Type
Fonts and Featuresets in MkIV]], and [[Font features]] all redirect
there.
http://wiki.contextgarden.net/Featuresets#Sample_file_with_examples
Thank-you for writing this article, it is much appreciated.
Sietse
On 22 March 2013 00:01, Idris Samawi Hamid ادريس سماوي حامد
<ishamid@colostate.edu> wrote:
> Dear gang,
>
> I made a wiki page for \feature et al:
>
> http://wiki.contextgarden.net/Open_Type_Fonts_and_Featuresets_in_MkIV
>
> Towards the end we need a graphical sample of the sample file, but I do not
> know how to do that. See
>
> =======
> Now let us review the results:
>
> [output/graphic here]
> =======
>
> I have to move on to other projects so I'm leaving completion and
> improvement to others in the community. Here is the sample file (needs
> latest beta! pdf attached as well) that needs graphical output on the page:
>
> ==============
> \definefontfeature
> [schola-preset]
> [mode=node,script=latn,language=dflt,kern=yes,liga=yes,lnum=yes]
>
> \starttypescript [serif] [schola-preset] [name]
> \definefontsynonym [Serif]
> [name:texgyreschola-regular.otf][features=schola-preset]
> \stoptypescript
>
> \starttypescript [serif] [schola-preset] [size]
> \definebodyfont
> [35.8pt,29.8pt,24.8pt,20.7pt,17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt]
> [rm]
> [tf=Serif sa 1]
> \stoptypescript
>
> \starttypescript [schola-default]
> \definebodyfontenvironment
> [schola-default]
> [default]
> [interlinespace=2.7ex]
> \definetypeface [schola-default] [rm] [serif] [schola-preset]
> [schola-preset] % [default]
> \stoptypescript
>
> \usetypescript[schola-default]
> \setupbodyfont[schola-default,12pt]
>
> \definefontfeature[f:smallcaps] [smcp=yes]
> \definefontfeature[f:thinimacron] [ss04=yes]
> \definefontfeature[f:upsidedown] [dlig=yes]
>
>
> \definefontfeature[f:newstyle] [onum=no]
> \definefontfeature[f:nocaps] [smcp=no]
> \definefontfeature[f:wideimacron] [ss04=no]
> \definefontfeature[f:rightsideup] [dlig=no]
>
>
> \definefontfeature[f:ligatures] [liga=yes]
> \definefontfeature[f:noligatures] [liga=no]
>
> \definefontfeature[f:oldstyle] [onum=yes,lnum=no]
>
> \definefontfeature[f:oldstyleupsidedown] [onum=yes,dlig=yes]
> \definefontfeature[f:newstylerightsideup] [onum=no,dlig=no]
>
> \definefontfeature[f:oldstylewmacron] [ss04=no,onum=yes]
> \definefontfeature[f:newstylesmallcaps] [smcp=yes,onum=no]
>
> \startTEXpage[offset=10pt]
>
> \define\SAMPLE{123 Idrīs ?` !` VA fi}
>
> \SAMPLE\blank
>
> \feature[+][f:oldstyle] \SAMPLE \blank
> \feature[more][f:thinimacron] \SAMPLE \blank
> \addfeature[f:upsidedown] \SAMPLE \blank
>
> \feature[+][f:smallcaps] \SAMPLE \blank
> \addfeature[f:wideimacron] \SAMPLE \blank
>
> \feature[-][f:upsidedown] \SAMPLE \blank
>
> \feature[=][f:oldstyleupsidedown]\SAMPLE \blank
>
> \feature[!][f:smallcaps] \SAMPLE \blank
>
> \feature[<] \SAMPLE \blank
> \stopTEXpage
> ==============
>
> Thanks and best wishes
> Idris
> --
> Professor Idris Samawi Hamid
> Department of Philosophy
> Colorado State University
> Fort Collins, CO 80523
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2013-03-22 15:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-21 23:01 Idris Samawi Hamid ادريس سماوي حامد
2013-03-22 15:33 ` Sietse Brouwer [this message]
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='CAF=dkzz2hiQ+yTJGx2edsotWz01GH-ASd1mR+jq9sgNG51DAuQ@mail.gmail.com' \
--to=sbbrouwer@gmail.com \
--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).