Can someone help to install the ocr-a
font? I'm using fedora, I'm trying to find a proper tutorial but cannot find a good one.
[Tex/LaTex] How to install and use the ocr-a font
fontsinstallingpackages
fontsinstallingpackages
Can someone help to install the ocr-a
font? I'm using fedora, I'm trying to find a proper tutorial but cannot find a good one.
Best Answer
The following should do:
Download the zip file http://mirrors.ctan.org/fonts/ocr-a.zip
Unzip it:
unzip ocr-a.zip
Do
cd ocr-a
and edit theocr10.mf
,ocr12.mf
andocr16.mf
files so that their last line readsinput ocr-a
instead ofinput ocra
(this is a bug in the distribution)Do
cd ..
to get one level upDo the following commands in super user mode (I'll use
sudo
, assuming a Bash shell)Try compiling the following plain TeX file (
pdftex tryocra
)The result should be as follows
A ZIP file with the fonts converted to Type1 and OpenType, along with a style file for getting them with LaTeX is available here, with instructions for installation on a Unix system with TeX Live.