I'd like to be able to disable layout closure when subsetting fonts.
I attempted to subset Material icons font using subset-font. The output did provide a subset, however, the subset was larger in size than what I would have expected. I found out that this is because of layout closure.
The output of subset-font right now is equivalent to
Description
I'd like to be able to disable layout closure when subsetting fonts.
I attempted to subset Material icons font using subset-font. The output did provide a subset, however, the subset was larger in size than what I would have expected. I found out that this is because of layout closure.
The output of subset-font right now is equivalent to
What I would like to see instead can be produced with
Steps to Reproduce
subset-font
.Create a
test.js
file with the following content:node test.js
.out.ttf
with a viewer like fontdrop.info.Behavior
You see a lot more glyphs than what was defined in
str
variable.Feature Request
Add an option "disableLayoutClosure". This should be equivalent to
--no-layout-closure
inhb-subset
.