I've successfully downloaded and installed Hoekwater's "cow fonts" so that I can use them with pdflatex — see sample document below. In particular, I'd like brown cows!
But how can one get the colored-cow fonts (or the sheep fonts) with pdflatex? (The TUGboat article [vol. 37 (2016), no. 3, pp. 306-310] "Cowfont (koeieletters) update" by Taco Hoekwater and Hans Hagen shows how to do this with ConTeXt only.
\documentclass[extrafontsizes,48pt]{memoir}
\usepackage[T1]{fontenc}
\DeclareFontFamily{T1}{CowFont}{}
\DeclareFontShape{T1}{CowFont}{m}{n}{<-> koeieletters}{}
\begin{document}
\usefont{T1}{CowFont}{m}{n}
Moo!
\end{document}
From the Hoekwater & Hagen TUGboat article
Here's some of the code from the article that, in ConTeXt, is supposed to produce colored cows (or sheep):
\definecolor[cowred] [r=.50]
\definecolor[cowgreen] [g= . 50]
\definecolor[cowblue] [b=.50]
\definecolor[cowyellow] [y=.25]
\definefontcolorpalette[cows]
[cowgreen,cowyellow,cowblue,cowred]
\adaptfontfeature[sheepcolored] [colr=cows]
\usetypescript[all] [cowsotf]
\definefontcolorpalette[cows-1] cowyellow,cowblue,cowred]
\definefontcolorpalette[cows-2] [cowred, cowyellow,cowblue,cowgreen]
\definefontcolorpalette[cows-3] [cowgreen, cowyellow,cowred,cowblue]
\definefontfeature[cows-1] [cowscolored] [colr=cows-1]
\definefontfeature[cows-2] [cowscolored] [colr=cows-2]
\definefontfeature[cows-3] [cowscolored] [colr=cows-3]
\definedfont[Cows*cows-1 at 30pt] red\quad
\definedfont[Cows*cows-2 at 30 pt] green\quad
\definedfont[Cows*cows-3 at 30pt] blue
The output is supposed to be:
I do not know ConTeXt. And the article does not sufficiently distinguish [at least for me) between what is in the package(s) involved, on the one hand, and what goes into the user's document, on the other hand — a fault all too common in TeX documentation!]. So I don't know which part of the preceding code has to go in the actual document, nor what other code has to be included so as to make working ConTeXt document.
And then, just to confuse things totally (for me), at the very end of the article it says the following.
"To make a quick start with these fonts, you can use one of:
\setupbodyfont[koeieletters]
\setupbodyfont[cows]
\setupbodyfont[coloredcows]
\setupbodyfont[sheep]
\setupbodyfont[coloredsheep]
where the koeieletters variant equals sheep."
\textcolor
is what the Hoekwater & Hagen TUGboat article would indicate: that makes the entire cow -- outline and spots -- red. The article seems to indicate there's an entirely different font that, with ConTeXt, is loaded by\setupbodyfont[coloredcows]
; and there are also separatesheep
andcoloredsheep
fonts, loaded similarly.fontspec
but I would question even @DavidCarlisle asserting that it should be 'easy enough' to translate into LaTeX, if that means pdfLaTeX, as the question asks. Maybe you could layer it, but that would not be a simple translation, as I understand it. (I don't recall the details, but the article was definitely make-the-most-of-new-features and that's not likely to be easy to do with traditional fonts, else they wouldn't be new.