From: Nikolai Weibull <context-list@pcppopper.org>
Subject: Re: [FONTS] Japanese Unicode
Date: Fri, 3 Sep 2004 17:34:35 +0200 [thread overview]
Message-ID: <20040903153435.GA4578@puritan.pcp.ath.cx> (raw)
In-Reply-To: <20040903093921.290a9604@glenlivet.elvenkind.com>
* Taco Hoekwater <taco@elvenkind.com> [Sep 03, 2004 14:40]:
> > Warning: pdfetex (file cork-lmr10): Font cork-lmr10 at 600 not found
> > Warning: pdfetex (file mona30xx-raw-mona): Font mona30xx-raw-mona at 600
>
> then usually there is a missing map entry for that font, or the map
> file is not loaded by pdftex at all.
OK. So I was missing a lot of stuff. Anyway, I got it sort of working.
What I did was
// Update texmf.cnf to list TEXMFLOCAL = /usr/share/texmf/local instead
// of TEXMFLOCAL = /usr/local/share/texmf.
# ls
mona.ttf ttx2enc.xsl
# ttx -t cmap -t name mona.ttf
:
:
# xsltproc --param vector "'30'" ttx2enc.xsl mona.ttx > mona30xx.enc
# texfont --makepath --install --vendor=pcp --collection=mona \
> --encoding=mona30xx
:
:
# TEXMF=/usr/share/texmf
# echo "Map lm.map" > $TEXMF/web2c/updmap.cfg
# updmap
:
:
# echo "map +mona30xx-pcp-mona.map" > $TEXMF/pdftex/config/pdftex.cfg
# mkdir $TEXMF/dvips/local
# cp mona30xx.enc $TEXMF/dvips/local/
# cp $TEXMF/local/fonts/map/mona30xx-pcp-mona.map $TEXMF/pdftex/config/
# texhash
:
:
# texexec mona30xx-pcp-mona.tex
:
:
# gpdf mona30xx-pcp-mona.pdf
// Stare with incredible disappointment at the result.
At least some of the glyphs came out alright, but a lot of them are
missing. For the rest I get little gray squares.
For example, mona30xx.enc lists
/glyph00462 % 0x30aa KATAKANA LETTER O
yet that symbols appears as a gray square. What gives?
Further Questions:
1) Eventhough the above procedure seems to work somewhat well, it's
still rather complicated and I don't understand why texfont doesn't copy
the .enc file to the enc/ directory it creates.
2) Why doesn't pdftex find the map file in $TEXMF/local/fonts/map? I've
tried manipulating $TEXMF/web2c/texmf.cnf, changing the following:
TEXFONTMAPS = .;$TEXMF/fontname
->
TEXFONTMAPS = .;$TEXMF/fontname;$TEXMF/fonts/map
but that didn't do it, even though 'kpsewhich --show-path=map' seems to
pick it up.
3) Why doesn't pdftex find the .enc file once copied to the enc/
directory? Why do I have to place it under $TEXMF/dvips/?
Still, thanks for the heads-up on pdftex not finding the .map file.
nikolai
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
next prev parent reply other threads:[~2004-09-03 15:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-02 20:49 Nikolai Weibull
2004-09-03 7:39 ` Taco Hoekwater
2004-09-03 15:34 ` Nikolai Weibull [this message]
2004-09-03 15:44 ` Adam Lindsay
2004-09-03 18:37 ` Nikolai Weibull
2004-09-03 15:51 ` Hans Hagen
2004-09-03 18:22 ` Nikolai Weibull
2004-09-04 14:49 ` Hans Hagen Outside
2004-09-04 16:42 ` Nikolai Weibull
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=20040903153435.GA4578@puritan.pcp.ath.cx \
--to=context-list@pcppopper.org \
--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).