The file is quite old, in comparison to the big developments on XeTeX and fontspec
that have been made in the last eight years.
Here's a fixed version that works well. Note that I'm on a Mac OS X machine, where Zapfino is provided along with the operating system. However, the font is not free, so you have to buy it in order to be able of exploiting its features.
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
% Dario Taraborelli (2008)
% The Beauty of LaTeX
% URL: http://nitens.org/taraborelli/latex
% Some rights reserved: CC-BY-SA
% (modified by egreg for TeX.StackExchange.com)
\documentclass[11pt]{article}
\usepackage{fontspec, graphicx}
\usepackage[usenames]{color}
\usepackage[
colorlinks,
breaklinks,
pdftitle={The Beauty of LaTeX},
pdfauthor={Taraborelli, Dario}
]{hyperref}
\definecolor{Gray}{rgb}{.7,.7,.7}
\definecolor{lightblue}{rgb}{.2,.5,1}
\newcommand{\red}{\color{red}}
\newcommand{\reda}{\color{red}\addfontfeatures{Variant=2}}
\newcommand{\redb}{\color{red}\addfontfeatures{Variant=3}}
\newcommand{\redc}{\color{red}\addfontfeatures{Variant=4}}
\newcommand{\redd}{\color{red}\addfontfeatures{Variant=5}}
\newcommand{\rede}{\color{red}\addfontfeatures{Variant=6}}
\newcommand{\redf}{\color{red}\addfontfeatures{Variant=7}}
\newcommand{\redg}{\color{red}\addfontfeatures{Variant=8}}
\newcommand{\lbl}{\color{lightblue}}
\newcommand{\lbla}{\color{lightblue}\addfontfeatures{Variant=2}}
\newcommand{\lblb}{\color{lightblue}\addfontfeatures{Variant=3}}
\newcommand{\lblc}{\color{lightblue}\addfontfeatures{Variant=4}}
\newcommand{\lbld}{\color{lightblue}\addfontfeatures{Variant=5}}
\newcommand{\lble}{\color{lightblue}\addfontfeatures{Variant=6}}
\newcommand{\lblf}{\color{lightblue}\addfontfeatures{Variant=7}}
\newcommand{\lblg}{\color{lightblue}\addfontfeatures{Variant=8}}
\setmainfont{Hoefler Text}
\newfontfamily{\zapfinofont}{Zapfino}[
Ligatures={Common, Rare},
Variant=1,
]
\begin{document}
\begin{center}
\fontsize{25pt}{30pt}\zapfinofont
{\red d}roo{\lbl g}\hfill{\reda d}roo{\lbla g}
{\redb d}roo{\lblb g}\hfill{\redf d}roo{\lblf g}
{\redc d}roo{\lblc g}\hfill{\redd d}roo{\lbld g}
{\rede d}roo{\lble g}\hfill{\redg d}roo{\lblg g}
\end{center}
\vfill
\begin{flushright}
D. Taraborelli (2008),
\href{http://nitens.org/taraborelli/latex}{The Beauty of \LaTeX}\\
\emph{Some rights reserved}.
\href{http://creativecommons.org/licenses/by-sa/3.0/}{\textsc{cc-by-sa}}
\end{flushright}
\end{document}
/usr/share/fonts
on Linux systems. Then XeLaTeX should find them. Also make sure your document is encoded UTF-8 and don't loadinputenc
orfontenc
but usefontspec
.