summaryrefslogtreecommitdiff
path: root/src/luaotfload-database.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2016-04-20 23:46:32 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2016-04-20 23:48:41 +0200
commit4c2b3301e98ac3075cc3d93a47fd497b8f9b6d52 (patch)
treec91abc6fb656a198b1d879875c95039af5f606cf /src/luaotfload-database.lua
parent13a1b80721a76be09a2ee4c91f629c21faacda31 (diff)
downloadluaotfload-4c2b3301e98ac3075cc3d93a47fd497b8f9b6d52.tar.gz
[*] remove references to obsolete formats (PF{A,B}, DFONT, FEA)
Thanks to @dohyunkim for reminding me to be thorough! At least in our own files. A patch has been sent upstream to apply the same change to the generic loader.
Diffstat (limited to 'src/luaotfload-database.lua')
-rw-r--r--src/luaotfload-database.lua8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/luaotfload-database.lua b/src/luaotfload-database.lua
index 6fe01ba..135ab0e 100644
--- a/src/luaotfload-database.lua
+++ b/src/luaotfload-database.lua
@@ -207,8 +207,7 @@ local make_luanames = function (path)
end
local format_precedence = {
- "otf", "ttc", "ttf",
- "dfont", "afm",
+ "otf", "ttc", "ttf", "afm",
--- "pfb", "pfa",
}
@@ -336,7 +335,7 @@ This is a sketch of the luaotfload db:
}
and metadata = {
created : string // creation time
- formats : string list; // { "otf", "ttf", "ttc", "dfont" }
+ formats : string list; // { "otf", "ttf", "ttc" }
local : bool; (* set if local fonts were added to the db *)
modified : string // modification time
statistics : TODO; // created when built with "--stats"
@@ -360,7 +359,7 @@ This is a sketch of the luaotfload db:
conflicts : { barename : int; basename : int }; // filename conflict with font at index; happens with subfonts
familyname : string; // sanitized name of the font family the font belongs to, usually from the names table
fontname : string; // sanitized name of the font
- format : string; // "otf" | "ttf" | "dfont" | "afm"
+ format : string; // "otf" | "ttf" | "afm"
fullname : string; // sanitized full name of the font including style modifiers
fullpath : string; // path to font in filesystem
index : int; // index in the mappings table
@@ -1619,7 +1618,6 @@ ot_fullinfo = function (filename,
end
local loaders = {
- dfont = ot_fullinfo,
otf = ot_fullinfo,
ttc = ot_fullinfo,
ttf = ot_fullinfo,