[luatex] luaotfload problems on windows (TL + Miktex)

Philipp Gesang Philipp.Gesang at alumni.uni-heidelberg.de
Sun Jul 14 16:03:16 CEST 2013


···<Datum: Sunday, 14. July 2013>···<Von: Philipp Gesang>···

> ···<Datum: Thursday, 11. July 2013>···<Von: Ulrike Fischer>···
> 
> > Am Thu, 11 Jul 2013 11:53:33 +0200 schrieb Philipp Gesang:
> > 
> > > ···<Datum: Thursday, 11. July 2013>···<Von: Ulrike Fischer>···
> > > 
> > >> Am Wed, 10 Jul 2013 18:56:40 +0200 schrieb Philipp Gesang:
> > >> 
> > >> 
> > >>> Missing files; thanks for reporting. Can you please check this
> > >>> new release instead:
> > >>> 
> > >>>   https://github.com/lualatex/luaotfload/releases/v2.3a
> > >>> 
> > >>> There’s a tds zip as well.
> > >> 
> > >> I tested the tds with miktex. I deleted the font cache and the
> > >> font-age.lua before the tests. Everythings seems to be fine with
> > >> this version:
> > >> 
> > >> - font database is created without problem during the compilation
> > >> (and is at the expected place). 
> > >> - the cache for a single font is created. 
> > >> - luaotfload now loads: loading the Adobe glyph list
> > >> - no suspicious " Could not write lookup cache" in the log or
> > >> terminal output.
> > >> 
> > >> 
> > >> And while I was at it I also added a test for a font in a texmf with
> > >> parentheses and spaces and it worked fine:
> > >> 
> > >> G:/texmf (space)/fonts/truetype/sil/doulossil-r.ttf
> > > 
> > > Glad to see it working.
> > > 
> > > While you’re at it, would you be willing to help me out a bit?
> > > I’ve added a somewhat experimental self-test that you can run
> > > like so:
> > > 
> > >   luaotfload-tool --diagnose=files,permissions
> > > 
> > > Could you check if this works on your windows machine and paste
> > > the output somewhere? I’m genuinely curious whether the
> > > permissions tests yield meaningful results on win as they are
> > > described only briefly in the Luatex manual. That’d be really
> > > helpful!
> > 
> >                                                               I get
> > this (I replaced only my username). Remark the error at the end. The
> > result is similar with TL13):
> > 
> > G:\Z-Test>luaotfload-tool  --diagnose=files,permissions
> > luaotfload | diagnose : Loading file hashes.
> > luaotfload | diagnose : ================ verify files
> > =================
> > luaotfload | diagnose : Luaotfload revision
> > 7548fbfccfb6a85e73cacdf62e945c4e5fb7
> > 8e78.
> > luaotfload | diagnose : Committed by Philipp Gesang
> > <phg42.2a at gmail.com>.
> > luaotfload | diagnose : Timestamp 2013-07-10 18:18:21 +0200.
> > luaotfload | diagnose : Testing 25 files for integrity.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/scripts/luaotfload/mkstatu
> > s.
> > luaotfload | diagnose : Ok, mkstatus passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/scripts/luaotfload/mkglyph
> > list.
> > luaotfload | diagnose : Ok, mkglyphlist passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/scripts/luaotfload/mkchara
> > cters.
> > luaotfload | diagnose : Ok, mkcharacters passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-typo-krn.lua.
> > luaotfload | diagnose : Ok, luaotfload-typo-krn.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/scripts/luaotfload/luaotfl
> > oad-tool.lua.
> > luaotfload | diagnose : Ok, luaotfload-tool.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-override.lua.
> > luaotfload | diagnose : Ok, luaotfload-override.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-merged.lua.
> > luaotfload | diagnose : Ok, luaotfload-merged.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload.lua.
> > luaotfload | diagnose : Ok, luaotfload.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-loaders.lua.
> > luaotfload | diagnose : Ok, luaotfload-loaders.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-letterspace.lua.
> > luaotfload | diagnose : Ok, luaotfload-letterspace.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-glyphlist.lua.
> > luaotfload | diagnose : Ok, luaotfload-glyphlist.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-fonts-tfm.lua.
> > luaotfload | diagnose : Ok, luaotfload-fonts-tfm.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-fonts-lua.lua.
> > luaotfload | diagnose : Ok, luaotfload-fonts-lua.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-fonts-ext.lua.
> > luaotfload | diagnose : Ok, luaotfload-fonts-ext.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-fonts-enc.lua.
> > luaotfload | diagnose : Ok, luaotfload-fonts-enc.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-fonts-def.lua.
> > luaotfload | diagnose : Ok, luaotfload-fonts-def.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-fonts-cbk.lua.
> > luaotfload | diagnose : Ok, luaotfload-fonts-cbk.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-features.lua.
> > luaotfload | diagnose : Ok, luaotfload-features.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-extralibs.lua.
> > luaotfload | diagnose : Ok, luaotfload-extralibs.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-database.lua.
> > luaotfload | diagnose : Ok, luaotfload-database.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-colors.lua.
> > luaotfload | diagnose : Ok, luaotfload-colors.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-characters.lua.
> > luaotfload | diagnose : Ok, luaotfload-characters.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-basics-nod.lua.
> > luaotfload | diagnose : Ok, luaotfload-basics-nod.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-basics-gen.lua.
> > luaotfload | diagnose : Ok, luaotfload-basics-gen.lua passed.
> > luaotfload | diagnose : File:
> > G:/Temp/luaotfload-test/tex/luatex/luaotfload/luao
> > tfload-auxiliary.lua.
> > luaotfload | diagnose : Ok, luaotfload-auxiliary.lua passed.
> > luaotfload | diagnose : =============== file permissions
> > ==============
> > luaotfload | diagnose : Checking permissions of
> > C:/Users/XXXX/AppData/Local/
> > MiKTeX/2.9/luatex-cache/generic//.
> > ...p\luaotfload-test\scripts\luaotfload\luaotfload-tool.lua:1046:
> > attempt to index local 'attributes' (a nil value)
> 
> The good news is: all files appear to be in order. The bad news
> is that lfs.attributes() doesn’t seem to work in a Win
> environment.

I take that back, it works, it just doesn’t take kindly to
trailing slashes. If that is handled properly, the diagnostics
run fine.

Philipp

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20130714/bc6461e0/attachment-0001.bin>


More information about the luatex mailing list