I was playing around with the PF Goudy Pro Initials font on LaTeX, having recently purchased it. This font is a layered initials font, in which six iterations of the same character, typeset in six different "faces" (in fact, layers), can be stacked atop one another to form a nice initial. The
documentation for the font has more information on how this process works.
I used \llap
to "stack" these glyphs, and it has worked excellently for every character I've tried (all of Latin A-Z, as well as several Greek and Cyrillic characters) except the Latin letter C, and the Cyrillic letter С. In this case, not only have the fifth and sixth layers been misaligned, but characters next to these glyphs also have alignment issues.
It seems apparent that these alignment issues have something to do with
\llap
, but I don't know why specifically for C and its homoglyphs.
My first thought, naturally, was that there was a defect in the font itself. However, when I "stacked" the layers of C in Adobe Illustrator, and in Adobe InDesign,, the result came out perfectly, with all the layers aligning as intended. Thus, it seems that the issue is not with a defective character.
My MWE is below (I renamed the fonts so I could call them more easily; the native names are not PFx):
\documentclass[12pt]{article}
\usepackage{fontspec}
\newfontface\firstlayer{PF1.otf}[Scale=10]
\newfontface\secondlayer{PF2.otf}[Scale=10]
\newfontface\thirdlayer{PF3.otf}[Scale=10]
\newfontface\fourthlayer{PF4.otf}[Scale=10]
\newfontface\fifthlayer{PF5.otf}[Scale=10]
\newfontface\sixthlayer{PF6.otf}[Scale=10]
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
\newlength\tindent
\setlength{\tindent}{\parindent}
\setlength{\parindent}{0pt}
\renewcommand{\indent}{\hspace*{\tindent}}
\newcommand{\initialmaker}[1]{\firstlayer{#1}\llap{\textcolor{Goldenrod}{\secondlayer{#1}}}\llap{\textcolor{blue}{\thirdlayer{#1}}}\llap{\textcolor{Goldenrod}{\fourthlayer{#1}}}\llap{\textcolor{Goldenrod}{\fifthlayer{#1}}}\llap{\textcolor{Goldenrod}{\sixthlayer{#1}}}}
\begin{document}
\initialmaker{C}
\initialmaker{ABCBA}
\initialmaker{DEF}
\end{document}
xetex
andluatex
. This is one font purchase I regret: shortly after I bought it, P22 released its new digitization of the Goudy Initials (p22.com/family-Goudy_Initials), and although P22’s version has fewer layers, it has as many layers as I’d use, and they’re much better drawn. – Thérèse Jun 1 '17 at 20:07