ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem to save data font in cache
@ 2008-04-15 12:57 Wolfgang Schuster
  2008-04-15 13:09 ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2008-04-15 12:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]

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

[-- Attachment #2: cwheib.log --]
[-- Type: application/octet-stream, Size: 5386 bytes --]

(./cwheib.tex

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

language       : language en is active
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:126 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/texmf-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/texmf-local/tex/context/base/spec-fdf.mkiv))
specials       : fdf loaded
)
specials       : fdf loaded
) (./cwheib.tuo) (./cwheib.tuo)
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 cache
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.ttf><c:/w32tex/share/texmf-fonts/fonts/opentype/public/lm/lmroman12-regular.otf>
mkiv lua stats : used config path          - C:/w32tex/share/texmf/web2c/texmf.cnf
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.521 seconds
mkiv lua stats : fonts load time           - 16.073 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.030 seconds
mkiv lua stats : attribute processing time - 0.010 seconds
mkiv lua stats : language load time        - 0.110 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      - 120593663 bytes
mkiv lua stats : cleaned up reserved nodes - 16 nodes, 8 lists (of 100)
mkiv lua stats : loaded patterns           - en:en:pat:exc:2
mkiv lua stats : node memory usage         - 20 glue_spec, 2 dir
mkiv lua stats : loaded fonts              - file:cwheib*default:ttf 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 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 : shipped out pages         - 1 (of 1 processed pages)


[-- Attachment #3: cwheib.txt --]
[-- Type: text/plain, Size: 13296 bytes --]

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.ttf><c:/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 lua stats : xml load time             - 0.000 seconds (backreferences: 0, o
uter 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.190 seconds
mkiv lua stats : attribute processing time - 0.010 seconds
mkiv lua stats : language load time        - 0.040 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 secon
ds, execution: 0.000 seconds, n: 0)
mkiv lua stats : current memory usage      - 154654298 bytes
mkiv lua stats : cleaned up reserved nodes - 16 nodes, 8 lists (of 100)
mkiv lua stats : loaded patterns           - en:en:pat:exc:2
mkiv lua stats : node memory usage         - 20 glue_spec, 2 dir
mkiv lua stats : loaded fonts              - file:cwheib*default:ttf file:lmroma
n10-bolditalic*default:otf file:lmroman10-italic*default:otf file:lmroman12-bold
*default:otf file:lmroman12-italic*default:otf file:lmroman12-regular*default:ot
f 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 lmex10:tfm lmmi12:tfm lmmi7:tfm lmmi9:tf
m lmsy10:tfm lmsy7:tfm lmsy9:tfm msam10:tfm msam7:tfm msbm10:tfm msbm7:tfm rm-lm
r12:tfm rm-lmr7:tfm rm-lmr9:tfm
mkiv lua stats : shipped out pages         - 1 (of 1 processed pages)


LuaTools |
LuaTools | runtime: 40.608 secondsTeXUtil | parsing file cwheib.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 1
TeXUtil | temporary files: 0
TeXUtil | commands: 8
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | renaming cwheib.tua into cwheib.tuc
TeXExec | TeX run 2
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
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
) (./cwheib.tuo) (./cwheib.tuo)
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.ttf><c:/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.521 seconds
mkiv lua stats : fonts load time           - 16.073 seconds
mkiv lua stats : xml load time             - 0.000 seconds (backreferences: 0, o
uter 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.030 seconds
mkiv lua stats : attribute processing time - 0.010 seconds
mkiv lua stats : language load time        - 0.110 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 secon
ds, execution: 0.000 seconds, n: 0)
mkiv lua stats : current memory usage      - 120593663 bytes
mkiv lua stats : cleaned up reserved nodes - 16 nodes, 8 lists (of 100)
mkiv lua stats : loaded patterns           - en:en:pat:exc:2
mkiv lua stats : node memory usage         - 20 glue_spec, 2 dir
mkiv lua stats : loaded fonts              - file:cwheib*default:ttf file:lmroma
n10-bolditalic*default:otf file:lmroman10-italic*default:otf file:lmroman12-bold
*default:otf file:lmroman12-italic*default:otf file:lmroman12-regular*default:ot
f 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 lmex10:tfm lmmi12:tfm lmmi7:tfm lmmi9:tf
m lmsy10:tfm lmsy7:tfm lmsy9:tfm msam10:tfm msam7:tfm msbm10:tfm msbm7:tfm rm-lm
r12:tfm rm-lmr7:tfm rm-lmr9:tfm
mkiv lua stats : shipped out pages         - 1 (of 1 processed pages)


LuaTools |
LuaTools | runtime: 24.595 secondsTeXUtil | parsing file cwheib.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 1
TeXUtil | temporary files: 0
TeXUtil | commands: 8
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | renaming cwheib.tua into cwheib.tuc
TeXExec | runtime: 70.421

[-- Attachment #4: cwheib.tex --]
[-- Type: application/x-tex, Size: 116 bytes --]

[-- Attachment #5: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem to save data font in cache
  2008-04-15 12:57 Problem to save data font in cache Wolfgang Schuster
@ 2008-04-15 13:09 ` Hans Hagen
  2008-04-15 13:14   ` Wolfgang Schuster
  2008-04-16 11:43   ` Wolfgang Schuster
  0 siblings, 2 replies; 7+ messages in thread
From: Hans Hagen @ 2008-04-15 13:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem to save data font in cache
  2008-04-15 13:09 ` Hans Hagen
@ 2008-04-15 13:14   ` Wolfgang Schuster
  2008-04-16 11:43   ` Wolfgang Schuster
  1 sibling, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2008-04-15 13:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Apr 15, 2008 at 3:09 PM, Hans Hagen <pragma@wxs.nl> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem to save data font in cache
  2008-04-15 13:09 ` Hans Hagen
  2008-04-15 13:14   ` Wolfgang Schuster
@ 2008-04-16 11:43   ` Wolfgang Schuster
  2008-04-16 11:46     ` Hans Hagen
  1 sibling, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2008-04-16 11:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Apr 15, 2008 at 3:09 PM, Hans Hagen <pragma@wxs.nl> 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 '"={'

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem to save data font in cache
  2008-04-16 11:43   ` Wolfgang Schuster
@ 2008-04-16 11:46     ` Hans Hagen
  2008-04-16 11:58       ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2008-04-16 11:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster wrote:
> On Tue, Apr 15, 2008 at 3:09 PM, Hans Hagen <pragma@wxs.nl> 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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem to save data font in cache
  2008-04-16 11:46     ` Hans Hagen
@ 2008-04-16 11:58       ` Wolfgang Schuster
  2008-04-16 12:13         ` Taco Hoekwater
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2008-04-16 11:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Apr 16, 2008 at 1:46 PM, Hans Hagen <pragma@wxs.nl> wrote:
>
> Wolfgang Schuster wrote:
> > On Tue, Apr 15, 2008 at 3:09 PM, Hans Hagen <pragma@wxs.nl> 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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem to save data font in cache
  2008-04-16 11:58       ` Wolfgang Schuster
@ 2008-04-16 12:13         ` Taco Hoekwater
  0 siblings, 0 replies; 7+ messages in thread
From: Taco Hoekwater @ 2008-04-16 12:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users



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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-04-16 12:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-15 12:57 Problem to save data font in cache Wolfgang Schuster
2008-04-15 13:09 ` Hans Hagen
2008-04-15 13:14   ` Wolfgang Schuster
2008-04-16 11:43   ` Wolfgang Schuster
2008-04-16 11:46     ` Hans Hagen
2008-04-16 11:58       ` Wolfgang Schuster
2008-04-16 12:13         ` Taco Hoekwater

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).