ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jeong Dal <haksan@me.com>
To: "list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
	ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: Re: getting the glyph of a character
Date: Tue, 02 May 2017 08:14:21 +0900	[thread overview]
Message-ID: <A44D0576-F566-46C9-AB44-8AF9E44D67C8@me.com> (raw)
In-Reply-To: <mailman.1453.1493624302.2050.ntg-context@ntg.nl>

Dear all,

In the previous mail, I tested the given code under the ConTeXt beta(standalone) which has no file “lm-ec.map” installed, so I couldn’t get the result.
But the following sample is working under MKIV in TeXlive 2016.
It looks great.

I guess that it is also working any font if the map file is provided. 
If my guess is true, is it possible to make map files of the fonts in the system?

Thank you for reading.

Best regards,

Dalyoung


\startbuffer[outline]
fontmapfile "=lm-ec.map";
%beginfig(56);
 picture q;
 path p;
 interim ahlength := 12bp;
 interim ahangle := 25;
 q := glyph “E" of "ec-lmr10" scaled .2;
 %draw q;
  for item within q:
   p := pathpart item;
   draw p withcolor (.6,.9,.6)
       withpen pencircle scaled 1.5;
 endfor
\stopbuffer

\starttext
\processMPbuffer[outline]
\stoptext
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

       reply	other threads:[~2017-05-01 23:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1453.1493624302.2050.ntg-context@ntg.nl>
2017-05-01 23:14 ` Jeong Dal [this message]
2017-05-01 23:36 ` Jeong Dal
2017-05-02  1:20   ` Mohammad Hossein Bateni
2017-05-02  2:46     ` Alan Braslau
     [not found] <mailman.1.1493546401.16571.ntg-context@ntg.nl>
2017-05-01  7:38 ` Jeong Dal

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=A44D0576-F566-46C9-AB44-8AF9E44D67C8@me.com \
    --to=haksan@me.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).