ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš Ing." <LPr@pontex.cz>
To: ConTeXt <ntg-context@ntg.nl>
Subject: Problem installing a new font
Date: Sun, 11 Nov 2018 15:28:32 +0100	[thread overview]
Message-ID: <op.zsbjtuie62epfj@lpr> (raw)

Hello,

-- all attachments packed into one .zip --

probably one of the basic questions and skills in ConTeXt, but the first case for me: how to install a (downloaded third-party) font into ConTeXt:

I downloaded font source files from https://www.ctan.org/tex-archive/fonts/aurical/ and I unpacked the .zip content, so I have now (see FileList.txt for full info):

----
d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm
d:\Lukas\ConTeXt\Fonts\Aurical\fonts\FileList.txt
d:\Lukas\ConTeXt\Fonts\Aurical\fonts\map
d:\Lukas\ConTeXt\Fonts\Aurical\fonts\tfm
d:\Lukas\ConTeXt\Fonts\Aurical\fonts\type1
d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm\public
d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm\public\aurical
d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm\public\aurical\AmiciLogo.afm
d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm\public\aurical\AmiciLogoBold.afm
d:\Lukas\ConTeXt\Fonts\Aurical\fonts\afm\public\aurical\AmiciLogoBoldRslant.afm
...
d:\Lukas\ConTeXt\Fonts\Aurical\fonts\type1\public\aurical\LukasSvatbaSlant.pfb
----

Trying to install the font the easiest way, I also copied files into my ConTeXt dir, so I have also (see FileList2.txt):

----
d:\Ctx-Beta\tex\texmf\fonts\afm\public\aurical\AmiciLogo.afm
d:\Ctx-Beta\tex\texmf\fonts\afm\public\aurical\AmiciLogoBold.afm
d:\Ctx-Beta\tex\texmf\fonts\afm\public\aurical\AmiciLogoBoldRslant.afm
d:\Ctx-Beta\tex\texmf\fonts\afm\public\aurical\AmiciLogoBoldSlant.afm
...
d:\Ctx-Beta\tex\texmf\fonts\type1\public\aurical\AmiciLogo.pfb
d:\Ctx-Beta\tex\texmf\fonts\type1\public\aurical\AmiciLogoBold.pfb
d:\Ctx-Beta\tex\texmf\fonts\type1\public\aurical\AmiciLogoBoldRslant.pfb
d:\Ctx-Beta\tex\texmf\fonts\type1\public\aurical\AmiciLogoBoldSlant.pfb
...
----

I tried to follow instructions in 'mfonts.pdf' mentioned at https://wiki.contextgarden.net/Fonts, but early I failed with (unknown) "texfont" command cited here frequently.

I also experimented somehow with "mtxrun --make --generate" and "mtxrun script --font --reload --force" and with a simple show-font file which starts with:

----
\definefont[FONT][AmiciLogo.afm]
...
----

but the result is not written by AmiciLogo font.

So - how to make ConTeXt aware of a third-party font and how to use the font in the document?

Best regards,

Lukas


-- 
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o.      | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

___________________________________________________________________________________
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:[~2018-11-11 14:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-11 14:28 Procházka Lukáš Ing. [this message]
2018-11-11 17:43 ` Willi Egger
2018-11-11 17:57   ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2018-11-10 20:56 Procházka Lukáš Ing.
2018-11-12 14:39 ` Willi Egger
2018-11-12 15:26   ` Taco Hoekwater
2018-11-12 15:33     ` Willi Egger

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=op.zsbjtuie62epfj@lpr \
    --to=lpr@pontex.cz \
    --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).