ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Radhelorn <radhelorn@mail.ru>
Subject: Re: Re: Confusion with font instructions
Date: Mon, 04 Jul 2005 23:09:29 +0400	[thread overview]
Message-ID: <42C98969.4000905@mail.ru> (raw)
In-Reply-To: <r02010500-1041-3A7385BDECAA11D9AF46000393765B24@[64.180.21.229]>

David Rogers wrote:
>>>OK, I tried this setup, and ConTeXt ran without stopping to complain,
>>>but (as Otared described, I guess) the font actually produced is very
>>>jaggy, both on screen and in print. My nostalgia for dot matrix


> ....................
> fonts           : resetting map file list
> fonts           : using map file: original-base
> fonts           : using map file: ec-public-lm
> fonts           : using map file: ec-base
> fonts           : using map file: original-ams-base
> fonts           : using map file: original-public-lm
> fonts           : using map file: ec-urw-palatino
> fonts           : using map file: original-youngryu-px
> [1.1{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/
> original-empty
> .map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/
> original-base
> .map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec-
> public-lm.
> map}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/ec-base
> .map}{/
> usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original-ams-
> base.ma
> p}{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original-
> public-
> lm.map}
> Warning: pdfetex (file ec-urw-palatino.map): cannot open font map file
> {/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original-
> youngryu-
> px.map}] [2.2] [3.3]
 > ............

Well, here is your problem. pdftex cannot find map file for direct font 
inclusion and you get bitmaps.

I've found needed definitions in context-base.map and ec-base.map. 
ec-base is loaded by default, but dose nothing. Maybe someone explain 
this. As a quick solution try:

\loadmapfile [context-base] % !!!
\setupencoding [default=ec]
\usetypescript [adobekb] [\defaultencoding]
\usetypescript [palatino] [\defaultencoding]
\usetypescript [postscript] [\defaultencoding]
\usetypescript [lucida] [\defaultencoding]
\setupbodyfont [palatino]

\setupoutput[pdftex]

\startbuffer
Some {\bf text} to {\it test} {\sl font} {\bs switching}.
\stopbuffer

\starttext
\getbuffer

\switchtobodyfont [postscript] \getbuffer

\switchtobodyfont [lucida] \getbuffer
\stoptext

Works for me on tetex-3.0.

-- 
Radhelorn <radhelorn@mail.ru>

  reply	other threads:[~2005-07-04 19:09 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-03  7:13 David Rogers
2005-07-04  7:54 ` Patrick Gundlach
2005-07-04 10:33   ` Adam Lindsay
2005-07-04 11:20     ` Otared KAVIAN
2005-07-04 15:07     ` David Rogers
2005-07-04 15:29       ` Hans Hagen
2005-07-04 16:39         ` David Rogers
2005-07-04 19:09           ` Radhelorn [this message]
2005-07-05  0:34             ` Solved! was " David Rogers
2005-07-04 19:41           ` Hans Hagen
2005-07-04 15:28     ` Hans Hagen
2005-07-04 14:28 Otared Kavian
2005-07-04 15:11 ` Adam Lindsay
2005-07-04 16:02   ` David Rogers
2005-07-04 16:28     ` Adam Lindsay
2005-07-04 19:43     ` Hans Hagen
2005-07-04 17:56   ` Otared Kavian
2005-07-04 21:33     ` Hans Hagen
2005-07-04 22:43       ` Otared Kavian
2005-07-05 17:09       ` Radhelorn
     [not found]     ` <42C99E9D.9090304@wxs.nl>
     [not found]       ` <20050704231144.13609@mail.comp.lancs.ac.uk>
2005-07-05  9:23         ` Otared Kavian
2005-07-05 16:18           ` David Rogers
2005-07-05 16:25             ` Adam Lindsay
2005-07-05 16:45               ` David Rogers
2005-07-06  9:19               ` Otared Kavian
2005-07-06 10:09                 ` Radhelorn
2005-07-04 15:18 ` Hans Hagen
2005-07-04 16:41   ` David Rogers
2005-07-04 19:33     ` Hans Hagen

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=42C98969.4000905@mail.ru \
    --to=radhelorn@mail.ru \
    --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).