On Mar 5, 2005, at 10:14 AM, Louis F. Springer wrote:
On Mar 5, 2005, at 3:51 AM, ntg-context-request@ntg.nl wrote:
Louis F. Springer wrote:
I have a Gerben Wierda TeX and ConTeXt distribution I upgraded yesterday to the latest versions of everything. I had some additional fonts installed. I re-installed the fonts using the following commands:
texfont --ve=sun --co=sunserif --ma --in texfont --ve=sun --co=sunsans --ma --in
and updated the pdftex.cfg file adding the following
map +texnansi-sun-sunsans.map map +texnansi-sun-sunserif.map
but am getting the following error on my texexec --pdf execution using the fonts
could you process the file produced by texfont?
OK, that works. I can process the texnansi-sun-sunsans.tex and the texnansi-sun-sunserif.tex files.
I must have something amuck with my typescript. I'll check it out. (BTW, I checked this before and thought it failed, I must have processed an old version of the file produced by texfont.)
I can't see anything obvious in my typescript, maybe I've fouled up on the encoding or something.
I've isolated the issue to typescriptfile processing. Here is "sun-font.tex" \starttypescript [map][texnansi] \loadmapfile[texnansi-sun-sunsans.map] \loadmapfile[texnansi-sun-sunserif.map] \stoptypescript \starttypescript [sans] [sunsans] [name] \definefontsynonym[Sans] [SunSans-Regular] \definefontsynonym[SansItalic] [SunSans-Italic] \definefontsynonym[SansBold] [SunSans-SemiBold] \definefontsynonym[SansBoldItalic] [SunSans-SemiBoldItalic] \stoptypescript \starttypescript [sans] [sunsans] [texnansi] \definefontsynonym[SunSansCondensed-Demi][texnansi- sscd][encoding=texnansi] \definefontsynonym[SunSansCondensed-Heavy][texnansi- ssch][encoding=texnansi] \definefontsynonym[SunSansCondensed-Italic][texnansi- ssci][encoding=texnansi] \definefontsynonym[SunSansCondensed-Regular][texnansi- sscr][encoding=texnansi] \definefontsynonym[SunSansCondensed-SemiBold][texnansi- sscsb][encoding=texnansi] \definefontsynonym[SunSansCondensed-SemiBoldItalic][texnansi- sscsbi][encoding=texnansi] \definefontsynonym[SunSans-Demi][texnansi-ssd][encoding=texnansi] \definefontsynonym[SunSans-Heavy][texnansi-ssh][encoding=texnansi] \definefontsynonym[SunSans-Italic][texnansi-ssi][encoding=texnansi] \definefontsynonym[SunSans-Regular][texnansi-ssr][encoding=texnansi] \definefontsynonym[SunSans-SemiBold][texnansi-sssb][encoding=texnansi] \definefontsynonym[SunSans-SemiBoldItalic][texnansi- sssbi][encoding=texnansi] \stoptypescript \starttypescript [serif] [sunserif] [name] \definefontsynonym[Serif] [SunSerif-Regular] \definefontsynonym[SerifItalic] [SunSerif-Italic] \definefontsynonym[SerifBold] [SunSerif-Bold] \definefontsynonym[SerifBoldItalic] [SunSerif-BoldItalic] \stoptypescript \starttypescript [serif] [sunserif] [texnansi] \definefontsynonym[SunSerif-BoldItalic][texnansi- sunse10][encoding=texnansi] \definefontsynonym[SunSerifCaps-Bold][texnansi- sunse11][encoding=texnansi] \definefontsynonym[SunSerifCaps-Regular][texnansi- sunse12][encoding=texnansi] \definefontsynonym[SunSerif-Italic][texnansi-sunse13][encoding=texnansi] \definefontsynonym[SunSerif-Regular][texnansi- sunse14][encoding=texnansi] \definefontsynonym[SunSerif-Bold][texnansi-sunse9][encoding=texnansi] \stoptypescript Here is my test file: \usetypescriptfile[sun-font] \definetypeface[sunsans][ss][sans][sunsans][default][encoding=texnansi] \setupbodyfont[sunsans,ss,10pt] \starttext This is g {\bf bold g}, {\it italic g}, {\bi bold-italic g}, {\tfa bigger g} and {\tfx smaller g}. \stoptext This results in the errors of the type previously discussed: "Warning: pdfetex (file texnansi-raw-ssi): kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72 texnansi-raw-sssb mktexpk: don't know how to create bitmap font for texnansi-raw-sssb. Font texnansi-raw-ssi at 72 not found" If I include the font definitions and so forth in the file: % \usetypescriptfile[sun-font] %\starttypescript [map][texnansi] \loadmapfile[texnansi-sun-sunsans.map] %\stoptypescript \starttypescript [sans] [sunsans] [name] \definefontsynonym[Sans] [SunSans-Regular] \stoptypescript \starttypescript [sans] [sunsans] [texnansi] \definefontsynonym[SunSans-Regular][texnansi-ssr][encoding=texnansi] \stoptypescript \definetypeface[sunsans][ss][sans][sunsans][default][encoding=texnansi] \setupbodyfont[sunsans,ss,10pt] \starttext This is {\bf bold g}, {\it italic g}, {\bi bold-italic g}, {\tfa bigger g} and {\tfx smaller g}. \stoptext \starttext This is a g {\bf bold g}, {\it italic g}, {\bi bold-italic g}, {\tfa bigger g} and {\tfx smaller g}. \stoptext I get the expected output with no errors. I must be missing something really basic here. Lou