Hi, it looks like the dejavy fonts have some features that go out of bounds; luatex is now made more robust for such errors and load the font ok now" due to mail problems, taco is not online and cannot upload the new beta today, will be mid week or so 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 -----------------------------------------------------------------
On Mon, 13 Aug 2007 21:48:31 +0200
Hans Hagen
Hi,
it looks like the dejavy fonts have some features that go out of bounds; luatex is now made more robust for such errors and load the font ok now"
due to mail problems, taco is not online and cannot upload the new beta today, will be mid week or so
Thanks, I'll test it then. ZS
zs wrote:
On Mon, 13 Aug 2007 21:48:31 +0200 Hans Hagen
wrote: Hi,
it looks like the dejavy fonts have some features that go out of bounds; luatex is now made more robust for such errors and load the font ok now"
due to mail problems, taco is not online and cannot upload the new beta today, will be mid week or so
Thanks, I'll test it then.
if you can compile ... the source code is updated ----------------------------------------------------------------- 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, 14 Aug 2007 00:10:45 +0200
Hans Hagen
if you can compile ... the source code is updated
After upgrade to luaTeX Version 3.141592-beta-0.10.2: Following code works as expected. Commented lines (everyone) still cause context/luatex to end its job without error message, pdf and log. Some font gives warning about features that go out of bounds, but still works fine. ZS % engine=luatex \def\testfont#1% {\blank \hbox \bgroup {\tttf#1:} {\tttf \font\test=#1*default \test effe fietsen 1234} {\tttf (sc) \font\test=#1*smallcaps \test effe fietsen 1234} {\tttf (os) \font\test=#1*oldstyle \test effe fietsen 1234} \egroup \blank} \starttext %\testfont{dejavusans-boldoblique} %\testfont{dejavusans-bold} %\testfont{dejavusanscondensed-boldoblique} %\testfont{dejavusanscondensed-bold} %\testfont{dejavusanscondensed-oblique} %\testfont{dejavusanscondensed} \testfont{dejavusans-extralight} \testfont{dejavusansmono-boldoblique} \testfont{dejavusansmono-bold} \testfont{dejavusansmono-oblique} %\testfont{dejavusansmono} %\testfont{dejavusans-oblique} %\testfont{dejavusans} \testfont{dejavuserif-bolditalic} \testfont{dejavuserif-bold} \testfont{dejavuserifcondensed-bolditalic} \testfont{dejavuserifcondensed-bold} \testfont{dejavuserifcondensed-italic} \testfont{dejavuserifcondensed} \testfont{dejavuserif-italic} \testfont{dejavuserif} \stoptext
zs wrote:
On Tue, 14 Aug 2007 00:10:45 +0200 Hans Hagen
wrote: if you can compile ... the source code is updated
After upgrade to luaTeX Version 3.141592-beta-0.10.2:
Following code works as expected. Commented lines (everyone) still cause context/luatex to end its job without error message, pdf and log. Some font gives warning about features that go out of bounds, but still works fine.
ZS
% engine=luatex
\def\testfont#1% {\blank \hbox \bgroup {\tttf#1:} {\tttf \font\test=#1*default \test effe fietsen 1234} {\tttf (sc) \font\test=#1*smallcaps \test effe fietsen 1234} {\tttf (os) \font\test=#1*oldstyle \test effe fietsen 1234} \egroup \blank}
\starttext
%\testfont{dejavusans-boldoblique} %\testfont{dejavusans-bold} %\testfont{dejavusanscondensed-boldoblique} %\testfont{dejavusanscondensed-bold} %\testfont{dejavusanscondensed-oblique} %\testfont{dejavusanscondensed} \testfont{dejavusans-extralight} \testfont{dejavusansmono-boldoblique} \testfont{dejavusansmono-bold} \testfont{dejavusansmono-oblique} %\testfont{dejavusansmono} %\testfont{dejavusans-oblique} %\testfont{dejavusans} \testfont{dejavuserif-bolditalic} \testfont{dejavuserif-bold} \testfont{dejavuserifcondensed-bolditalic} \testfont{dejavuserifcondensed-bold} \testfont{dejavuserifcondensed-italic} \testfont{dejavuserifcondensed} \testfont{dejavuserif-italic} \testfont{dejavuserif}
\stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________
Hi, Sorry, pressed the send button a little bit too early. Taco Hoekwater wrote:
zs wrote:
On Tue, 14 Aug 2007 00:10:45 +0200 Hans Hagen
wrote: if you can compile ... the source code is updated
After upgrade to luaTeX Version 3.141592-beta-0.10.2:
Following code works as expected. Commented lines (everyone) still cause context/luatex to end its job without error message, pdf and log. Some font gives warning about features that go out of bounds, but still works fine.
What version of the dejavu fonts do you use, exactly? These fonts are a little rough around the edges as well as being in active delopment, so it is a hard target to test against. Over here, all of the fonts in release 2.19 them worked ok in luatex 0.10.2 (on linux) Best wishes, Taco
On Tue, 14 Aug 2007 15:27:05 +0200
Taco Hoekwater
hat version of the dejavu fonts do you use, exactly? These fonts are a little rough around the edges as well as being in active delopment, so it is a hard target to test against. Over here, all of the fonts in release 2.19 them worked ok in luatex 0.10.2 (on linux)
I use release 2.19 too and luatex 0.10.2 on linux too. # luatex -v This is luaTeX, Version 3.141592-beta-0.10.2-2007081408 LuaTeX merges and builds upon (parts of) the code from these projects: . . . Compiled with libpng 1.2.15; using libpng 1.2.15 Compiled with zlib 1.2.3; using zlib 1.2.3 Compiled with xpdf version 3.01 This simple code: % ---- \starttext \font\test=dejavusans*default \test Hello \stoptext % ---- processed by "texexec --luatex pokus2.tex" ends without anything useful. This is the output: TeXExec | processing document 'pokus2.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file pokus2.top TeXExec | using randomseed 743 TeXExec | tex engine: luatex TeXExec | tex format: cont-en This is luaTeX, Version 3.141592-beta-0.10.2-2007081408 (Web2C 7.5.6) (./pokus2.tex ConTeXt ver: 2007.08.08 14:35 MKIV fmt: 2007.8.14 int: english/english language : language en is active system : cont-new loaded (/usr/local/context/tex/texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/local/context/tex/texmf-local/tex/context/base/cont-new.mkiv) (/usr/local/context/tex/texmf-local/tex/context/base/cont-mtx.tex)) system : cont-old loaded (/usr/local/context/tex/texmf-local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/context/tex/texmf-local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/usr/local/context/tex/texmf-local/tex/context/user/cont-sys.tex) bodyfont : 12pt rm is loaded language : patterns nl->default:default->1->2:3 fr->default:default->2->2:3 de->default:default->3->2:3 it->default:default->4->2:3 pt->default:default->5->2:3 hr->default:default->6->2:3 pl->default:default->7->2:3 cz->default:default->8->2:3 sk->default:default->9->2:3 sl->default:default->10->2:3 ru->default:default->12->2:3 en->default:default->13->2:3 uk->default:default->14->2:3 us->default:default->[13]->2:3 agr->default:default->15->2:3 da->default:default->16->2:3 sv->default:default->17->2:3 af->default:default->[1]->2:3 no->default:default->18->2:3 deo->default:default->19->2:3 es->default:default->20->2:3 ca->default:default->21->2:3 la->default:default->22->2:3 ro->default:default->23->2:3 tr->default:default->24->2:3 fi->default:default->26->2:3 hu->default:default->27->2:3 loaded specials : tex,postscript,rokicki loaded system : pokus2.top loaded (./pokus2.top specials : loading definition file tpd (/usr/local/context/tex/texmf-local/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/local/context/tex/texmf-local/tex/context/base/spec-fdf.tex (/usr/local/context/tex/texmf-local/tex/context/base/spec-fdf.mkiv)) specials : fdf loaded ) specials : fdf,tpd loaded ) (./pokus2.tuo) (./pokus2.tuo) systems : begin file pokus2 at line 3 LuaTools | running command: luatex --fmt="/tmp/luatex-cache/context/d41b0d1caeb97e3062158db2245649d2/formats/cont-en" --lua="/tmp/luatex-cache/context/d41b0d1caeb97e3062158db2245649d2/formats/cont-en.lua" "pokus2.tex" LuaTools | LuaTools | runtime: 0.04 seconds TeXUtil | parsing file pokus2.tui TeXUtil | shortcuts : 0 TeXUtil | expansions: 0 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 0 TeXUtil | temporary files: 0 TeXUtil | commands: 0 TeXUtil | programs: 0 TeXUtil | tuo file saved TeXExec | renaming pokus2.tua into pokus2.tuc TeXExec | runtime: 3.116736 I tried to run: luatex --fmt="/tmp/luatex-cache/context/d41b0d1caeb97e3062158db2245649d2/formats/cont-en" --lua="/tmp/luatex-cache/context/d41b0d1caeb97e3062158db2245649d2/formats/cont-en.lua" "pokus2.tex" That ends with "Segmentation fault", what is probably the point. I tried to recompile luatex double checking that no CFLAGS are set, but got the same result. ...but if nobody except me uses dejavu fonts or have these troubles, I can choose other fonts. There are probably more crucial things to bother about. Anyway, thanks for interest. ZS
zs wrote:
On Tue, 14 Aug 2007 15:27:05 +0200 Taco Hoekwater
wrote: hat version of the dejavu fonts do you use, exactly? These fonts are a little rough around the edges as well as being in active delopment, so it is a hard target to test against. Over here, all of the fonts in release 2.19 them worked ok in luatex 0.10.2 (on linux)
I use release 2.19 too and luatex 0.10.2 on linux too.
# luatex -v This is luaTeX, Version 3.141592-beta-0.10.2-2007081408
LuaTeX merges and builds upon (parts of) the code from these projects: . . .
Compiled with libpng 1.2.15; using libpng 1.2.15 Compiled with zlib 1.2.3; using zlib 1.2.3 Compiled with xpdf version 3.01
This simple code: % ---- \starttext
\font\test=dejavusans*default \test Hello
\stoptext % ---- processed by "texexec --luatex pokus2.tex" ends without anything useful.
This is the output:
TeXExec | processing document 'pokus2.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file pokus2.top TeXExec | using randomseed 743 TeXExec | tex engine: luatex TeXExec | tex format: cont-en
This is luaTeX, Version 3.141592-beta-0.10.2-2007081408 (Web2C 7.5.6) (./pokus2.tex
ConTeXt ver: 2007.08.08 14:35 MKIV fmt: 2007.8.14 int:
As usual, I am running a slightly newer version of context ConTeXt ver: 2007.08.15 11:52 MKIV fmt: 2007.8.15 int: and perhaps that makes a difference (you have to wait for the next context release to test that). But otherwise, I have the same versions you have, and the document compiles correctly, making it impossible for me to investigate this further. I _do_ want every font to work (or at least not segfault), but I really do need to be able to reproduce an error before being able to fix it. As it stands, there is nothing I can do. Best wishes, Taco
Another hint: I tried to cut off some less common (from my point of view) glyphs from dejavusanscondensed font using fontforge. After that slimming, everything seems to work. Result: at some circumstances, some glyphs in some fonts may cause crash of luatex. If anyone interested, here is the reduced font: http://physics.ujep.cz/~zstryhal/data/djvsanscon_reduced.ttf.bz2 ZS
I know, people who tried to reproduce my trouble with DejaVu fonts "failed" :-) Nevertheless I'm now giving my solution to the public, just in case somebody in future gets the same failure. I found, if glyph uni05C7 at position 1479 is cleared using fontforge, everything works fine. Zdenek
participants (3)
-
Hans Hagen
-
Taco Hoekwater
-
zs