Cleanup
This commit is contained in:
parent
9a5b89412c
commit
63bbdd6215
3 changed files with 1 additions and 12 deletions
|
@ -1,7 +1,5 @@
|
|||
$$include './meta/macros.ptl'
|
||||
|
||||
import [QueryRelatedGlyphs] from "./table-util.mjs"
|
||||
|
||||
export : define [buildGsubThousands gsub para] : begin
|
||||
local rec : gsub.beginBlock
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import toposort from 'toposort'
|
||||
import [AnyCv] from "@iosevka/glyph/relation"
|
||||
|
||||
extern Map
|
||||
extern Set
|
||||
|
@ -209,14 +208,6 @@ class LayoutLanguage
|
|||
define UtilityLookupPrefix '.utility-single/'
|
||||
define [IsUtilityLookupId name] : [name.slice 0 UtilityLookupPrefix.length] === UtilityLookupPrefix
|
||||
|
||||
export : define [QueryRelatedGlyphs glyphs para entries] : begin
|
||||
define sink {}
|
||||
foreach [gid : items-of entries] : if glyphs.(gid) : begin
|
||||
sink.push gid
|
||||
if para.enableCvSs : foreach [gr : items-of : AnyCv.query glyphs.(gid)] : begin
|
||||
sink.push : gr.get glyphs.(gid)
|
||||
return sink
|
||||
|
||||
export : define [FinalizeTable table] : begin
|
||||
set table.lookupOrder : toposort table.lookupDep
|
||||
foreach [{key lang} : pairs-of table.languages] : begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue