ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mohammad Hossein Bateni <bateni@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: getting the glyph of a character
Date: Mon, 1 May 2017 21:20:33 -0400	[thread overview]
Message-ID: <CAMHZ1dZMpdzks62xvnTC5QLD7vqakwh4LpiGn4+mbJ_8iyPoUw@mail.gmail.com> (raw)
In-Reply-To: <BDC9E1BA-0483-436C-8ABE-B2795AF77747@me.com>


[-- Attachment #1.1: Type: text/plain, Size: 1731 bytes --]

MetaPost's documentation mentions that glyph operator works on Adobe Type 1
fonts.  Does it also work with OpenType fonts when used from within LuaTeX
and CONTEXT?

On Mon, May 1, 2017 at 7:36 PM, Jeong Dal <haksan@me.com> wrote:

> Dear all,
>
> First of all, the sample code is working under the ConTeXt
> beta(standalone) installed in my notebook.
> I am very sorry to send mails of false result.
>
> I found the file “lm-ec.map” installed in the ConTeXt beta(standalone),
> and I don’t know why it was not working in the iMac. I have to check the
> installation.
>
> However, I’d like to know how to make map files of the fonts in the system
> for which the map file is not provided?
>
> 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
> ____________________________________________________________
> _______________________
>

[-- Attachment #1.2: Type: text/html, Size: 2640 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2017-05-02  1:20 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
2017-05-01 23:36 ` Jeong Dal
2017-05-02  1:20   ` Mohammad Hossein Bateni [this message]
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=CAMHZ1dZMpdzks62xvnTC5QLD7vqakwh4LpiGn4+mbJ_8iyPoUw@mail.gmail.com \
    --to=bateni@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).