Forums: 公開討議/質問 (Thread #34278)

20130711.0 で luaotfload | db : Version mismat (2013-07-14 23:34 by kitaju #69497)

Windows 7 に TeX Live 2013 をインストールして使用しています。
20130711.0 でログに
>luaotfload | db : Version mismatch; expected 2.207, got 2.204
>luaotfload | db : force rebuild
というメッセージが現れるようになり、体感ではこの部分の処理に
かなり時間を取られているように思えます。

手元のファイルだと、バージョンアップ後は
処理に1時間かかるようなものも出てきて困惑しています。

Reply to #69497×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: 20130711.0 で luaotfload | db : Version mismat (2013-07-14 23:50 by kmaeda #69498)

Windows でのチェックはしていませんが,

> 20130711.0 でログに
> >luaotfload | db : Version mismatch; expected 2.207, got 2.204
> >luaotfload | db : force rebuild

ログの通り,LuaTeX-ja ではなく,luaotfload のフォント名データベースの問題です.おそらく,TeX Live の
アップデート時に,LuaTeX-ja と同時に luaotfload もアップデートされたのではないでしょうか.

コマンドプロンプトから

luaotfload-tool --help

とすると,最後の方に(以下は Linux 環境の場合ですが)

> The font database will be saved to
> /home/kmaeda/.texlive2013/texmf-var/luatex-cache/generic/names/luaotfload-names.lua
> /home/kmaeda/.texlive2013/texmf-var/luatex-cache/generic/names/luaotfload-names.luc

というのが出てくると思います.これがデータベースの保存先で,これのバージョンが古いと言われています.
"force rebuild" となっているので,新しいバージョンのデータベースが作られているのでは,と思うのですが,
そうならずに何度も再生成しようとするということでしょうか?

luaotfload-tool -fu

とするか,一度該当のデータベースファイルを削除するとどうでしょうか?
(自動生成されるものなので,消しても再度生成されるはずです.)
Reply to #69497

Reply to #69498×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: 20130711.0 で luaotfload | db : Version mismat (2013-07-15 00:24 by kitaju #69499)

ご教示いただいた

>luaotfload-tool -fu

を実行したところ、処理にかかる時間が劇的に短くなりました。
元記事に書いた処理に1時間かかるファイルも、
ざっくり計測したところ12秒程度で処理が完了しました。

取り急ぎご報告まで。
Reply to #69497

Reply to #69499×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login