ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: (RSFS) font installation
Date: Fri, 18 Mar 2011 19:30:09 +0100	[thread overview]
Message-ID: <4D83A4B1.2000504@wxs.nl> (raw)
In-Reply-To: <AANLkTi=daw7kvmAK6FP_VyZDPoLg7xrh+bduo6aM4HCo@mail.gmail.com>

On 18-3-2011 5:01, mathew wrote:
> On Fri, Mar 18, 2011 at 09:51, Hans Hagen<pragma@wxs.nl>  wrote:
>> On 18-3-2011 3:40, mathew wrote:
>>> \definetypeface [dingbats][ss][sans][dingbats][default]
>>
>> this assumes a dingbats typescript
>
> Sorry, I omitted that when copying my code...
>
>>> \starttext
>>> {\dingbats \uchar{39}{7}\uchar{39}{13}\uchar{39}{42}}
>>> \stoptext
>>
>> {\getnamedglyphdirect{dingbats}{0x39}}
>
> \starttypescript [sans][dingbats][name]
>    \definefontsynonym [Sans][name:dingbats]
> \stoptypescript
> \definetypeface [dingbats][ss][sans][dingbats][default]
> \starttext
> {\getnamedglyphdirect{dingbats}{0x272a}}
>
> Or here's the character directly: ✪
> \stoptext
>
> ...still not working. But KCharSelect says that the Dingbats font has
> a glyph at 0x272a.
>
> fonts>  fallback modern rm 12pt is loaded
> system>  begin file makeup.tex at line 5
> fonts>  defining>  font with asked name 'dingbats' is not
> found using lookup 'file'
> fonts>  defining>  unknown font dingbats, loading aborted
> fonts>  defining>  unable to define dingbats as \**currentsymbolfont**
> backend>  xmp>  using file
> '/usr/local/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
>
> And yet if I run mtxrun --script fonts --list --all --pattern=* | grep dingbats
> immediately after that ConTeXt run, in the same shell session, I see:
> dingbats                             dingbats
> /usr/share/fonts/type1/gsfonts/d050000l.afm
> dingbatsnormal                       dingbats
> /usr/share/fonts/type1/gsfonts/d050000l.afm
>
> Also doesn't work if I reference the afm file directly using
>    \definefontsynonym [sans][/usr/share/fonts/type1/gsfonts/d050000l.afm]

try

name:dingbats

or

file:d050000l

and no path

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2011-03-18 18:30 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16 14:00 Stefan Müller
2011-03-16 15:58 ` mathew
2011-03-17  9:05   ` Stefan Müller
2011-03-17 12:40     ` Ulrike Fischer
2011-03-17 13:41       ` Stefan Müller
2011-03-17 16:12         ` Otared Kavian
2011-03-17 16:53           ` Stefan Müller
2011-03-17 15:04     ` mathew
2011-03-17 16:53       ` Stefan Müller
2011-03-18  2:42         ` mathew
2011-03-18  3:27           ` Khaled Hosny
2011-03-18 10:04             ` Hans Hagen
2011-03-18 14:40               ` mathew
2011-03-18 14:51                 ` Hans Hagen
2011-03-18 16:01                   ` mathew
2011-03-18 18:30                     ` Hans Hagen [this message]
     [not found]                       ` <AANLkTinWPdN-H6TPNato9PG7Fh0PzvfS0PkHXehzbt6J@mail.gmail.com>
2011-03-22 16:08                         ` mathew
2011-03-22 16:55                           ` Taco Hoekwater
2011-03-18 11:26           ` Stefan Müller
2011-03-18 11:39             ` Hans Hagen
2011-03-18 14:47               ` Stefan Müller

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=4D83A4B1.2000504@wxs.nl \
    --to=pragma@wxs.nl \
    --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).