ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco Pessotto <melmothx@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Minimal ConTeXt and texfont!
Date: Tue, 14 Dec 2010 14:21:01 +0100	[thread overview]
Message-ID: <87ipyw8p8i.fsf@universe.krase.net> (raw)
In-Reply-To: <4D076BC8.5050105@ziggo.nl>

"Verhaag, G.C.H.M." <verhaaggchm@ziggo.nl> writes:

> Well I've put my ttf into:  texmf-fonts/fonts/data, and entered the
> following sequence of commands:
>
> mktexlsr
>
> mtxrun --scripts fonts --reload
>
> context --generate
>
> Then I checked using the following command:
>
> mtxrun --script fonts --list --all --pattern=*snow*
>
> which yielded the following output:
>
> plymouthrocksnowdusted         plymouthrocksnowdusted
> PlymouthSnowDusted.ttf
> plymouthrocksnowdustednormal   plymouthrocksnowdusted
> PlymouthSnowDusted.ttf
>
> So this seams to be okay!
>
> Next I used the proposed context file:
>
> \definefont[snowdust][file:snowdusted*default]
> \starttext
> \snowdust SnowDusted
> \stoptext
>
try instead 
\usemodule[simplefonts] % load the module
\setmainfont[PlymouthRock 'SnowDusted']

I don't know if the '' in the family name will break the module.
I downloaded the file and checked with otfinfo -a file.ttf to get the
family name. You should do the same.

http://wiki.contextgarden.net/Fonts_in_LuaTeX#With_the__simplefonts_module

-- 
Marco

___________________________________________________________________________________
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:[~2010-12-14 13:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-13  9:27 Verhaag, G.C.H.M.
2010-12-13 10:22 ` Henning Hraban Ramm
2010-12-13 12:00 ` Mojca Miklavec
2010-12-13 14:21   ` Verhaag, G.C.H.M.
2010-12-13 17:56     ` Henning Hraban Ramm
2010-12-14 10:15       ` Verhaag, G.C.H.M.
2010-12-14 10:23         ` Wolfgang Schuster
2010-12-14 10:53           ` Verhaag, G.C.H.M.
2010-12-14 11:55             ` Mojca Miklavec
2010-12-14 12:36               ` Marco Pessotto
2010-12-14 12:41                 ` Marco Pessotto
2010-12-14 13:06                 ` Verhaag, G.C.H.M.
2010-12-14 13:21                   ` Marco Pessotto [this message]
2010-12-14 13:26                   ` Taco Hoekwater
2010-12-14 13:26                   ` Florian Wobbe

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=87ipyw8p8i.fsf@universe.krase.net \
    --to=melmothx@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).