% Copyright 2019 by Till Tantau
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Free Documentation License.
%
% See the file doc/generic/pgf/licenses/LICENSE for more details.


\usepackage[hyphens]{url}
\makeatletter
\g@addto@macro\selectfont{%
  \long\edef\longf@family{\f@family}%
  \ifx\longf@family\ttdefault
    \ignoreligaturesinfont\font\relax
  \fi
}
\makeatother

% Just make sure to compile this using lualatex.
