diff --git a/python/afdko/buildcff2vf.py b/python/afdko/buildcff2vf.py
index 70c49b1ca..fc4e5c697 100644
--- a/python/afdko/buildcff2vf.py
+++ b/python/afdko/buildcff2vf.py
@@ -77,7 +77,7 @@ def getSubset(subset_Path):
def subset_masters(designspace, subsetDict):
from fontTools import subset
- subset_options = subset.Options(notdef_outline=True)
+ subset_options = subset.Options(notdef_outline=True, layout_features='*')
for ds_source in designspace.sources:
key = tuple(ds_source.location.items())
included = set(subsetDict[key])
diff --git a/tests/buildcff2vf_data/expected_output/bug817.ttx b/tests/buildcff2vf_data/expected_output/bug817.ttx
new file mode 100644
index 000000000..45460906f
--- /dev/null
+++ b/tests/buildcff2vf_data/expected_output/bug817.ttx
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/buildcff2vf_data/input/bug817/bug817.designspace b/tests/buildcff2vf_data/input/bug817/bug817.designspace
new file mode 100644
index 000000000..855ad9e3f
--- /dev/null
+++ b/tests/buildcff2vf_data/input/bug817/bug817.designspace
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/buildcff2vf_data/input/bug817/bug817.subset b/tests/buildcff2vf_data/input/bug817/bug817.subset
new file mode 100644
index 000000000..5b912554d
--- /dev/null
+++ b/tests/buildcff2vf_data/input/bug817/bug817.subset
@@ -0,0 +1,7 @@
+((('weight',0.0),), (('weight', 368.0),),)
+.notdef
+A
+T
+((('weight',1000.0),),)
+.notdef
+A
\ No newline at end of file
diff --git a/tests/buildcff2vf_data/input/bug817/source_fonts/SourceCode_Black.otf b/tests/buildcff2vf_data/input/bug817/source_fonts/SourceCode_Black.otf
new file mode 100644
index 000000000..019cfee60
Binary files /dev/null and b/tests/buildcff2vf_data/input/bug817/source_fonts/SourceCode_Black.otf differ
diff --git a/tests/buildcff2vf_data/input/bug817/source_fonts/SourceCode_ExtraLight.otf b/tests/buildcff2vf_data/input/bug817/source_fonts/SourceCode_ExtraLight.otf
new file mode 100644
index 000000000..5122d55ff
Binary files /dev/null and b/tests/buildcff2vf_data/input/bug817/source_fonts/SourceCode_ExtraLight.otf differ
diff --git a/tests/buildcff2vf_data/input/bug817/source_fonts/SourceCode_Regular.otf b/tests/buildcff2vf_data/input/bug817/source_fonts/SourceCode_Regular.otf
new file mode 100644
index 000000000..a64e385c9
Binary files /dev/null and b/tests/buildcff2vf_data/input/bug817/source_fonts/SourceCode_Regular.otf differ
diff --git a/tests/buildcff2vf_test.py b/tests/buildcff2vf_test.py
index 6273e3601..bbb4f440f 100644
--- a/tests/buildcff2vf_test.py
+++ b/tests/buildcff2vf_test.py
@@ -71,3 +71,18 @@ def test_compatibility_vf():
['CFF2', ])
expected_ttx = get_expected_path('bug816.ttx')
assert differ([expected_ttx, actual_ttx, '-s', '