Skip to content

Commit 3d64a18

Browse files
committed
Minor doc fixes
1 parent 1e27db0 commit 3d64a18

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/harfbuzz-subset.luadoc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@
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")
@@ -55,7 +56,7 @@
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

@@ -66,7 +67,7 @@
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`.

0 commit comments

Comments
 (0)