Re: [NTG-context] urw-garamond with MKIV

2008-04-23 Thread Lutz Haseloff
Hi Taco, Hi all,

with the brandnew luatex (build 1186) there is no glyph to be seen in the pdf
but i can copy and paste the invisible text into my texteditor.

the log:

snip
(C:/tex/texmf-context/tex/context/base/spec-fdf.tex
(C:/tex/texmf-context/tex/context/base/spec-fdf.mkiv))
specials   : fdf loaded
)
specials   : fdf loaded
)
report  afm glyph: assigning private slot 0xF for unknown glyph
name twosuperior
report  afm glyph: assigning private slot 0xF0001 for unknown glyph
name threesuperior
report  afm glyph: assigning private slot 0xF0002 for unknown glyph name fl
report  afm glyph: assigning private slot 0xF0003 for unknown glyph
name nbspace
report  afm glyph: assigning private slot 0xF0004 for unknown glyph name fi
report  afm glyph: assigning private slot 0xF0005 for unknown glyph name ffl
report  afm glyph: assigning private slot 0xF0006 for unknown glyph
name sfthyphen
report  afm glyph: assigning private slot 0xF0007 for unknown glyph
name onesuperior
report  afm glyph: assigning private slot 0xF0008 for unknown glyph name ff
report  afm glyph: assigning private slot 0xF0009 for unknown glyph name ffi
report  afm glyph: assigning private slot 0xF000A for unknown glyph
name dotlessj
report  load afm: file size: 0
report  load afm: saving: in cache (./afmtest.tuo) (./afmtest.tuo)
systems: begin file afmtest at line 3
(C:/tex/texmf-context/tex/context/sample/tufte.tex)
fonts  : resetting map file list
{C:/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts  : using map file: original-base
{C:/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts  : using map file: lm-math
{C:/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts  : using map file: lm-rm
{C:/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts  : using map file: original-ams-base
{C:/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts  : using map file: original-ams-euler
{C:/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts  : using map file: original-public-lm
{C:/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map} [1.1]
systems: end file afmtest at line 13
 
)C:/tex/texmf-local/fonts/data/bh/LucidaBright/lbr.pfbC:/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf
mkiv lua stats : used config path  -
C:/tex/texmf-local/web2c/texmf.cnf;C:/tex/texmf-context/web2c/texmf.cnf;C:/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path   -
C:/tex/texmf-cache/luatex-cache/context/71ddae2d1527093aac63e0e1aa139641
mkiv lua stats : modules/dumps/instances   - 84/20/1
mkiv lua stats : input load time   - 0.031 seconds
mkiv lua stats : fonts load time   - 1.172 seconds
mkiv lua stats : xml load time - 0.000 seconds,
backreferences: 0, outer filtering time: 0.000
mkiv lua stats : mps conversion time   - 0.000 seconds
mkiv lua stats : node processing time  - 0.000 seconds (including kernel)
mkiv lua stats : kernel processing time- 0.000 seconds
mkiv lua stats : attribute processing time - 0.000 seconds
mkiv lua stats : language load time- 0.031 seconds, n=2
mkiv lua stats : graphics processing time  - 0.000 seconds, n=0 (including tex)
mkiv lua stats : metapost processing time  - 0.000 seconds, loading:
0.000 seconds, execution: 0.000 seconds, n: 0
mkiv lua stats : current memory usage  - 50611369 bytes
mkiv lua stats : cleaned up reserved nodes - 16 nodes, 8 lists of 100
mkiv lua stats : node memory usage - 20 glue_spec, 2 dir
mkiv lua stats : loaded patterns   - en:en:pat:exc:2
mkiv lua stats : loaded fonts  -
file:lmroman10-bolditalic*default:otf
file:lmroman10-italic*default:otf file:lmroman12-bold*default:otf
file:lmroman12-italic*default:otf file:lmroman12-regular*default:otf
file:lmroman7-bold*default:otf file:lmroman7-regular*default:otf
file:lmroman9-bold*default:otf file:lmroman9-italic*default:otf
file:lmroman9-regular*default:otf
file:lmromancaps10-regular*default:otf
file:lmromanslant10-bold*default:otf
file:lmromanslant10-regular*default:otf
file:lmromanslant12-regular*default:otf
file:lmromanslant9-regular*default:otf lbr*default:afm lmex10:tfm
lmmi12:tfm lmmi7:tfm lmmi9:tfm lmsy10:tfm lmsy7:tfm lmsy9:tfm
msam10:tfm msam7:tfm msbm10:tfm msbm7:tfm rm-lmr12:tfm rm-lmr7:tfm
rm-lmr9:tfm
mkiv lua stats : runtime   - 2.094 seconds, 1
processed pages, 1 shipped pages, 0.478 pages/second

snip


Greetings

Lutz

2008/4/22, Taco Hoekwater [EMAIL PROTECTED]:


  Taco Hoekwater wrote:
   Wolfgang Schuster wrote:
   Hi,
  
   The uppercase and lowercase chars and numbers except of the last one of
   them in text are correct but umlauts and other chars are wrong.
  
   I put the pdf files from my TeX run online (LuaTeX 0.25.3), sorry no log 
 files.
  
   I was able to reproduce the bug (so halfway there). More later.


 I've created a temporary fix and written 

Re: [NTG-context] urw-garamond with MKIV

2008-04-23 Thread Taco Hoekwater


Lutz Haseloff wrote:
 Hi Taco, Hi all,
 
 with the brandnew luatex (build 1186) there is no glyph to be seen in the pdf
 but i can copy and paste the invisible text into my texteditor.

Should be fixed in #1187.

Best wishes,
Taco
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] urw-garamond with MKIV

2008-04-22 Thread Wolfgang Schuster
Hi,

  It's curious, if i copy and paste the strange text from the pdf into my
  editor all glyphs are the right ones.

 Let's wait for Wolfgang's files. The fact that copy and paste works
 means that the /ToUnicode mappings are good, just the wrong actual glyph
 is used.  Put another way: if that did not work, then there would have
 been two bugs instead of one.

The same bahviour on my side as Lutz has, copy and paste is possible and
the correct text is shown in my editor from the output the text in the PDF file
is wrong.

The uppercase and lowercase chars and numbers except of the last one of
them in text are correct but umlauts and other chars are wrong.

I put the pdf files from my TeX run online (LuaTeX 0.25.3), sorry no log files.

http://schuster.wolfgang.googlepages.com/files

Wolfgang
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] urw-garamond with MKIV

2008-04-22 Thread Taco Hoekwater
Wolfgang Schuster wrote:
 Hi,
 
 The uppercase and lowercase chars and numbers except of the last one of
 them in text are correct but umlauts and other chars are wrong.
 
 I put the pdf files from my TeX run online (LuaTeX 0.25.3), sorry no log 
 files.

I was able to reproduce the bug (so halfway there). More later.

Best wishes,
Taco


___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] urw-garamond with MKIV

2008-04-22 Thread Taco Hoekwater


Taco Hoekwater wrote:
 Wolfgang Schuster wrote:
 Hi,

 The uppercase and lowercase chars and numbers except of the last one of
 them in text are correct but umlauts and other chars are wrong.

 I put the pdf files from my TeX run online (LuaTeX 0.25.3), sorry no log 
 files.
 
 I was able to reproduce the bug (so halfway there). More later.

I've created a temporary fix and written a bit of an explanation here:

   http://tracker.luatex.org/view.php?id=27

The current repository version now runs the test files reasonably well.

Best wishes,
Taco
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] urw-garamond with MKIV

2008-04-21 Thread Wolfgang Schuster
On Sun, Apr 20, 2008 at 9:38 PM, Peter Münster [EMAIL PROTECTED] wrote:
 On Mon, Apr 14 2008, Wolfgang Schuster wrote:

  Try the following setups.
 
  \starttypescript [serif] [urwgaramond]
\setups[font:fallback:serif]
\definefontsynonym [Serif]   [Garamond-Regular]
\definefontsynonym [SerifBold]   [Garamond-Medium]
\definefontsynonym [SerifItalic] [Garamond-Italic]
\definefontsynonym [SerifBoldItalic] [Garamond-MediumItalic]
  \stoptypescript
 
  \starttypescript [serif] [urwgaramond]
\definefontsynonym [Garamond-Regular]  [file:ugmr8a]  
  [features=default]
\definefontsynonym [Garamond-Medium]   [file:ugmm8a]  
  [features=default]
\definefontsynonym [Garamond-Italic]   [file:ugmri8a] 
  [features=default]
\definefontsynonym [Garamond-MediumItalic] [file:ugmmi8a] 
  [features=default]
  \stoptypescript
 
  \starttypescript [urwgaramond]
\definetypeface [\typescriptone] [rm] [serif] [urwgaramond] [default]
  \stoptypescript

 Hello Wolfgang,

 I tried:

 % engine=luatex

 [ your setup ]

 \usetypescript[urwgaramond]
 \setupbodyfont[urwgaramond]

 \starttext
 \rm\input knuth

 \it\input knuth

 \bf\input knuth

 \bi\input knuth
 \stoptext

 But unfortnuatly only rectangles instead of letters in the pdf...

Hi Peter,

I tried yesterday to use the type1 of the luximono fonts with MkIV
and got myself weird results in the output.

I'm don't what the correct way to use type1 fonts in MkIV without
map files is but Hans should be able to tell use this.

Wolfgang
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] urw-garamond with MKIV

2008-04-21 Thread Hans Hagen
Wolfgang Schuster wrote:
 On Sun, Apr 20, 2008 at 9:38 PM, Peter Münster [EMAIL PROTECTED] wrote:
 On Mon, Apr 14 2008, Wolfgang Schuster wrote:

 Try the following setups.

 \starttypescript [serif] [urwgaramond]
   \setups[font:fallback:serif]
   \definefontsynonym [Serif]   [Garamond-Regular]
   \definefontsynonym [SerifBold]   [Garamond-Medium]
   \definefontsynonym [SerifItalic] [Garamond-Italic]
   \definefontsynonym [SerifBoldItalic] [Garamond-MediumItalic]
 \stoptypescript

 \starttypescript [serif] [urwgaramond]
   \definefontsynonym [Garamond-Regular]  [file:ugmr8a]  
 [features=default]
   \definefontsynonym [Garamond-Medium]   [file:ugmm8a]  
 [features=default]
   \definefontsynonym [Garamond-Italic]   [file:ugmri8a] 
 [features=default]
   \definefontsynonym [Garamond-MediumItalic] [file:ugmmi8a] 
 [features=default]
 \stoptypescript

 \starttypescript [urwgaramond]
   \definetypeface [\typescriptone] [rm] [serif] [urwgaramond] [default]
 \stoptypescript
 Hello Wolfgang,

 I tried:

 % engine=luatex

 [ your setup ]

 \usetypescript[urwgaramond]
 \setupbodyfont[urwgaramond]

 \starttext
 \rm\input knuth

 \it\input knuth

 \bf\input knuth

 \bi\input knuth
 \stoptext

 But unfortnuatly only rectangles instead of letters in the pdf...
 
 Hi Peter,
 
 I tried yesterday to use the type1 of the luximono fonts with MkIV
 and got myself weird results in the output.
 
 I'm don't what the correct way to use type1 fonts in MkIV without
 map files is but Hans should be able to tell use this.

do you have the afm files?

mkiv does not use the tfm, just the afm and pfb

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] urw-garamond with MKIV

2008-04-21 Thread Wolfgang Schuster
On Mon, Apr 21, 2008 at 9:17 AM, Hans Hagen [EMAIL PROTECTED] wrote:

 Wolfgang Schuster wrote:
  On Sun, Apr 20, 2008 at 9:38 PM, Peter Münster [EMAIL PROTECTED] wrote:
  On Mon, Apr 14 2008, Wolfgang Schuster wrote:
 
  Try the following setups.
 
  \starttypescript [serif] [urwgaramond]
\setups[font:fallback:serif]
\definefontsynonym [Serif]   [Garamond-Regular]
\definefontsynonym [SerifBold]   [Garamond-Medium]
\definefontsynonym [SerifItalic] [Garamond-Italic]
\definefontsynonym [SerifBoldItalic] [Garamond-MediumItalic]
  \stoptypescript
 
  \starttypescript [serif] [urwgaramond]
\definefontsynonym [Garamond-Regular]  [file:ugmr8a]  
  [features=default]
\definefontsynonym [Garamond-Medium]   [file:ugmm8a]  
  [features=default]
\definefontsynonym [Garamond-Italic]   [file:ugmri8a] 
  [features=default]
\definefontsynonym [Garamond-MediumItalic] [file:ugmmi8a] 
  [features=default]
  \stoptypescript
 
  \starttypescript [urwgaramond]
\definetypeface [\typescriptone] [rm] [serif] [urwgaramond] [default]
  \stoptypescript
  Hello Wolfgang,
 
  I tried:
 
  % engine=luatex
 
  [ your setup ]
 
  \usetypescript[urwgaramond]
  \setupbodyfont[urwgaramond]
 
  \starttext
  \rm\input knuth
 
  \it\input knuth
 
  \bf\input knuth
 
  \bi\input knuth
  \stoptext
 
  But unfortnuatly only rectangles instead of letters in the pdf...
 
  Hi Peter,
 
  I tried yesterday to use the type1 of the luximono fonts with MkIV
  and got myself weird results in the output.
 
  I'm don't what the correct way to use type1 fonts in MkIV without
  map files is but Hans should be able to tell use this.

 do you have the afm files?

 mkiv does not use the tfm, just the afm and pfb

I used myself for the luximono fonts only the afm and pfb files
and put them in my texmf-fonts directory, the chars had been
also shown in the pdf file but the last char in the uppercase,
the lowercase char and from the number had been replaced by
the wrong glyph.

I will send tomorrow my typescripts with the pdf file I get from
my test file.

Wolfgang
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] urw-garamond with MKIV

2008-04-21 Thread Hans Hagen
Wolfgang Schuster wrote:

 I used myself for the luximono fonts only the afm and pfb files
 and put them in my texmf-fonts directory, the chars had been
 also shown in the pdf file but the last char in the uppercase,
 the lowercase char and from the number had been replaced by
 the wrong glyph.

hm, there are no afm files on my system, kind of weird because afm files 
are the sources for tfm and as such they should be shipped

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] urw-garamond with MKIV

2008-04-21 Thread Wolfgang Schuster
On Mon, Apr 21, 2008 at 10:05 AM, Hans Hagen [EMAIL PROTECTED] wrote:
 Wolfgang Schuster wrote:

  I used myself for the luximono fonts only the afm and pfb files
  and put them in my texmf-fonts directory, the chars had been
  also shown in the pdf file but the last char in the uppercase,
  the lowercase char and from the number had been replaced by
  the wrong glyph.

 hm, there are no afm files on my system, kind of weird because afm files
 are the sources for tfm and as such they should be shipped

I used the zip file from ctan, it contains afm files

http://ctan.org/tex-archive/fonts/LuxiMono/

I wrote now a typescript with a few example line.

\starttypescript [mono] [luximono]
  \setups[font:fallback:mono]
  \definefontsynonym [Mono]   [LuxiMono-Regular]
  \definefontsynonym [MonoBold]   [LuxiMono-Bold]
  \definefontsynonym [MonoItalic] [LuxiMono-Italic]
  \definefontsynonym [MonoBoldItalic] [LuxiMono-BoldItalic]
\stoptypescript

\starttypescript [mono] [luximono]
  \definefontsynonym [LuxiMono-Bold]   [file:ul9b8a]  [features=default]
  \definefontsynonym [LuxiMono-BoldItalic] [file:ul9bo8a] [features=default]
  \definefontsynonym [LuxiMono-Regular][file:ul9r8a]  [features=default]
  \definefontsynonym [LuxiMono-Italic] [file:ul9ro8a] [features=default]
\stoptypescript

\starttypescript [luximono]
  \definetypeface [\typescriptone] [tt] [mono] [luximono] [default]
\stoptypescript

\usetypescript[luximono]
\setupbodyfont[luximono]

\starttext

ABC
%ABCDE

abc

1230

\stoptext

The last char in every row is always replaced by something else
or to be more concrete the last char for the uppercase row is
replaced by a uppercase thorn, the last char for the lowercase
chars with a lowercase thorn and the last char for the digits
depend what other chars I used in my test file.

Wolfgang
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] urw-garamond with MKIV

2008-04-21 Thread Lutz Haseloff
Hi Hans, hi all,

is there a way to get the type1 LucidaBright fonts working
in LuaTeX/MKIV? I put the afm and pfb into the tree.
---
\usetypescript [lucida] [texnansi]
\switchtotypeface [lucida] [9pt]
---
from showfont results in latinmodern.

My try to use
---
\font\test=lbr*default\test
\starttext

ABC

abc

123

\stoptext
---
loads the afm, shows LucidaBright, but the same strange output in pdf
as described in Wolfgang's mails.

Greetings from Potsdam

Lutz


2008/4/21, Hans Hagen [EMAIL PROTECTED]:
 about garamond

  - forget about the files in the tex tree, a mess

  - the type 1 tarbal from urw: luatex crashesd on them

  - the truetype from urw:

  \definefontfeature[complete][liga=yes,kern=yes,compose=yes,tlig=yes,trep=yes]


  \starttypescript [serif] [urwgaramond]
\setups[font:fallback:serif]
\definefontsynonym [Serif]   [Garamond-Regular]
\definefontsynonym [SerifBold]   [Garamond-Medium]
\definefontsynonym [SerifItalic] [Garamond-Italic]
\definefontsynonym [SerifBoldItalic] [Garamond-MediumItalic]
  \stoptypescript


 % crashed luatex

  \starttypescript [serif] [urwgaramond]
\definefontsynonym [Garamond-Regular]  [file:g043003t]
  [features=complete]
\definefontsynonym [Garamond-Medium]   [file:g043004t]
  [features=complete]
\definefontsynonym [Garamond-Italic]   [file:g043023t]
  [features=complete]
\definefontsynonym [Garamond-MediumItalic] [file:g043024t]
  [features=complete]
  \stoptypescript

  % works ok

  \starttypescript [serif] [urwgaramond]
\definefontsynonym [Garamond-Regular]  [file:GaramondNo8-Reg]
  [features=complete]
\definefontsynonym [Garamond-Medium]   [file:GaramondNo8-Med]
  [features=complete]
\definefontsynonym [Garamond-Italic]   [file:GaramondNo8-Ita]
  [features=complete]
\definefontsynonym [Garamond-MediumItalic] [file:GaramondNo8-MedIta]
  [features=complete]

 \stoptypescript

  \starttypescript [urwgaramond]
\definetypeface [\typescriptone] [rm] [serif] [urwgaramond] [default]
  \stoptypescript


 \usetypescript[urwgaramond]
  \setupbodyfont[urwgaramond]




  -
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
   | www.pragma-pod.nl
  -
  
 ___

 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://tex.aanhet.net
  archive  : https://foundry.supelec.fr/projects/contextrev/
  wiki : http://contextgarden.net
  
 ___

___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] urw-garamond with MKIV

2008-04-21 Thread Lutz Haseloff
2008/4/21, Hans Hagen [EMAIL PROTECTED]:
 Lutz Haseloff wrote:
   Hi Hans, hi all,
  
   is there a way to get the type1 LucidaBright fonts working
   in LuaTeX/MKIV? I put the afm and pfb into the tree.
   ---
   \usetypescript [lucida] [texnansi]
   \switchtotypeface [lucida] [9pt]
   ---
   from showfont results in latinmodern.
  
   My try to use
   ---
   \font\test=lbr*default\test
   \starttext
  
   ABC
  
   abc
  
   123
  
   \stoptext
   ---
   loads the afm, shows LucidaBright, but the same strange output in pdf
   as described in Wolfgang's mails.


 do you use the latest luatex?


This is LuaTeX, Version snapshot-0.25.3-2008042009

I tried both 0.25.3 from w32tex and from http://foundry.supelec.fr/,
my ConTeXt is ConTeXt  ver: 2008.04.18 14:17 MKIV  fmt: 2008.4.21
int: english/english

It's curious, if i copy and paste the strange text from the pdf into my
editor all glyphs are the right ones.

Greetings Lutz

  Hans

___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] urw-garamond with MKIV

2008-04-21 Thread Taco Hoekwater
Lutz Haseloff wrote:
 2008/4/21, Hans Hagen [EMAIL PROTECTED]:
 Lutz Haseloff wrote:
   Hi Hans, hi all,
  
   is there a way to get the type1 LucidaBright fonts working
   in LuaTeX/MKIV? I put the afm and pfb into the tree.
   ---
   \usetypescript [lucida] [texnansi]
   \switchtotypeface [lucida] [9pt]
   ---
   from showfont results in latinmodern.
  
   My try to use
   ---
   \font\test=lbr*default\test
   \starttext
  
   ABC
  
   abc
  
   123
  
   \stoptext
   ---
   loads the afm, shows LucidaBright, but the same strange output in pdf
   as described in Wolfgang's mails.

 do you use the latest luatex?
 
 This is LuaTeX, Version snapshot-0.25.3-2008042009
 
 I tried both 0.25.3 from w32tex and from http://foundry.supelec.fr/,
 my ConTeXt is ConTeXt  ver: 2008.04.18 14:17 MKIV  fmt: 2008.4.21
 int: english/english
 
 It's curious, if i copy and paste the strange text from the pdf into my
 editor all glyphs are the right ones.

Let's wait for Wolfgang's files. The fact that copy and paste works
means that the /ToUnicode mappings are good, just the wrong actual glyph
is used.  Put another way: if that did not work, then there would have
been two bugs instead of one.

Best wishes,
Taco


___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] urw-garamond with MKIV

2008-04-21 Thread Peter Münster
On Mon, Apr 21 2008, Hans Hagen wrote:

 % works ok
 
 \starttypescript [serif] [urwgaramond]
\definefontsynonym [Garamond-Regular]  [file:GaramondNo8-Reg] 
 [features=complete]
\definefontsynonym [Garamond-Medium]   [file:GaramondNo8-Med] 
 [features=complete]
\definefontsynonym [Garamond-Italic]   [file:GaramondNo8-Ita] 
 [features=complete]
\definefontsynonym [Garamond-MediumItalic] [file:GaramondNo8-MedIta] 
 [features=complete]
 \stoptypescript
 
 \starttypescript [urwgaramond]
\definetypeface [\typescriptone] [rm] [serif] [urwgaramond] [default]
 \stoptypescript
 
 \usetypescript[urwgaramond]
 \setupbodyfont[urwgaramond]

Hello Hans,

What exactly works ok?
I tried the above lines, but I get the lm-font in the pdf. And when
replacing Garamond-Regular with Serif and so on, luatex crashes here
too. 2 messages that are perhaps helpful:
report  load otf: loading: 
/opt/TeX-live/texmf-local/fonts/truetype/public/urw/GaramondNo8-Ita.ttf
report  load otf: warning: Glyph 632 is called .notdef, a singularly inept 
choice of name (only glyph 0 may be called .notdef)

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] urw-garamond with MKIV

2008-04-14 Thread Wolfgang Schuster
On Sat, Apr 12, 2008 at 9:44 AM, Peter Münster [EMAIL PROTECTED] wrote:
 Hello,

 This does no more work with MKIV:

 \usemodule[urwgaramond]
 \starttext
 \rm\input knuth

 \it\input knuth

 \bf\input knuth

 \bi\input knuth
 \stoptext

 Could anybody help me, to get urw-garamond with MKIV?

Try the following setups.

\starttypescript [serif] [urwgaramond]
  \setups[font:fallback:serif]
  \definefontsynonym [Serif]   [Garamond-Regular]
  \definefontsynonym [SerifBold]   [Garamond-Medium]
  \definefontsynonym [SerifItalic] [Garamond-Italic]
  \definefontsynonym [SerifBoldItalic] [Garamond-MediumItalic]
\stoptypescript

\starttypescript [serif] [urwgaramond]
  \definefontsynonym [Garamond-Regular]  [file:ugmr8a]  [features=default]
  \definefontsynonym [Garamond-Medium]   [file:ugmm8a]  [features=default]
  \definefontsynonym [Garamond-Italic]   [file:ugmri8a] [features=default]
  \definefontsynonym [Garamond-MediumItalic] [file:ugmmi8a] [features=default]
\stoptypescript

\starttypescript [urwgaramond]
  \definetypeface [\typescriptone] [rm] [serif] [urwgaramond] [default]
\stoptypescript


Wolfgang
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] urw-garamond with MKIV

2008-04-13 Thread Taco Hoekwater
Peter Münster wrote:
 Hello,
 
 This does no more work with MKIV:

I can tell you the cause of the problem:

context mkiv loads the font from the AFM files in unicode mode,
but the typescript defines TFM fonts in texnansi only. This
results in mayhem (I am not sure what exactly goes wrong, but
that does not really matter).

If you want existing tfms to have precedence over any afms
(thereby loosing unicode support for legacy fonts) you can add
this to cont-sys or the top of your input:

   \ctxlua{fonts.define.method=2}

Otherwise, you will have to extend type-urwgaramand.tex in some
way that I do not quite grasp.

Best wishes,
Taco
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] urw-garamond with MKIV

2008-04-13 Thread Peter Münster
On Sun, Apr 13 2008, Taco Hoekwater wrote:

 If you want existing tfms to have precedence over any afms
 (thereby loosing unicode support for legacy fonts) you can add
 this to cont-sys or the top of your input:
 
\ctxlua{fonts.define.method=2}

Thanks, Taco! This works.

The right method for MKIV, without loosing unicode, would be even better.

 Otherwise, you will have to extend type-urwgaramand.tex in some
 way that I do not quite grasp.

Extend, or perhaps replace completely.  Unfortunately, my knowledge about
these font-things and typescripts is about 0...

Best wishes, Peter

-- 
http://pmrb.free.fr/contact/

___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] urw-garamond with MKIV

2008-04-12 Thread Peter Münster
Hello,

This does no more work with MKIV:

\usemodule[urwgaramond]
\starttext
\rm\input knuth

\it\input knuth

\bf\input knuth

\bi\input knuth
\stoptext

Could anybody help me, to get urw-garamond with MKIV?

(ftp://dante.ctan.org/tex-archive/fonts/urw/garamond.zip must be installed)

TIA!
Greetings, Peter

-- 
http://pmrb.free.fr/contact/

___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___