#!@abs_top_builddir@/fontforgeexe/fontforge
#Needs: fonts/MinionPro-Regular.fea

# Check that detach glyph works
New()
MergeFeature("@abs_srcdir@/fonts/MinionPro-Regular.fea")
Generate("@abs_builddir@/results/Untitled2.otf")
Open("@abs_builddir@/results/Untitled2.otf")
if ( SizeOf(GetLookups("GSUB"))<=0 )
  Error("No lookups")
endif
Close()

New()
MergeFeature("@abs_srcdir@/fonts/ffMinionPro-Regular.fea")
Generate("@abs_builddir@/results/Untitled2.otf")
Open("@abs_builddir@/results/Untitled2.otf")
if ( SizeOf(GetLookups("GSUB"))<=0 )
  Error("No lookups")
endif
Close()
