Re: [NTG-context] Problem to save data font in cache

2008-04-16 Thread Wolfgang Schuster
On Tue, Apr 15, 2008 at 3:09 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Wolfgang Schuster wrote:
  Hi,
 
  I tried to use the cwTeX fonts with MkIV and I can use them but ConTeXt is 
  not
  able to save the font data and read the font for every run, this did
  work but it takes
  quiet some time to do this.
 
  A attached the result from the terminal and the log file.
 
  The font are available from the following page:
  http://cle.linux.org.tw/fonts/cwttf/baseline/
 
  My example document is:
 
  % engine=luatex
 
  \definefont[cwheib][file:cwheib*default at 12pt]
 
  \starttext
  \cwheib cwTeXHeiBold
  \stoptext

 can you check if there's an tma file in the cache? and if so, if you can
 run texluac -s blabla.tma on it?

I did this and I found also a file with the name cwheib.tma, you can see
what I get after I made waht you told.

C:\Dokumente und Einstellungen\Wolfgang\Lokale Einstellungen\Temp\luatex-cache\c
ontext\aa3708bbacfa039a6085d2b5c7446e1e\fonts\otftexluac -s cwheib.tma
texluac: cwheib.tma:169863: unfinished string near '={'

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] Problem to save data font in cache

2008-04-16 Thread Hans Hagen
Wolfgang Schuster wrote:
 On Tue, Apr 15, 2008 at 3:09 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 Wolfgang Schuster wrote:
 Hi,

 I tried to use the cwTeX fonts with MkIV and I can use them but ConTeXt is 
 not
 able to save the font data and read the font for every run, this did
 work but it takes
 quiet some time to do this.

 A attached the result from the terminal and the log file.

 The font are available from the following page:
 http://cle.linux.org.tw/fonts/cwttf/baseline/

 My example document is:

 % engine=luatex

 \definefont[cwheib][file:cwheib*default at 12pt]

 \starttext
 \cwheib cwTeXHeiBold
 \stoptext
 can you check if there's an tma file in the cache? and if so, if you can
 run texluac -s blabla.tma on it?
 
 I did this and I found also a file with the name cwheib.tma, you can see
 what I get after I made waht you told.
 
 C:\Dokumente und Einstellungen\Wolfgang\Lokale 
 Einstellungen\Temp\luatex-cache\c
 ontext\aa3708bbacfa039a6085d2b5c7446e1e\fonts\otftexluac -s cwheib.tma
 texluac: cwheib.tma:169863: unfinished string near '={'


can you show the +/- ten lines surrounding this?

it looks like a funny character is in there

-
   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] Problem to save data font in cache

2008-04-16 Thread Wolfgang Schuster
On Wed, Apr 16, 2008 at 1:46 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Wolfgang Schuster wrote:
  On Tue, Apr 15, 2008 at 3:09 PM, Hans Hagen [EMAIL PROTECTED] wrote:
  Wolfgang Schuster wrote:
  Hi,
 
  I tried to use the cwTeX fonts with MkIV and I can use them but ConTeXt 
  is not
  able to save the font data and read the font for every run, this did
  work but it takes
  quiet some time to do this.
 
  A attached the result from the terminal and the log file.
 
  The font are available from the following page:
  http://cle.linux.org.tw/fonts/cwttf/baseline/
 
  My example document is:
 
  % engine=luatex
 
  \definefont[cwheib][file:cwheib*default at 12pt]
 
  \starttext
  \cwheib cwTeXHeiBold
  \stoptext
  can you check if there's an tma file in the cache? and if so, if you can
  run texluac -s blabla.tma on it?
 
  I did this and I found also a file with the name cwheib.tma, you can see
  what I get after I made waht you told.
 
  C:\Dokumente und Einstellungen\Wolfgang\Lokale 
  Einstellungen\Temp\luatex-cache\c
  ontext\aa3708bbacfa039a6085d2b5c7446e1e\fonts\otftexluac -s cwheib.tma
  texluac: cwheib.tma:169863: unfinished string near '={'


 can you show the +/- ten lines surrounding this?

 it looks like a funny character is in there

the problematic entry is below [subtables], every other subtable
entry has the form

  [subtables]={
{

with just a normal left brace at the begin of the line


  [internals]={},
  [marks]={},
  [name_to_type]={
   [ctx_tlig_1]=gsub_ligature,
   [ctx_trep_1]=gsub_single,
   [ss__DFLT_l_0_s]=gsub_single,
  },
  [subtables]={
   [={
[dflt]={
 [dflt]={
  [lookups]={ ss__DFLT_l_0_s },
  [valid]={
   [ss__DFLT_l_0_s]=true,
  },
 },
},
[jamo]={
 [dflt]={
  [lookups]={ ss__DFLT_l_0_s },
  [valid]={
   [ss__DFLT_l_0_s]=true,
  },
 },
},
   },


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] Problem to save data font in cache

2008-04-16 Thread Taco Hoekwater


Wolfgang Schuster wrote:

 C:\Dokumente und Einstellungen\Wolfgang\Lokale 
 Einstellungen\Temp\luatex-cache\c
 ontext\aa3708bbacfa039a6085d2b5c7446e1e\fonts\otftexluac -s cwheib.tma
 texluac: cwheib.tma:169863: unfinished string near '={'

 can you show the +/- ten lines surrounding this?

 it looks like a funny character is in there
 
 the problematic entry is below [subtables], every other subtable
 entry has the form
 
   [subtables]={
 {

The font is a Macintosh-style TTF font (not OpenType).

Unfortunately, these are not yet supported by luatex nor mkiv.
The simple reason is that neither Hans nor me knows what those
macintosh features are supposed to do. I'll try to make luatx
at least serialize such fonts properly, but official support
will be quite a while off.

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
___


[NTG-context] Problem to save data font in cache

2008-04-15 Thread Wolfgang Schuster
Hi,

I tried to use the cwTeX fonts with MkIV and I can use them but ConTeXt is not
able to save the font data and read the font for every run, this did
work but it takes
quiet some time to do this.

A attached the result from the terminal and the log file.

The font are available from the following page:
http://cle.linux.org.tw/fonts/cwttf/baseline/

My example document is:

% engine=luatex

\definefont[cwheib][file:cwheib*default at 12pt]

\starttext
\cwheib cwTeXHeiBold
\stoptext

Wolfgang


cwheib.log
Description: Binary data
E:\texexec cwheib.tex
TeXExec | processing document 'cwheib.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file cwheib.top
TeXExec | using randomseed 942
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en

LuaTools | running command: luatex --fmt=C:/DOKUME~1/Wolfgang/LOKALE~1/Temp/lua
tex-cache/context/aa3708bbacfa039a6085d2b5c7446e1e/formats/cont-en --lua=C:/DO
KUME~1/Wolfgang/LOKALE~1/Temp/luatex-cache/context/aa3708bbacfa039a6085d2b5c7446
e1e/formats/cont-en.luc cwheib.tex (./cwheib.tex

ConTeXt  ver: 2008.04.11 00:07 MKIV  fmt: 2008.4.14  int: english/english

language   : language en is active
report  utilityfile: not present
system : cont-new loaded
(c:/w32tex/share/texmf-local/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(c:/w32tex/share/texmf-local/tex/context/base/cont-new.mkiv
lua: used config path - C:/w32tex/share/texmf/web2c/texmf.cnf
lua: used cache path - C:/DOKUME\CCC:5:126 1/Wolfgang/LOKALE\CCC:5:1
26 1/Temp/luatex-cache/context/aa3708bbacfa039a6085d2b5c7446e1e
) (c:/w32tex/share/texmf-local/tex/context/base/cont-mtx.tex))
system : cont-old loaded
(c:/w32tex/share/texmf-local/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(c:/w32tex/share/texmf-local/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys loaded
(c:/w32tex/share/texmf-local/tex/context/user/cont-sys.tex (c:/w32tex/share/texm
f-local/tex/context/base/type-tmf.tex) (c:/w32tex/share/texmf-local/tex/context/
base/type-siz.tex) (c:/w32tex/share/texmf-local/tex/context/base/type-otf.tex))
bodyfont   : 12pt rm is loaded
specials   : tex loaded
system : cwheib.top loaded
(./cwheib.top
specials   : loading definition file tpd
(c:/w32tex/share/texmf-local/tex/context/base/spec-tpd.tex
specials   : loading definition file fdf
(c:/w32tex/share/texmf-local/tex/context/base/spec-fdf.tex (c:/w32tex/share/texm
f-local/tex/context/base/spec-fdf.mkiv))
specials   : fdf loaded
)
specials   : fdf loaded
)
systems: begin file cwheib at line 5
report  load otf: loading: ./cwheib.ttf
report  load otf: enhance: before
report  load otf: enhance: enrich
report  load otf: enhance: registering tlig feature
report  load otf: enhance: registering trep feature
report  load otf: enhance: flatten
report  load otf: flattening 'specifications' tables
report  load otf: flattening 'anchor' tables
report  load otf: flattening 'gsub' tables
report  load otf: enhance: analyze
report  load otf: enhance: after
report  load otf: enhance: patch
report  load otf: enhance: strip
report  load otf: enhance: pack
report  load otf: file size: 5493164
report  load otf: saving: in cachetexluac: ...atex-cache/context/aa3708bbacfa0
39a6085d2b5c7446e1e/fonts/otf/cwheib.tma:169863: unfinished string near '={'
luac: ...atex-cache/context/aa3708bbacfa039a6085d2b5c7446e1e/fonts/otf/cwheib.tm
a:169863: unfinished string near '={'

fonts  : resetting map file list
{c:/w32tex/share/texmf-local/fonts/map/pdftex/context/original-empty.map}
fonts  : using map file: original-base
{c:/w32tex/share/texmf-local/fonts/map/pdftex/context/original-base.map}
fonts  : using map file: lm-math
{c:/w32tex/share/texmf/fonts/map/dvips/lm/lm-math.map}
fonts  : using map file: lm-rm
{c:/w32tex/share/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts  : using map file: original-ams-base
{c:/w32tex/share/texmf-local/fonts/map/pdftex/context/original-ams-base.map}
fonts  : using map file: original-ams-euler
{c:/w32tex/share/texmf-local/fonts/map/pdftex/context/original-ams-euler.map}
fonts  : using map file: original-public-lm
{c:/w32tex/share/texmf-local/fonts/map/pdftex/context/original-public-lm.map} [1
.1]
systems: end file cwheib at line 7
 )./cwheib.ttfc:/w32tex/share/texmf-fonts/fonts/opentype/public/lm/lmroman12-
regular.otf
mkiv lua stats : used config path  - C:/w32tex/share/texmf/web2c/texmf.c
nf
mkiv lua stats : used cache path   - C:/DOKUME~1/Wolfgang/LOKALE~1/Temp/
luatex-cache/context/aa3708bbacfa039a6085d2b5c7446e1e
mkiv lua stats : modules/dumps/instances   - 84/20/1
mkiv lua stats : input load time   - 0.060 seconds
mkiv lua stats : fonts load time   - 20.750 seconds
mkiv 

Re: [NTG-context] Problem to save data font in cache

2008-04-15 Thread Hans Hagen
Wolfgang Schuster wrote:
 Hi,
 
 I tried to use the cwTeX fonts with MkIV and I can use them but ConTeXt is not
 able to save the font data and read the font for every run, this did
 work but it takes
 quiet some time to do this.
 
 A attached the result from the terminal and the log file.
 
 The font are available from the following page:
 http://cle.linux.org.tw/fonts/cwttf/baseline/
 
 My example document is:
 
 % engine=luatex
 
 \definefont[cwheib][file:cwheib*default at 12pt]
 
 \starttext
 \cwheib cwTeXHeiBold
 \stoptext

can you check if there's an tma file in the cache? and if so, if you can 
run texluac -s blabla.tma on it?

-
   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] Problem to save data font in cache

2008-04-15 Thread Wolfgang Schuster
On Tue, Apr 15, 2008 at 3:09 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Wolfgang Schuster wrote:
  Hi,
 
  I tried to use the cwTeX fonts with MkIV and I can use them but ConTeXt is 
  not
  able to save the font data and read the font for every run, this did
  work but it takes
  quiet some time to do this.
 
  A attached the result from the terminal and the log file.
 
  The font are available from the following page:
  http://cle.linux.org.tw/fonts/cwttf/baseline/
 
  My example document is:
 
  % engine=luatex
 
  \definefont[cwheib][file:cwheib*default at 12pt]
 
  \starttext
  \cwheib cwTeXHeiBold
  \stoptext

 can you check if there's an tma file in the cache? and if so, if you can
 run texluac -s blabla.tma on it?

I will try this today evening.

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
___