Problem to save data font in cache
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
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 -----------------------------------------------------------------
On Tue, Apr 15, 2008 at 3:09 PM, 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?
I will try this today evening. Wolfgang
On Tue, Apr 15, 2008 at 3:09 PM, 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?
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\otf>texluac -s cwheib.tma texluac: cwheib.tma:169863: unfinished string near '"={' Wolfgang
Wolfgang Schuster wrote:
On Tue, Apr 15, 2008 at 3:09 PM, Hans Hagen
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\otf>texluac -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 -----------------------------------------------------------------
On Wed, Apr 16, 2008 at 1:46 PM, Hans Hagen
Wolfgang Schuster wrote:
On Tue, Apr 15, 2008 at 3:09 PM, Hans Hagen
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\otf>texluac -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
Wolfgang Schuster wrote:
C:\Dokumente und Einstellungen\Wolfgang\Lokale Einstellungen\Temp\luatex-cache\c ontext\aa3708bbacfa039a6085d2b5c7446e1e\fonts\otf>texluac -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
participants (3)
-
Hans Hagen
-
Taco Hoekwater
-
Wolfgang Schuster