%%
%% This is file `xdvipsk-support.sty',
%%
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\ProvidesPackage{xdvipsk-support}[2026/02/11 v1.0 tex support for xdvipsk (ST)]

\@ifundefined{declare@file@substitution}
    {\PackageWarningNoLine{xdvipsk}{%
     To activate `xdvipsk` graphics extensions\MessageBreak
     you need to load `xdvipsk.def`}
    }{\declare@file@substitution{dvips.def}{xdvipsk.def}}

\def\xdvipsk@activate@opentype@support{1}
\DeclareOption{noOpenType}{\def\xdvipsk@activate@opentype@support{0}}
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{xdvipskmaps}}
\ProcessOptions

\ifcase\xdvipsk@activate@opentype@support
\else
    \RequirePackage{xdvipskmaps}
    \directlua{xdvipskmaps.check_dvifont_driver()}
\fi

\endinput
%%
%% End of file `xdvipsk-support.sty'.
