4.44 How to hand written fonts and other fonts using xelatex?

This file can only be compiled by xelatex of lualatex

\documentclass{article} 
\usepackage[no-math]{fontspec} 
 
 
\setmainfont[ 
  Ligatures=TeX, 
]{Architect} 
 
 
\begin{document} 
  This is some TEXT. 
\end{document}
 

Then compile using xelatex foo.tex. The fonts used above, called Architect was downloaded from http://www.911fonts.com/font/download_StylusITCTTRegular_66.htm

See using-handwriting-font-in-proofs for more information.

Some fonts utilities on linux

    kcharselect 
    gfontsel 
    xfontsel 
    xlsfonts 
    chkfontpath 
    fslsfonts
 

It seems on Linux one needs to just create $HOME/.fonts/ folder and put the .tff files there.

For example, I downloaded zip file from the above, extracted it, and copied one .tff file to

>pwd 
/home/me/.fonts 
 
>ls -l 
-rwxr-xr-x 1 me me 36708 Sep 22 02:09 17273_architectbold.ttf
 

Now, make sure to rename the file above to match the actual font name as given inside the file. Double clicking on the file at least on windows, and look for the font name. do not use the file name itself. Must rename the file to match the font name. For the above, I did

>mv 17273_architectbold.ttf Architect-Bold.ttf

Since Architect-Bold was the actual font name.

And changed the latex file to the exact file name above as follows

\documentclass{article} 
\usepackage[no-math]{fontspec} 
 
\setmainfont[ 
  Ligatures=TeX, 
]{Architect-Bold} 
 
\begin{document} 
  This is some TEXT. 
\end{document}
 

The command fc-cache might be also useful to run after doing the above just in case. Use xelatex and not lulatex for the above. It seems there is difference on how fonts are found depending on which one to use. The above instructions are for xelatex which is what I used. It might work with lulatex, do not know now.

See fontspec-xelatex-finding-fonts-by-name-installed-or-in-texmfhome

To use times package, just add the line