[luatex] How to avoid update of otfl-names.lua

Yannis Haralambous yannis.haralambous at telecom-bretagne.eu
Sun Oct 16 16:43:56 CEST 2011


Hi,

for the zebrackets system I have manually changed the otfl-names.lua file (all Latin Modern file names
have been replaced by those of the zebracketed ones). For example:

  {
   ["familyname"]="LMRoman17",
   ["filename"]={ "zebralmroman17-regular.otf", false },
   ["fontname"]="LMRoman17-Regular",
   ["fontstyle_name"]="Regular",
   ["fullname"]="LMRoman17-Regular",
   ["names"]={
    ["family"]="Latin Modern Roman",
    ["fullname"]="LM Roman 17 Regular",
    ["psname"]="LMRoman17-Regular",
    ["subfamily"]="Regular",
   },
   ["size"]={ 172, 240, 140 },
   ["slant"]=0,
   ["weight"]=400,
   ["width"]=5,
  },

This works perfectly (lualatex thinks it is using
Latin Modern Roman and in reality the font files embedded are those of the zebracketed version),
but *every time* I run a file, the font names database is updated anew: I get the message

luaotfload | Font names database loaded: /Users/yannis/.texlive2011/texmf-var/l
uatex-cache/generic/names/otfl-names.lua
luaotfload | Updating the font names database:
luaotfload | Scanning TEXMF fonts...
luaotfload | Scanning OS fonts...
luaotfload | Font names database saved: %s 
: /Users/yannis/.texlive2011/texmf-var/luatex-cache/generic/names/otfl-names.lua

This takes some time, and this is quite annoying. I wonder why the file has to be updated every time?
Has it to do with the timestamps at the end?

  ["zebralmroman17-regular.otf"]={
   ["index"]={ 212 },
   ["timestamp"]=1255129361,
  },

Since lmroman17-regular.otf has been replaced by zebralmroman17-regular.otf, I guess that the timestamp
is not correct, is this why the database is updated every time?

If yes, how are the timestamps calculated, so that I can recalculate them?

If not, is there some other reason?

thanks in advance

Yannis

-- 
-------------------------------------------------------
Yannis Haralambous
Directeur d'études
Institut Télécom, Télécom Bretagne
Département Informatique
UMR CNRS 3192 Lab-STICC
Technopôle Brest Iroise
CS 83818, 29238 Brest Cedex 3, France
Tel: +33 2 29 00 14 27
Fax: +33 2 29 00 12 82
Email: yannis.haralambous at telecom-bretagne.eu
Internet: http://omega.enstb.org/yannis
ICBM address: 48°21'31.57"N 4°34'16.76"W
Twitter: y_haralambous
-------------------------------------------------------
...pour distinguer l'extérieur d'un aquarium,
mieux vaut n'être pas poisson

...the ball I threw while playing in the park
has not yet reached the ground

Es gab eine Zeit, wo ich nur ungern über Schubert sprechen,
nur Nächtens den Bäumen und Sternen von ihm vorerzählen mögen.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Yannis Haralambous.vcf
Type: text/directory
Size: 508 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20111016/031219c1/attachment.bin>
-------------- next part --------------



More information about the luatex mailing list