summaryrefslogtreecommitdiff
path: root/luaotfload-database.lua
diff options
context:
space:
mode:
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 9101f94..c5b156c 100644
--- a/luaotfload-database.lua
+++ b/luaotfload-database.lua
@@ -2548,8 +2548,6 @@ local generate_filedata = function (mappings)
return files
end
-local determine_italic
-local determine_bold
local pick_style
local check_regular
@@ -2727,24 +2725,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,
prefmodifiers,