I want to implement all the LaTeX code mentioned in Showcase TeX Typography for TUG's Calendar.
The implementation involves use of special fonts like Phaeton. I have installed it. But I don't get the same output as given. I get only the text rather than the image.
Here is the code which I have used (it's the same in the page given as well):
% save this document as example.tex
% compile this document with: xelatex -shell-escape example.tex
\documentclass{article}
% Needed to make sure your page dimensions
% are the same as that of the calendar.
\usepackage[landscape,a4paper,margin=0pt]{geometry}
\parindent=0pt
\usepackage[svgnames]{xcolor}
\usepackage{tikz}
\usepackage{microtype}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text]{Phaeton}
\def\swash#1{{\addfontfeatures{RawFeature=+swsh}#1}}
\def\nfrac#1{{\addfontfeatures{RawFeature=+frac}#1}}
\def\cword#1{{\addfontfeatures{RawFeature=+dlig}#1}}
\def\cwrdb#1{{\addfontfeatures{RawFeature={+dlig,+ss01}}#1}}
\def\baner#1{{\addfontfeatures{RawFeature=+ss02}#1}}
\def\orn{\char"E047\char"E048\hspace{-2pt}\raisebox{20.5pt}{\rotatebox{180}{\char"E047\char"E048}}\hspace{-2pt}}
\def\Orn{\orn\orn\orn\orn\orn\orn\orn\orn}
\def\ORn{\Orn\Orn\Orn\Orn\Orn\Orn\Orn\Orn}
\def\ORN{\ORn\ORn\ORn\ORn\ORn\ORn\Orn\Orn}
\definecolor{bgcolour}{gray}{0.9}
\pagestyle{empty}
\begin{document}
\null\vfill
\centering\begin{tikzpicture}
% Clipping
\clip (-0.5\textwidth+1cm,-0.5\textheight) rectangle (0.5\textwidth-1cm,0.5\textheight-2cm) ;
% Background.
\draw (0,0) node {\fontsize{48}{20.5}\selectfont\begin{minipage}{1.5\textwidth}\color{bgcolour}\ORN\ORN\end{minipage}} ;
% Logo.
\draw (0,0) node {\fontsize{120}{120}\selectfont\baner{6=======6}} ;
\draw (0,0) node {\fontsize{48}{48}\selectfont\TeX\ \cword{AND} Friends} ;
\draw (0,1.8) node {PROFESSOR DONALD KNUTH'S WORLD FAMOUS} ;
\draw (0,4.5) node {\fontsize{120}{120}\selectfont\char"E00E} ;
\draw (-4,4.5) node {\begin{minipage}{3cm}\fontsize{14}{16}\selectfont\centering\hrule\medskip\swash{\strut THE MOST POWERFUL\strut\ PROGRAM\strut}\medskip\hrule\end{minipage}} ;
\draw (4,4.5) node {\begin{minipage}{3cm}\fontsize{14}{16}\selectfont\centering\hrule\medskip\swash{\strut OF ITS KIND AVAILABLE\strut\ TODAY\strut}\medskip\hrule\end{minipage}} ;
\draw (0,-1.5) node {\fontsize{16}{16}\selectfont\swash{Available for all major operating systems.}} ;
\draw (0,-5) node {\begin{minipage}{13cm}\fontsize{16}{20}\selectfont\cword{with} SUPPORT \cword{for} UNICODE \cword{and} OPENTYPE FONTS, \TeX\ \cword{and} ITS DERIVATIVES ARE \cword{the} IDEAL SOLUTION \cword{for} ALL YOUR TWENTY-FIRST CENTURY TYPESETTING NEEDS. \cword{the} IN-BUILT MACRO LANGUAGE ALLOWS YOU TO CUSTOMISE IT TO YOUR NEEDS. \cword{with} AUTOMATIC INDEXING \cword{and} REFERENCING, \cword{and} UNPARALLELED MATHEMATICS SUPPORT, THERE'S NO REASON NOT TO SWITCH TODAY.\end{minipage}} ;
\draw (0,-9) node {\fontsize{120}{120}\selectfont\baner{1====1}} ;
\draw (0,-8.7) node {ESTABLISHED 1978} ;
\end{tikzpicture}\par
\vfill\null
\end{document}
I had to give to whole document as MWE because now , I don't know where the error is.I have compiled through command line and using TexMaker. And this is what I get the output as :