% Generated KidLisp score card for $kl1
\documentclass[12pt]{article}
\usepackage[
  paperwidth=2.75in,
  paperheight=4.75in,
  top=0.3in,
  bottom=0.3in,
  left=0.3in,
  right=0.3in,
]{geometry}
\usepackage{fontspec}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{graphicx}

\pagestyle{empty}

\newfontfamily\cardcodefont[
  Path=fonts/,
  Extension=.ttf,
  UprightFont=ComicRelief-Regular,
  BoldFont=ComicRelief-Bold,
]{ComicRelief-Regular}
\newfontfamily\cardlabelfont[
  Path=fonts/,
  Extension=.ttf,
  UprightFont=ComicRelief-Bold,
  BoldFont=ComicRelief-Bold,
  FakeBold=1.8,
]{ComicRelief-Bold}

\definecolor{ink}{RGB}{0,0,0}
\newcommand{\safetyinset}{0.22in}
\newcommand{\safewidth}{2.31in}

\begin{document}

\vspace*{-0.26in}

\noindent\hspace*{-0.08in}%
\begin{tikzpicture}
  \clip (0,0) rectangle (\safewidth,\safewidth);
  \node[anchor=south west, inner sep=0pt] at (0,0)
    {\includegraphics[width=\safewidth, height=\safewidth]{kl1-screenshot.png}};
  \draw[black, line width=2.4pt] (0,0) rectangle (\safewidth,\safewidth);
\end{tikzpicture}\par

\vspace{0.03in}

\begingroup\offinterlineskip
\cardcodefont\bfseries\fontsize{9.5pt}{10.5pt}\selectfont\color{ink}
\noindent\hspace*{-0.08in}\begin{tabular}{@{}l@{}}
\rule{0pt}{11pt}black\\
\rule{0pt}{11pt}mask w/2 0 w/2 h, ink zebra\\
\rule{0pt}{11pt}box ? ? ?\\
\rule{0pt}{11pt}unmask\\
\rule{0pt}{11pt}scroll (? 0 -1 1) 10\\
\rule{0pt}{11pt}ink zebra, line, spin 3, burn\\
\rule{0pt}{11pt}zoom 0.1, scroll frame/10\\
\end{tabular}
\endgroup

\vspace*{\fill}

\begin{tikzpicture}[remember picture, overlay]
  \node[anchor=south east, inner sep=0pt]
    at ([xshift=-0.23in, yshift=0.75in]current page.south east)
    {\colorbox{black}{%
      \rule[-1pt]{0pt}{6.5pt}%
      \kern-1pt{\cardlabelfont\bfseries\fontsize{8pt}{8pt}\selectfont\color{white}\$kl1}\kern-0.5pt%
    }};
  \node[anchor=south east, inner sep=1pt, fill=black]
    at ([xshift=-\safetyinset, yshift=\safetyinset]current page.south east)
    {\rule{0.48in}{0.48in}};
  \node[anchor=south east, inner sep=1pt, fill=white]
    at ([xshift=-0.24in, yshift=0.24in]current page.south east)
    {\includegraphics[width=0.48in]{qr-kl1.png}};
\end{tikzpicture}

\end{document}
