%---------- fallbacks ----------%

\startsetups[font:optical:sans:fallback]
	\definefontsynonym[Sans]							[SansRegular-Regular]
	\definefontsynonym[SansBold]						[SansRegular-Bold]
	\definefontsynonym[SansItalic]						[SansRegular-Italic]
	\definefontsynonym[SansSlanted]						[SansRegular-Slanted]
	\definefontsynonym[SansBoldItalic]					[SansRegular-BoldItalic]
	\definefontsynonym[SansBoldSlanted]					[SansRegular-BoldSlanted]
	\definefontsynonym[SansCaps]						[SansRegular-CapsRegular]
	\definefontsynonym[SansCapsItalic]					[SansRegular-CapsItalic]
	\definefontsynonym[SansCapsSlanted]					[SansRegular-CapsSlanted]
	\definefontsynonym[SansCapsBold]					[SansRegular-CapsBold]
	\definefontsynonym[SansCapsBoldItalic]				[SansRegular-CapsBoldItalic]
	\definefontsynonym[SansCapsBoldSlanted]				[SansRegular-CapsBoldSlanted]

	\definefontsynonym[SansCaption-Light]	 			[SansCaption-Regular]
	\definefontsynonym[SansCaption-Regular] 			[SansRegular-Regular]
	\definefontsynonym[SansCaption-Medium] 				[SansRegular-Bold]
	\definefontsynonym[SansCaption-SemiBold]			[SansCaption-Bold]
	\definefontsynonym[SansCaption-Bold]				[SansCaption-Regular]
	\definefontsynonym[SansCaption-Black]				[SansCaption-Bold]
	\definefontsynonym[SansCaption-LightItalic]			[SansCaption-Italic]
	\definefontsynonym[SansCaption-LightSlanted]		[SansCaption-Italic]
	\definefontsynonym[SansCaption-Italic]				[SansCaption-Regular]
	\definefontsynonym[SansCaption-Slanted]				[SansCaption-Italic]
	\definefontsynonym[SansCaption-MediumItalic]		[SansCaption-BoldItalic]
	\definefontsynonym[SansCaption-MediumSlanted]		[SansCaption-BoldItalic]
	\definefontsynonym[SansCaption-SemiBoldItalic]		[SansCaption-BoldItalic]
	\definefontsynonym[SansCaption-SemiBoldSlanted]		[SansCaption-BoldItalic]
	\definefontsynonym[SansCaption-BoldItalic]			[SansCaption-Italic]
	\definefontsynonym[SansCaption-BoldSlanted]			[SansCaption-Italic]
	\definefontsynonym[SansCaption-BlackItalic]			[SansCaption-BoldItalic]
	\definefontsynonym[SansCaption-BlackSlanted]		[SansCaption-BoldItalic]
	\definefontsynonym[SansCaption-Caps]				[SansCaption-Regular]

	\definefontsynonym[SansRegular-Light]				[SansRegular-Regular]
	\definefontsynonym[SansRegular-Regular]				[DefaultFont]
	\definefontsynonym[SansRegular-Medium]				[SansRegular-Bold]
	\definefontsynonym[SansRegular-SemiBold]			[SansRegular-Bold]
	\definefontsynonym[SansRegular-Bold]				[SansRegular-Regular]
	\definefontsynonym[SansRegular-Black]				[SansRegular-Bold]
	\definefontsynonym[SansRegular-LightItalic]			[SansRegular-Italic]
	\definefontsynonym[SansRegular-LightSlanted]		[SansRegular-Italic]
	\definefontsynonym[SansRegular-Italic]				[SansRegular-Regular]
	\definefontsynonym[SansRegular-Slanted]				[SansRegular-Italic]
	\definefontsynonym[SansRegular-MediumItalic]		[SansRegular-BoldItalic]
	\definefontsynonym[SansRegular-MediumSlanted]		[SansRegular-BoldItalic]
	\definefontsynonym[SansRegular-SemiBoldItalic]		[SansRegular-BoldItalic]
	\definefontsynonym[SansRegular-SemiBoldSlaned]		[SansRegular-BoldItalic]
	\definefontsynonym[SansRegular-BoldItalic]			[SansRegular-Italic]
	\definefontsynonym[SansRegular-BoldSlanted]			[SansRegular-Italic]
	\definefontsynonym[SansRegular-BlackItalic]			[SansRegular-BoldItalic]
	\definefontsynonym[SansRegular-BlackSlanted]		[SansRegular-BoldItalic]
	\definefontsynonym[SansRegular-Caps]				[SansRegular-Regular]

	\definefontsynonym[SansSubhead-Light]				[SansSubhead-Regular]       
	\definefontsynonym[SansSubhead-Regular]				[SansRegular-Regular]
	\definefontsynonym[SansSubhead-Medium]				[SansRegular-Bold]
	\definefontsynonym[SansSubhead-SemiBold]			[SansSubhead-Bold]
	\definefontsynonym[SansSubhead-Bold]				[SansSubhead-Regular]
	\definefontsynonym[SansSubhead-Black]				[SansSubhead-Bold]
	\definefontsynonym[SansSubhead-LightItalic]			[SansSubhead-Italic]
	\definefontsynonym[SansSubhead-LightSlanted]		[SansSubhead-Italic]
	\definefontsynonym[SansSubhead-Italic]				[SansSubhead-Regular]
	\definefontsynonym[SansSubhead-Slanted]				[SansSubhead-Italic]
	\definefontsynonym[SansSubhead-MediumItalic]		[SansSubhead-BoldItalic]
	\definefontsynonym[SansSubhead-MediumSlanted]		[SansSubhead-BoldItalic]
	\definefontsynonym[SansSubhead-SemiBoldItalic]		[SansSubhead-BoldItalic]
	\definefontsynonym[SansSubhead-SemiBoldSlanted]		[SansSubhead-BoldItalic]
	\definefontsynonym[SansSubhead-BoldItalic]			[SansSubhead-Italic]
	\definefontsynonym[SansSubhead-BoldSlanted]			[SansSubhead-Italic]
	\definefontsynonym[SansSubhead-BlackItalic]			[SansSubhead-BoldItalic]
	\definefontsynonym[SansSubhead-BlackSlanted]		[SansSubhead-BoldItalic]
	\definefontsynonym[SansSubhead-Caps]				[SansSubhead-Regular]

	\definefontsynonym[SansDisplay-Light]				[SansDisplay-Regular]
	\definefontsynonym[SansDisplay-Regular]				[SansRegular-Regular]
	\definefontsynonym[SansDisplay-Medium]				[SansRegular-Bold]
	\definefontsynonym[SansDisplay-SemiBold]			[SansDisplay-Bold]
	\definefontsynonym[SansDisplay-Bold]				[SansDisplay-Regular]
	\definefontsynonym[SansDisplay-Black]				[SansDisplay-Bold]
	\definefontsynonym[SansDisplay-LightItalic]			[SansDisplay-Italic]
	\definefontsynonym[SansDisplay-LightSlanted]		[SansDisplay-Italic]
	\definefontsynonym[SansDisplay-Italic]				[SansDisplay-Regular]
	\definefontsynonym[SansDisplay-Slanted]				[SansDisplay-Italic]
	\definefontsynonym[SansDisplay-MediumItalic]		[SansDisplay-BoldItalic]
	\definefontsynonym[SansDisplay-MediumSlanted]		[SansDisplay-BoldItalic]
	\definefontsynonym[SansDisplay-SemiBoldItalic]		[SansDisplay-BoldItalic]
	\definefontsynonym[SansDisplay-SemiBoldSlanted]		[SansDisplay-BoldItalic]
	\definefontsynonym[SansDisplay-BoldItalic]			[SansDisplay-Italic]
	\definefontsynonym[SansDisplay-BoldSlanted]			[SansDisplay-Italic]
	\definefontsynonym[SansDisplay-BlackItalic]			[SansDisplay-BoldItalic]
	\definefontsynonym[SansDisplay-BlackSlanted]		[SansDisplay-BoldItalic]
	\definefontsynonym[SansDisplay-Caps]				[SansDisplay-Regular]
\stopsetups


%-------------------- CronosPro --------------------%
\starttypescript[sans][cronos][name]
	\setups[font:optical:sans:fallback]

	\definefontsynonym[SansCaption-Light]			[file:CronosPro-LtCapt]			[features=default]
	\definefontsynonym[SansCaption-Regular]			[file:CronosPro-Capt]			[features=default]
	\definefontsynonym[SansCaption-SemiBold]		[file:CronosPro-SemiboldCapt]	[features=default]
	\definefontsynonym[SansCaption-Bold]			[file:CronosPro-BoldCapt]		[features=default]
	\definefontsynonym[SansCaption-LightItalic]		[file:CronosPro-LtCaptIt]		[features=default]
	\definefontsynonym[SansCaption-Italic]			[file:CronosPro-CaptIt]			[features=default]
	\definefontsynonym[SansCaption-SemiBoldItalic]	[file:CronosPro-SemiboldCaptIt]	[features=default]
	\definefontsynonym[SansCaption-BoldItalic]		[file:CronosPro-BoldCaptIt] 	[features=default]

	\definefontsynonym[SansRegular-Light]			[file:CronosPro-Lt]				[features=default]
	\definefontsynonym[SansRegular-Regular]			[file:CronosPro-Regular]		[features=default]
	\definefontsynonym[SansRegular-SemiBold]		[file:CronosPro-Semibold]		[features=default]
	\definefontsynonym[SansRegular-Bold]			[file:CronosPro-Bold]			[features=default]
	\definefontsynonym[SansRegular-LightItalic]		[file:CronosPro-LtIt]			[features=default]
	\definefontsynonym[SansRegular-Italic]			[file:CronosPro-Italic]			[features=default]
	\definefontsynonym[SansRegular-SemiBoldItalic]	[file:CronosPro-SemiboldIt]		[features=default]
	\definefontsynonym[SansRegular-BoldItalic]		[file:CronosPro-BoldIt]			[features=default]

	\definefontsynonym[SansSubhead-Light]			[file:CronosPro-LtSubh]			[features=default]
	\definefontsynonym[SansSubhead-Regular]			[file:CronosPro-Subh]			[features=default]
	%\definefontsynonym[SansSubhead-SemiBold]		[file:CronosPro-SemiboldSubh]	[features=default]
	\definefontsynonym[SansSubhead-Bold]			[file:CronosPro-BoldSubh]		[features=default]
	\definefontsynonym[SansSubhead-LightItalic]		[file:CronosPro-LtSubhIt]		[features=default]
	\definefontsynonym[SansSubhead-Italic]			[file:CronosPro-SubhIt]			[features=default]
	\definefontsynonym[SansSubhead-SemiBoldItalic]	[file:CronosPro-SemiboldSubhIt]	[features=default]
	\definefontsynonym[SansSubhead-BoldItalic]		[file:CronosPro-BoldSubhIt]		[features=default]

	\definefontsynonym[SansDisplay-Light]			[file:CronosPro-LtDisp]			[features=default]
	\definefontsynonym[SansDisplay-Regular]			[file:CronosPro-Disp]			[features=default]
	\definefontsynonym[SansDisplay-SemiBold]		[file:CronosPro-SemiboldDisp]	[features=default]
	\definefontsynonym[SansDisplay-Bold]			[file:CronosPro-BoldDisp]		[features=default]
	\definefontsynonym[SansDisplay-LightItalic]		[file:CronosPro-LtDispIt]		[features=default]
	\definefontsynonym[SansDisplay-Italic]			[file:CronosPro-DispIt]			[features=default]
	\definefontsynonym[SansDisplay-SemiBoldItalic]	[file:CronosPro-SemiboldDispIt]	[features=default]
	\definefontsynonym[SansDisplay-BoldItalic]		[file:CronosPro-BoldDispIt]		[features=default]
\stoptypescript

%-------------------- GaramondPro --------------------%
\starttypescript [serif] [garamond] [name]

	\definefontsynonym[SerifCaption-Regular]		[file:GaramondPremrPro-Capt]		[features=default]
	\definefontsynonym[SerifCaption-Medium]			[file:GaramondPremrPro-MedCapt]		[features=default]
	\definefontsynonym[SerifCaption-SemiBold]		[file:GaramondPremrPro-SmBdCapt]	[features=default]
	\definefontsynonym[SerifCaption-Bold]			[file:GaramondPremrPro-BdCapt]		[features=default]
	\definefontsynonym[SerifCaption-Italic]			[file:GaramondPremrPro-ItCapt]		[features=default]
	\definefontsynonym[SerifCaption-MediumItalic]	[file:GaramondPremrPro-MedItCapt]	[features=default]
	\definefontsynonym[SerifCaption-SemiBoldItalic]	[file:GaramondPremrPro-SmBdItCapt]	[features=default]
	\definefontsynonym[SerifCaption-BoldItalic]		[file:GaramondPremrPro-BdItCapt] 	[features=default]
	                                                
	\definefontsynonym[SerifRegular-Regular]		[file:GaramondPremrPro]				[features=default]
	\definefontsynonym[SerifRegular-Medium]			[file:GaramondPremrPro-Med]			[features=default]
	\definefontsynonym[SerifRegular-SemiBold]		[file:GaramondPremrPro-SmBd]		[features=default]
	\definefontsynonym[SerifRegular-Bold]			[file:GaramondPremrPro-Bd]			[features=default]
	\definefontsynonym[SerifRegular-Italic]			[file:GaramondPremrPro-It]			[features=default]
	\definefontsynonym[SerifRegular-MediumItalic]	[file:GaramondPremrPro-MedIt]		[features=default]
	\definefontsynonym[SerifRegular-SemiBoldItalic]	[file:GaramondPremrPro-SmBdIt]		[features=default]
	\definefontsynonym[SerifRegular-BoldItalic]		[file:GaramondPremrPro-BdIt]		[features=default]
	                                                
	\definefontsynonym[SerifSubhead-Regular]		[file:GaramondPremrPro-Subh]		[features=default]
	\definefontsynonym[SerifSubhead-Medium]			[file:GaramondPremrPro-MedSubh]		[features=default]
	\definefontsynonym[SerifSubhead-SemiBold]		[file:GaramondPremrPro-SmBdSubh]	[features=default]
	\definefontsynonym[SerifSubhead-Bold]			[file:GaramondPremrPro-BdSubh]		[features=default]
	\definefontsynonym[SerifSubhead-Italic]			[file:GaramondPremrPro-ItSubh]		[features=default]
	\definefontsynonym[SerifSubhead-MediumItalic]	[file:GaramondPremrPro-MedItSubh]	[features=default]
	\definefontsynonym[SerifSubhead-SemiBoldItalic]	[file:GaramondPremrPro-SmBdItSubh]	[features=default]
	\definefontsynonym[SerifSubhead-BoldItalic]		[file:GaramondPremrPro-BdItSubh]	[features=default]
                                                    
	\definefontsynonym[SerifDisplay-Light]			[file:GaramondPremrPro-LtDisp]		[features=default]
	\definefontsynonym[SerifDisplay-Regular]		[file:GaramondPremrPro-Disp]		[features=default]
	\definefontsynonym[SerifDisplay-Medium]			[file:GaramondPremrPro-MedDisp]		[features=default]
	\definefontsynonym[SerifDisplay-SemiBold]		[file:GaramondPremrPro-SmBdDisp]	[features=default]
	\definefontsynonym[SerifDisplay-Bold]			[file:GaramondPremrPro-BdDisp]		[features=default]
	\definefontsynonym[SerifDisplay-LightItalic]	[file:GaramondPremrPro-LtItDisp]	[features=default]
	\definefontsynonym[SerifDisplay-Italic]			[file:GaramondPremrPro-ItDisp]		[features=default]
	\definefontsynonym[SerifDisplay-MediumItalic]	[file:GaramondPremrPro-MedItDisp]	[features=default]
	\definefontsynonym[SerifDisplay-SemiBoldItalic]	[file:GaramondPremrPro-SmBdItDisp]	[features=default]
	\definefontsynonym[SerifDisplay-BoldItalic]		[file:GaramondPremrPro-BdItDisp]	[features=default]
\stoptypescript


%-------------------- Optical Bodyfonts --------------------%

\starttypescript [serif] [optical:regular] [size]
	\definebodyfont [4pt,5pt,6pt,7pt,8pt,9pt] [rm]
		[tf=SerifCaption-Regular						sa 1,
		 bf=SerifCaption-Bold							sa 1,
		 sl=SerifCaption-Slanted						sa 1,
		 it=SerifCaption-Italic							sa 1,
		 bs=SerifCaption-BoldSlanted					sa 1,
		 bi=SerifCaption-BoldItalic						sa 1,
		 sc=SerifCaption-Regular*smallcaps				sa 1]

	\definebodyfont [10pt,11pt,12pt,13pt] [rm]
		[tf=SerifRegular-Regular						sa 1,
		 bf=SerifRegular-Bold							sa 1,
		 sl=SerifRegular-Slanted						sa 1,
		 it=SerifRegular-Italic							sa 1,
		 bs=SerifRegular-BoldSlanted					sa 1,
		 bi=SerifRegular-BoldItalic						sa 1,
		 sc=SerifRegular-Regular*smallcaps				sa 1]

	\definebodyfont [14pt,14.4pt,15pt,16pt,17pt,17.3pt,18pt,20pt] [rm]
		[tf=SerifSubhead-Regular						sa 1,
		 bf=SerifSubhead-Bold							sa 1,
		 sl=SerifSubhead-Slanted						sa 1,
		 it=SerifSubhead-Italic							sa 1,
		 bs=SerifSubhead-BoldSlanted					sa 1,
		 bi=SerifSubhead-BoldItalic						sa 1,
		 sc=SerifSubhead-Regular*smallcaps				sa 1]

	\definebodyfont [20.7pt,22pt,24pt,26pt,28pt,30pt,32pt,34pt,36pt,38pt,40pt,42pt] [rm]
		[tf=SerifDisplay-Regular						sa 1,
		 bf=SerifDisplay-Bold							sa 1,
		 sl=SerifDisplay-Slanted						sa 1,
		 it=SerifDisplay-Italic							sa 1,
		 bs=SerifDisplay-BoldSlanted					sa 1,
		 bi=SerifDisplay-BoldItalic						sa 1,
		 sc=SerifDisplay-Regular*smallcaps				sa 1]
\stoptypescript

\starttypescript [sans] [optical:regular] [size]
	\definebodyfont [4pt,5pt,6pt,7pt,8pt,9pt] [ss]
		[tf=SansCaption-Regular							sa 1,
		 bf=SansCaption-SemiBold							sa 1,
		 sl=SansCaption-Slanted							sa 1,
		 it=SansCaption-Italic							sa 1,
		 bs=SansCaption-SemiBoldSlanted						sa 1,
		 bi=SansCaption-SemiBoldItalic						sa 1,
		 sc=SansCaption-Regular*smallcaps				sa 1]

	\definebodyfont [10pt,11pt,12pt,13pt] [ss]
		[tf=SansRegular-Regular							sa 1,
		 bf=SansRegular-SemiBold							sa 1,
		 sl=SansRegular-Slanted							sa 1,
		 it=SansRegular-Italic							sa 1,
		 bs=SansRegular-SemiBoldSlanted						sa 1,
		 bi=SansRegular-SemiBoldItalic						sa 1,
		 sc=SansRegular-Regular*smallcaps				sa 1]

	\definebodyfont [14pt,14.4pt,15pt,16pt,17pt,17.3pt,18pt,20pt] [ss]
		[tf=SansSubhead-Regular							sa 1,
		 bf=SansSubhead-SemiBold							sa 1,
		 sl=SansSubhead-Slanted							sa 1,
		 it=SansSubhead-Italic							sa 1,
		 bs=SansSubhead-SemiBoldSlanted						sa 1,
		 bi=SansSubhead-SemiBoldItalic						sa 1,
		 sc=SansSubhead-Regular*smallcaps				sa 1]

	\definebodyfont [20.7pt,22pt,24pt,26pt,28pt,30pt,32pt,34pt,36pt,38pt,40pt,42pt] [ss]
		[tf=SansDisplay-Regular							sa 1,
		 bf=SansDisplay-SemiBold							sa 1,
		 sl=SansDisplay-Slanted							sa 1,
		 it=SansDisplay-Italic							sa 1,
		 bs=SansDisplay-SemiBoldSlanted						sa 1,
		 bi=SansDisplay-SemiBoldItalic						sa 1,
		 sc=SansDisplay-Regular*smallcaps				sa 1]
\stoptypescript

\starttypescript [GaramondProCronosPro, CronosProGaramondPro, GaramondCronos, CronosGaramond]
	\definetypeface [\typescriptone] [rm] [serif] [garamond]		[optical:regular]		[rscale=1.08]
	\definetypeface [\typescriptone] [ss] [sans]  [cronos]			[optical:regular]
\stoptypescript