summaryrefslogtreecommitdiff
path: root/luaotfload-database.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-11-06 18:03:38 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2013-11-06 18:03:38 +0100
commit049edfd2afc26472a0f41df1c02a73cc1fd6e812 (patch)
treebb728b7eaa126ef2e6576c6d1a7d9008b956a247 /luaotfload-database.lua
parentaa118e1f44ac27ed1d9046c45d8baa855fa2c107 (diff)
downloadluaotfload-049edfd2afc26472a0f41df1c02a73cc1fd6e812.tar.gz
[db] remove cruft
Diffstat (limited to 'luaotfload-database.lua')
-rw-r--r--luaotfload-database.lua20
1 files changed, 0 insertions, 20 deletions
diff --git a/luaotfload-database.lua b/luaotfload-database.lua
index e439e2a..0987508 100644
--- a/luaotfload-database.lua
+++ b/luaotfload-database.lua
@@ -2518,8 +2518,6 @@ local generate_filedata = function (mappings)
return files
end
-local determine_italic
-local determine_bold
local pick_style
local check_regular
@@ -2697,24 +2695,6 @@ local collect_families = function (mappings)
subfamily,
splitstyle)
--- if not modifier then --- guess
--- local italic = determine_italic (fontstyle_name,
--- italicangle,
--- prefmodifiers,
--- subfamily)
--- local bold = determine_bold (fontstyle_name,
--- weight,
--- prefmodifiers,
--- subfamily)
--- if bold and italic then
--- modifier = "bi"
--- elseif bold then
--- modifier = "b"
--- elseif italic then
--- modifier = "i"
--- end
--- end
---
if not modifier then --- regular, exact only
modifier = check_regular (fontstyle_name,
subfamily,