
% mono
\starttypescript [mono] [ibmplex-thin]
  \definefontsynonym [Mono]           [name:ibmplexmonothin]
  \definefontsynonym [MonoItalic]     [name:ibmplexmonothinitalic]
  \definefontsynonym [MonoBold]       [name:ibmplexmonotext]
  \definefontsynonym [MonoBoldItalic] [name:ibmplexmonotextitalic]
  \definefontsynonym [MonoSlanted]    [MonoItalic]
  \definefontsynonym [MonoBoldSlanted][MonoBoldItalic]
  \definefontsynonym [MonoCaps]       [Mono]
\stoptypescript

\starttypescript [mono] [ibmplex-extralight]
  \definefontsynonym [Mono]           [name:ibmplexmonoextralight]
  \definefontsynonym [MonoItalic]     [name:ibmplexmonoextralightitalic]
  \definefontsynonym [MonoBold]       [name:ibmplexmonomedium]
  \definefontsynonym [MonoBoldItalic] [name:ibmplexmonomediumitalic]
  \definefontsynonym [MonoSlanted]    [MonoItalic]
  \definefontsynonym [MonoBoldSlanted][MonoBoldItalic]
  \definefontsynonym [MonoCaps]       [Mono]
\stoptypescript

\starttypescript [mono] [ibmplex-light]
  \definefontsynonym [Mono]           [name:ibmplexmonolight]
  \definefontsynonym [MonoItalic]     [name:ibmplexmonolightitalic]
  \definefontsynonym [MonoBold]       [name:ibmplexmonosemibold]
  \definefontsynonym [MonoBoldItalic] [name:ibmplexmonosemibolditalic]
  \definefontsynonym [MonoSlanted]    [MonoItalic]
  \definefontsynonym [MonoBoldSlanted][MonoBoldItalic]
  \definefontsynonym [MonoCaps]       [Mono]
\stoptypescript

\starttypescript [mono] [ibmplex]
  \definefontsynonym [Mono]           [name:ibmplexmono]
  \definefontsynonym [MonoItalic]     [name:ibmplexmonoitalic]
  \definefontsynonym [MonoBold]       [name:ibmplexmonobold]
  \definefontsynonym [MonoBoldItalic] [name:ibmplexmonobolditalic]
  \definefontsynonym [MonoSlanted]    [MonoItalic]
  \definefontsynonym [MonoBoldSlanted][MonoBoldItalic]
  \definefontsynonym [MonoCaps]       [Mono]
\stoptypescript

% fallbacks
\definefontfallback
   [SansHebrewFallback]
   [SansHebrew] 
   [0x0590-0x05ff]   [check=yes,force=no]

\definefontfallback
   [SansHebrewBoldFallback]
   [SansHebrewBold] 
   [0x0590-0x05ff]   [check=yes,force=no]

% sans
\starttypescript [sans] [ibmplex-thin]
  \definefontsynonym [SansHebrew]          [name:ibmplexsanshebrewthin]      [features=hebrew]
  \definefontsynonym [SansHebrewBold]      [name:ibmplexsanshebrewtext]      [features=hebrew]

  \definefontsynonym [Sans]           [name:ibmplexsansthin] [features=default,fallbacks=SansHebrewFallback]
  \definefontsynonym [SansItalic]     [name:ibmplexsansthinitalic] [features=default,fallbacks=SansHebrewFallback]
  \definefontsynonym [SansBold]       [name:ibmplexsanstext] [features=default,fallbacks=SansHebrewBoldFallback]
  \definefontsynonym [SansBoldItalic] [name:ibmplexsanstextitalic] [features=default,fallbacks=SansHebrewBoldFallback]
  \definefontsynonym [SansSlanted]    [SansItalic]
  \definefontsynonym [SansBoldSlanted][SansBoldItalic]
  \definefontsynonym [SansCaps]       [Sans]
\stoptypescript

\starttypescript [sans] [ibmplex-extralight]
  \definefontsynonym [SansHebrew]          [name:ibmplexsanshebrewextralight]          [features=hebrew]
  \definefontsynonym [SansHebrewBold]      [name:ibmplexsanshebrewmedium]      [features=hebrew]

  \definefontsynonym [Sans]           [name:ibmplexsansextralight] [features=default,fallbacks=SansHebrewFallback]
  \definefontsynonym [SansItalic]     [name:ibmplexsansextralightitalic] [features=default,fallbacks=SansHebrewFallback]
  \definefontsynonym [SansBold]       [name:ibmplexsansmedium] [features=default,fallbacks=SansHebrewBoldFallback]
  \definefontsynonym [SansBoldItalic] [name:ibmplexsansmediumitalic] [features=default,fallbacks=SansHebrewBoldFallback]
  \definefontsynonym [SansSlanted]    [SansItalic]
  \definefontsynonym [SansBoldSlanted][SansBoldItalic]
  \definefontsynonym [SansCaps]       [Sans]
\stoptypescript

\starttypescript [sans] [ibmplex-light]
  \definefontsynonym [SansHebrew]          [name:ibmplexsanshebrewlight]          [features=hebrew]
  \definefontsynonym [SansHebrewBold]      [name:ibmplexsanshebrewsemibold]      [features=hebrew]

  \definefontsynonym [Sans]           [name:ibmplexsanslight] [features=default,fallbacks=SansHebrewFallback]
  \definefontsynonym [SansItalic]     [name:ibmplexsanslightitalic] [features=default,fallbacks=SansHebrewFallback]
  \definefontsynonym [SansBold]       [name:ibmplexsanssemibold] [features=default,fallbacks=SansHebrewBoldFallback]
  \definefontsynonym [SansBoldItalic] [name:ibmplexsanssemibolditalic] [features=default,fallbacks=SansHebrewBoldFallback]
  \definefontsynonym [SansSlanted]    [SansItalic]
  \definefontsynonym [SansBoldSlanted][SansBoldItalic]
  \definefontsynonym [SansCaps]       [Sans]
\stoptypescript

\starttypescript [sans] [ibmplex]
  \definefontsynonym [SansHebrew]          [name:ibmplexsanshebrew]          [features=hebrew]
  \definefontsynonym [SansHebrewBold]      [name:ibmplexsanshebrewbold]      [features=hebrew]

  \definefontsynonym [Sans]           [name:ibmplexsans]           [features=default,fallbacks=SansHebrewFallback]
  \definefontsynonym [SansItalic]     [name:ibmplexsansitalic]     [features=default,fallbacks=SansHebrewFallback]
  \definefontsynonym [SansBold]       [name:ibmplexsansbold]       [features=default,fallbacks=SansHebrewBoldFallback]
  \definefontsynonym [SansBoldItalic] [name:ibmplexsansbolditalic] [features=default,fallbacks=SansHebrewBoldFallback]
  \definefontsynonym [SansSlanted]    [SansItalic]
  \definefontsynonym [SansBoldSlanted][SansBoldItalic]
  \definefontsynonym [SansCaps]       [Sans]
\stoptypescript

% serif
\starttypescript [serif] [ibmplex-thin]
  \definefontsynonym [Serif]           [name:ibmplexserifthin] [features=default]
  \definefontsynonym [SerifItalic]     [name:ibmplexserifthinitalic] [features=default]
  \definefontsynonym [SerifBold]       [name:ibmplexseriftext] [features=default]
  \definefontsynonym [SerifBoldItalic] [name:ibmplexseriftextitalic] [features=default]
  \definefontsynonym [SerifSlanted]    [SerifItalic]
  \definefontsynonym [SerifBoldSlanted][SerifBoldItalic]
  \definefontsynonym [SerifCaps]       [Serif]
\stoptypescript

\starttypescript [serif] [ibmplex-extralight]
  \definefontsynonym [Serif]           [name:ibmplexserifextralight] [features=default]
  \definefontsynonym [SerifItalic]     [name:ibmplexserifextralightitalic] [features=default]
  \definefontsynonym [SerifBold]       [name:ibmplexserifmedium] [features=default]
  \definefontsynonym [SerifBoldItalic] [name:ibmplexserifmediumitalic] [features=default]
  \definefontsynonym [SerifSlanted]    [SerifItalic]
  \definefontsynonym [SerifBoldSlanted][SerifBoldItalic]
  \definefontsynonym [SerifCaps]       [Serif]
\stoptypescript

\starttypescript [serif] [ibmplex-light]
  \definefontsynonym [Serif]           [name:ibmplexseriflight] [features=default]
  \definefontsynonym [SerifItalic]     [name:ibmplexseriflightitalic] [features=default]
  \definefontsynonym [SerifBold]       [name:ibmplexserifsemibold] [features=default]
  \definefontsynonym [SerifBoldItalic] [name:ibmplexserifsemibolditalic] [features=default]
  \definefontsynonym [SerifSlanted]    [SerifItalic]
  \definefontsynonym [SerifBoldSlanted][SerifBoldItalic]
  \definefontsynonym [SerifCaps]       [Serif]
\stoptypescript

\starttypescript [serif] [ibmplex]
  \definefontsynonym [Serif]           [name:ibmplexserif] [features=default]
  \definefontsynonym [SerifItalic]     [name:ibmplexserifitalic] [features=default]
  \definefontsynonym [SerifBold]       [name:ibmplexserifbold] [features=default]
  \definefontsynonym [SerifBoldItalic] [name:ibmplexserifbolditalic] [features=default]
  \definefontsynonym [SerifSlanted]    [SerifItalic]
  \definefontsynonym [SerifBoldSlanted][SerifBoldItalic]
  \definefontsynonym [SerifCaps]       [Serif]
\stoptypescript

% typescripts

\starttypescript [ibmplex-thin,ibmplex-extralight,ibmplex-light,ibmplex]
 \definetypeface [\typescriptone] [tt] [mono] [\typescriptone] [default]
 \definetypeface [\typescriptone] [ss] [sans] [\typescriptone] [default]
 \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default]
\stoptypescript


% sans narrow
\starttypescript [sans] [ibmplexnarrow-thin]
  \definefontsynonym [SansHebrew]          [name:ibmplexsanshebrewthin]      [features=hebrew]
  \definefontsynonym [SansHebrewBold]      [name:ibmplexsanshebrewtext]      [features=hebrew]

  \definefontsynonym [Sans]           [name:ibmplexsanscondthin] [features=default,fallbacks=SansHebrewFallback]
  \definefontsynonym [SansItalic]     [name:ibmplexsanscondthinitalic] [features=default,fallbacks=SansHebrewFallback]
  \definefontsynonym [SansBold]       [name:ibmplexsanscondtext] [features=default,fallbacks=SansHebrewBoldFallback]
  \definefontsynonym [SansBoldItalic] [name:ibmplexsanscondtextitalic] [features=default,fallbacks=SansHebrewBoldFallback]
  \definefontsynonym [SansSlanted]    [SansItalic]
  \definefontsynonym [SansBoldSlanted][SansBoldItalic]
  \definefontsynonym [SansCaps]       [Sans]
\stoptypescript

\starttypescript [sans] [ibmplexnarrow-extralight]
  \definefontsynonym [SansHebrew]          [name:ibmplexsanshebrewextralight]      [features=hebrew]
  \definefontsynonym [SansHebrewBold]      [name:ibmplexsanshebrewmedium]      [features=hebrew]

  \definefontsynonym [Sans]           [name:ibmplexsanscondextralight] [features=default,fallbacks=SansHebrewFallback]
  \definefontsynonym [SansItalic]     [name:ibmplexsanscondextralightitalic] [features=default,fallbacks=SansHebrewFallback]
  \definefontsynonym [SansBold]       [name:ibmplexsanscondmedium] [features=default,fallbacks=SansHebrewBoldFallback]
  \definefontsynonym [SansBoldItalic] [name:ibmplexsanscondmediumitalic] [features=default,fallbacks=SansHebrewBoldFallback]
  \definefontsynonym [SansSlanted]    [SansItalic]
  \definefontsynonym [SansBoldSlanted][SansBoldItalic]
  \definefontsynonym [SansCaps]       [Sans]
\stoptypescript

\starttypescript [sans] [ibmplexnarrow-light]
  \definefontsynonym [SansHebrew]          [name:ibmplexsanshebrewlight]      [features=hebrew]
  \definefontsynonym [SansHebrewBold]      [name:ibmplexsanshebrewsemibold]   [features=hebrew]

  \definefontsynonym [Sans]           [name:ibmplexsanscondlight] [features=default,fallbacks=SansHebrewFallback]
  \definefontsynonym [SansItalic]     [name:ibmplexsanscondlightitalic] [features=default,fallbacks=SansHebrewFallback]
  \definefontsynonym [SansBold]       [name:ibmplexsanscondsemibold] [features=default,fallbacks=SansHebrewBoldFallback]
  \definefontsynonym [SansBoldItalic] [name:ibmplexsanscondsemibolditalic] [features=default,fallbacks=SansHebrewBoldFallback]
  \definefontsynonym [SansSlanted]    [SansItalic]
  \definefontsynonym [SansBoldSlanted][SansBoldItalic]
  \definefontsynonym [SansCaps]       [Sans]
\stoptypescript

\starttypescript [sans] [ibmplexnarrow]
  \definefontsynonym [SansHebrew]          [name:ibmplexsanshebrew]      [features=hebrew]
  \definefontsynonym [SansHebrewBold]      [name:ibmplexsanshebrewbold]   [features=hebrew]

  \definefontsynonym [Sans]           [name:ibmplexsanscond] [features=default,fallbacks=SansHebrewFallback]
  \definefontsynonym [SansItalic]     [name:ibmplexsansconditalic] [features=default,fallbacks=SansHebrewFallback]
  \definefontsynonym [SansBold]       [name:ibmplexsanscondbold] [features=default,fallbacks=SansHebrewBoldFallback]
  \definefontsynonym [SansBoldItalic] [name:ibmplexsanscondbolditalic] [features=default,fallbacks=SansHebrewBoldFallback]
  \definefontsynonym [SansSlanted]    [SansItalic]
  \definefontsynonym [SansBoldSlanted][SansBoldItalic]
  \definefontsynonym [SansCaps]       [Sans]
\stoptypescript

\starttypescript [ibmplexnarrow-thin]
 \definetypeface [\typescriptone] [tt] [mono]  [ibmplex-thin] [default]
 \definetypeface [\typescriptone] [ss] [sans]  [\typescriptone] [default]
 \definetypeface [\typescriptone] [rm] [serif] [ibmplex-thin] [default]
\stoptypescript

\starttypescript [ibmplexnarrow-light]
 \definetypeface [\typescriptone] [tt] [mono]  [ibmplex-light] [default]
 \definetypeface [\typescriptone] [ss] [sans]  [\typescriptone] [default]
 \definetypeface [\typescriptone] [rm] [serif] [ibmplex-light] [default]
\stoptypescript

\starttypescript [ibmplexnarrow-extralight]
 \definetypeface [\typescriptone] [tt] [mono]  [ibmplex-extralight] [default]
 \definetypeface [\typescriptone] [ss] [sans]  [\typescriptone] [default]
 \definetypeface [\typescriptone] [rm] [serif] [ibmplex-extralight] [default]
\stoptypescript

\starttypescript [ibmplexnarrow]
 \definetypeface [\typescriptone] [tt] [mono]  [ibmplex] [default]
 \definetypeface [\typescriptone] [ss] [sans]  [\typescriptone] [default]
 \definetypeface [\typescriptone] [rm] [serif] [ibmplex] [default]
\stoptypescript

%\usetypescript[ibmplex-thin,ibmplex-extralight,ibmplex-light,ibmplex]

%\usetypescript[ibmplexnarrow-thin,ibmplexnarrow-extralight,ibmplexnarrow-light,ibmplexnarrow]

