summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-02-11 07:23:17 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2014-02-11 07:23:17 +0100
commite2daf4cca54b627a7255c34703b48e753de34c62 (patch)
tree536252cad703295bee793586666d382873f210d2 /scripts
parent7c5b3005c07314b2ba916b1577a4825213a2a454 (diff)
downloadluaotfload-e2daf4cca54b627a7255c34703b48e753de34c62.tar.gz
[glyphs] adapt mkglyphlist
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkglyphlist11
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/mkglyphlist b/scripts/mkglyphlist
index f7a1cb9..e660a57 100755
--- a/scripts/mkglyphlist
+++ b/scripts/mkglyphlist
@@ -5,19 +5,21 @@
-- DESCRIPTION: part of the luaotfload package
-- REQUIREMENTS: lua, lpeg, luasocket, the lualibs package
-- AUTHOR: Philipp Gesang (Phg), <phg42.2a@gmail.com>
--- VERSION: 2.4
--- CREATED: 04/23/2013 12:42:17 PM CEST
+-- VERSION: 2.5
+-- MODIFIED: 2014-02-11 06:44:50+0100
-----------------------------------------------------------------------
-- interesting thread on the Context list:
-- http://www.ntg.nl/pipermail/ntg-context/2008/029057.html
+--
+-- N.B. this script assumes network connectivity!
-----------------------------------------------------------------------
-----------------------------------------------------------------------
-- config
-----------------------------------------------------------------------
-local glyphfile = "./glyphlist.txt"
-local font_age = "./luaotfload-glyphlist.lua"
+local glyphfile = "./build/glyphlist.txt"
+local font_age = "./build/luaotfload-glyphlist.lua"
local glyph_source = "http://partners.adobe.com/public/developer/en/opentype/glyphlist.txt"
-----------------------------------------------------------------------
@@ -133,6 +135,7 @@ end
local get_raw get_raw = function (retry)
local fh = io.open(glyphfile, "rb")
if fh then
+ print ("info: reading glyph list from", glyphfile)
local data = fh:read"*all"
fh:close()
if data then return data end