ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Re: using fonts -- installation
@ 2004-12-07  8:19 Adam Lindsay
  0 siblings, 0 replies; 7+ messages in thread
From: Adam Lindsay @ 2004-12-07  8:19 UTC (permalink / raw)


[resent to whole list]

Rob Ermers said this at Tue, 7 Dec 2004 00:19:13 +0100:

>Thanks for your quick reaction. Before ending this eventful day, I ran 
>texexec as you suggested.

(I'm in a meeting the next couple days, so probably won't be as
responsive after this email.)

>The font in question is Hudson (vendor=softmaker = Berry 5), for which I 
>  invented the name 5hu (+r for roman). I have the two files 5hur.pdf 
>and 5hur.afm.

Ugh. IMHO, it's a waste of time bothering with berry style renaming.
Texfont's beauty is that it takes fonts as they are (whole directories at
a time). It shouldn't create problems if you want to do this renaming, though.

>Texfont generated a number of files and put them in several directories:
>- texnansi-softmaker-hudson.map in 
>J:\tex\localtexmf\fonts\map\pdftex\context
>- texnansi-5hur.tfm in J:\tex\localtexmf\fonts\tfm\softmaker\hudson
>- texnansi-5hur.vf in J:\tex\localtexmf\fonts\vf\softmaker\hudson
>- 5hur.afm in J:\tex\localtexmf\fonts\afm\softmaker\hudson
>- 5hur.pfb in J:\tex\localtexmf\fonts\type1\softmaker\hudson
>
>Texfont also generated the following:
>D:\Fonts\hudson\hudson: texnansi-softmaker-hudson.log
>D:\Fonts\hudson\hudson: texnansi-softmaker-hudson.tex
>D:\Fonts\hudson\hudson: texnansi-softmaker-hudson.tmp
>D:\Fonts\hudson\hudson: texnansi-softmaker-hudson.pdf
>
>The pdf file does not show the hudson font - I wonder if it should.

It should. Do you have \autoloadmapfilestrue uncommented in your cont-
sys.tex file?
What errors come up in PDF creation? (you *do* use pdfetex as an engine,
right?)

>Perhaps I should mention that Texfont was interrupted; atf2tfm gets 
>stuck - a conflict with a dll, but if click on OK, nothing serious seems 
>to be the matter. The tfm file is generated after all. If I test afm2tfm 
>  without texfont, it works normally.

That interruption doesn't fill me with faith. Is the generated texnansi-
5hur.tfm from the texfont valid?

>I have a test file, which is called testhuds-con.tex.

it wasn't attached, in case that was your intention.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: using fonts
@ 2004-12-06 13:41 Patrick Gundlach
  2004-12-06 14:52 ` Adam Lindsay
  0 siblings, 1 reply; 7+ messages in thread
From: Patrick Gundlach @ 2004-12-06 13:41 UTC (permalink / raw)


Hello Wolfgang,

> I think I´mgetting confused with all of the font selection within context.

You are not the first one...

> First: I have a miktex environment on on W2K.

That should be OK for all needs.

> 1. to change single fonts:

see http://contextgarden.net/Psnfss

> \definetypeface [palatino] [rm] [serif] [palatino] [default] [encoding=ec]
> \switchtotypeface[palatino][12pt,rm]

I have never used \switchtotypeface.

> 2.
> I thought that the default encoding should be texnansi

This depends on your setup. See cont-sys.tex as a place where
defaultencoding is sometimes set.

> 3.
> should be there some font-switching macros on the system called
> font-xxx.tex (example font-lbr.tex)? These are missing on my system.
> I think these are needed forthings like:
> \setupbodyfont[lbr, sans, 12pt]

Well the font-xxx.tex files have nothing (not completely true) to do
with the font switching commands.

> 4.
> within miktex there are "lucida" font files from yandy (lbr.tfm
> ). Is that a free version of lucida-font?

No. There is no really free version of lucida. They once came with
staroffice and there was a script that was able to pull them out and
make them accessable for TeX. But I think that the quality is lower
than the original ones (once read a statement from Walter Schmit about
them, don't remember when and where) and math is not included.

> (is that for math? [there is anotherfile called math-lbt.tex in
> \context\base])

No math fonts like lucida for free.


> do I need to get the missing fonts/files and why are they not
> provided with miktex. Perhaps a change of the distribution is to
> prefer? (which one)

No, go ahead with MikTeX. Try out the stuff that is on the wiki and
please report on your success/failure.

> Is there a manual which explains how to change fonts (in a way that a
> normal user who is new to context can understand it)?

yes and no. See the wiki for links.

Patrick
-- 
ConTeXt wiki: http://contextgarden.net

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-12-07  8:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-07  8:19 Re: using fonts -- installation Adam Lindsay
  -- strict thread matches above, loose matches on Subject: below --
2004-12-06 13:41 using fonts Patrick Gundlach
2004-12-06 14:52 ` Adam Lindsay
2004-12-06 21:30   ` Re: using fonts -- installation Rob Ermers
2004-12-06 21:50     ` Adam Lindsay
2004-12-06 23:19       ` Rob Ermers
2004-12-06 23:23       ` h h extern
2004-12-06 23:27     ` h h extern
2004-12-07  8:17     ` Adam Lindsay

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).