@@ -25,7 +25,7 @@ describe("harfbuzzsubset basic usage", function()
2525 end )
2626
2727 it (" creates a subset input object" , function ()
28- local input = hb_subset .subset_input .new ()
28+ local input = hb_subset .SubsetInput .new ()
2929 assert .truthy (input )
3030 -- minimal test of methods existing
3131 assert .is_function (input .keep_everything )
@@ -37,7 +37,7 @@ describe("harfbuzzsubset basic usage", function()
3737 local wght = hb .Tag .new (" wght" )
3838 local wdth = hb .Tag .new (" wdth" )
3939
40- local input = hb_subset .subset_input .new ()
40+ local input = hb_subset .SubsetInput .new ()
4141 input :pin_axis_location (face , wght , 100 )
4242 input :pin_axis_location (face , wdth , 100 )
4343 input :keep_everything ()
@@ -56,7 +56,7 @@ describe("harfbuzzsubset basic usage", function()
5656 local wght = hb .Tag .new (" wght" )
5757 local wdth = hb .Tag .new (" wdth" )
5858
59- local input = hb_subset .subset_input .new ()
59+ local input = hb_subset .SubsetInput .new ()
6060 input :pin_axis_location (face , wght , 100 )
6161 input :pin_axis_location (face , wdth , 100 )
6262 input :keep_everything ()
@@ -78,7 +78,7 @@ describe("harfbuzzsubset basic usage", function()
7878
7979 local wght = hb .Tag .new (" wght" )
8080 local wdth = hb .Tag .new (" wdth" )
81- local input = hb_subset .subset_input .new ()
81+ local input = hb_subset .SubsetInput .new ()
8282 input :pin_axis_location (face , wght , 100 )
8383 input :pin_axis_location (face , wdth , 100 )
8484 input :keep_everything ()
@@ -94,14 +94,14 @@ describe("harfbuzzsubset basic usage", function()
9494 local wght = hb .Tag .new (" wght" )
9595 local wdth = hb .Tag .new (" wdth" )
9696
97- local input1 = hb_subset .subset_input .new ()
97+ local input1 = hb_subset .SubsetInput .new ()
9898 input1 :pin_axis_location (face , wght , 100 )
9999 input1 :pin_axis_location (face , wdth , 100 )
100100 input1 :keep_everything ()
101101 local face_light = hb_subset .subset (face , input1 )
102102 local blob_light = face_light :blob ():get_data ()
103103
104- local input2 = hb_subset .subset_input .new ()
104+ local input2 = hb_subset .SubsetInput .new ()
105105 input2 :pin_axis_location (face , wght , 900 )
106106 input2 :pin_axis_location (face , wdth , 100 )
107107 input2 :keep_everything ()
@@ -121,7 +121,7 @@ describe("harfbuzzsubset basic usage", function()
121121 local face = hb .Face .new (font_path )
122122 local orig_glyphs = face :get_glyph_count ()
123123
124- local input = hb_subset .subset_input .new ()
124+ local input = hb_subset .SubsetInput .new ()
125125
126126 local uset = input :unicode_set ()
127127 uset :add (0x41 ) -- oder string.byte("A")
0 commit comments