File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1818-- local wdth = hb.Tag.new("wdth")
1919-- local face = hb.Face.new("myfont.ttf")
2020--
21- -- input:pin_axis_location(face,wght, 100)
22- -- input:pin_axis_location(face,wdth, 100)
21+ -- input:pin_axis_location(face, wght, 100)
22+ -- input:pin_axis_location(face, wdth, 100)
2323--
2424-- input:keep_everything()
25- -- new_face = hb_subset.subset(face, input)
25+ --
26+ -- local new_face = hb_subset.subset(face, input)
2627--
2728-- local blob = new_face:blob()
2829-- local fh, err = io.open("out.ttf", "wb")
5556-- Objects of this type control which parts of a `Face` are kept when
5657-- creating a subset.
5758--
58- -- Instances are usually created via @{subset_input .new}.
59+ -- Instances are usually created via @{SubsetInput .new}.
5960--
6061-- @type SubsetInput
6162
6667-- configure which glyphs and features are kept when subsetting a face.
6768--
6869-- @return `SubsetInput` object, or `nil` on failure.
69- -- @function subset_input .new
70+ -- @function SubsetInput .new
7071
7172
7273--- Wraps `hb_subset_input_unicode_set`.
You can’t perform that action at this time.
0 commit comments