How to install and use the ocr-a font

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.

-
– Marco Daniel Apr 1 '13 at 17:45
– Claudio Fiandrino Apr 1 '13 at 17:52

The following should do:

2. Unzip it: unzip ocr-a.zip

3. Do cd ocr-a and edit the ocr10.mf, ocr12.mf and ocr16.mf files so that their last line reads input ocr-a instead of input ocra (this is a bug in the distribution)

4. Do cd .. to get one level up

5. Do the following commands in super user mode (I'll use sudo, assuming a Bash shell)

sudo mkdir -p $(kpsewhich -var-value=TEXMFLOCAL)/fonts/source sudo mv ocr-a$(kpsewhich -var-value=TEXMFLOCAL)/fonts/source/
sudo mktexlsr

6. Try compiling the following plain TeX file (pdftex tryocra)

%%% File name tryocra.tex
\font\ocraten=ocr10
\ocraten

ABCDEFGHIJKLMNOPQRSTUVZ

\bye


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.

-
But when I need to write one piece of text, should i do it like \ocraten{test} ?? – Noor Apr 2 '13 at 11:01
@user1774937 Do you want to use it in LaTeX? – egreg Apr 2 '13 at 11:07
its working, great thanks – Noor Apr 2 '13 at 22:44
Is step 3. in general needed? – 71GA May 23 '13 at 6:08
@71GA It's needed in this case because of the mentioned bug. – egreg May 23 '13 at 9:40