--- ttf-ocr-a-1.0.orig/debian/compat
+++ ttf-ocr-a-1.0/debian/compat
@@ -0,0 +1 @@
+7
--- ttf-ocr-a-1.0.orig/debian/copyright
+++ ttf-ocr-a-1.0/debian/copyright
@@ -0,0 +1,22 @@
+This package was debianized by:
+
+ Gürkan Sengün <gurkan@linuks.mine.nu> on Wed, 2 May 2007 16:17:15 +0200.
+
+It was downloaded from:
+
+ http://sourceforge.net/projects/ocr-a-font
+
+Upstream Author:
+
+ John Sauter <J_Sauter@Empire.Net>
+
+License:
+
+ Public Domain.
+
+The Debian packaging is:
+
+ Copyright (C) 2007-2009, G..rkan Seng..n <gurkan@phys.ethz.ch>
+
+and is licensed under the GPL version 3,
+see `/usr/share/common-licenses/GPL-3'.
--- ttf-ocr-a-1.0.orig/debian/docs
+++ ttf-ocr-a-1.0/debian/docs
@@ -0,0 +1 @@
+ReadMe.txt
--- ttf-ocr-a-1.0.orig/debian/defoma-hints
+++ ttf-ocr-a-1.0/debian/defoma-hints
@@ -0,0 +1,61 @@
+category truetype
+begin /usr/share/fonts/truetype/ttf-ocr-a/OCRABold.ttf
+ Family = OCRABold
+ FontName = OCRABold-Bold
+ Encoding = Unicode
+ Location = English
+ Charset = ISO8859-1
+ GeneralFamily = Roman
+ Weight = Bold
+ Width = Variable
+ Shape = Normal Upright
+ Priority = 20
+end
+begin /usr/share/fonts/truetype/ttf-ocr-a/OCRACondensed.ttf
+ Family = OCRACondensed
+ FontName = OCRACondensed-Condensed
+ Encoding = Unicode
+ Location = English
+ Charset = ISO8859-1
+ GeneralFamily = Roman
+ Weight = Medium
+ Width = Variable
+ Shape = Upright Condensed
+ Priority = 20
+end
+begin /usr/share/fonts/truetype/ttf-ocr-a/OCRAItalic.ttf
+ Family = OCRAItalic
+ FontName = OCRAItalic-Italic
+ Encoding = Unicode
+ Location = English
+ Charset = ISO8859-1
+ GeneralFamily = Roman
+ Weight = Medium
+ Width = Variable
+ Shape = Normal Italic
+ Priority = 20
+end
+begin /usr/share/fonts/truetype/ttf-ocr-a/OCRALight.ttf
+ Family = OCRALight
+ FontName = OCRALight-Light
+ Encoding = Unicode
+ Location = English
+ Charset = ISO8859-1
+ GeneralFamily = Roman
+ Weight = Light
+ Width = Variable
+ Shape = Normal Upright
+ Priority = 20
+end
+begin /usr/share/fonts/truetype/ttf-ocr-a/OCRA.ttf
+ Family = OCRA
+ FontName = OCRA-Medium
+ Encoding = Unicode
+ Location = English
+ Charset = ISO8859-1
+ GeneralFamily = Roman
+ Weight = Medium
+ Width = Variable
+ Shape = Normal Upright
+ Priority = 20
+end
--- ttf-ocr-a-1.0.orig/debian/changelog
+++ ttf-ocr-a-1.0/debian/changelog
@@ -0,0 +1,16 @@
+ttf-ocr-a (1.0-2) unstable; urgency=low
+
+ * Update my email address.
+ * Change section to fonts.
+ * Bump debhelper version.
+ * Bump standards version.
+ * Add Debian Fonts Task Force to Uploaders.
+ * debian/copyright: Updated.
+
+ -- Gürkan Sengün <gurkan@phys.ethz.ch> Wed, 05 Aug 2009 08:53:55 +0200
+
+ttf-ocr-a (1.0-1) unstable; urgency=low
+
+ * Initial release. (Closes: #452980)
+
+ -- Gürkan Sengün <gurkan@linuks.mine.nu> Wed, 2 May 2007 16:17:15 +0200
--- ttf-ocr-a-1.0.orig/debian/control
+++ ttf-ocr-a-1.0/debian/control
@@ -0,0 +1,19 @@
+Source: ttf-ocr-a
+Section: x11
+Priority: optional
+Maintainer: Gürkan Sengün <gurkan@phys.ethz.ch>
+Uploaders: Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7), defoma, fontforge
+Standards-Version: 3.8.2
+Homepage: http://sourceforge.net/projects/ocr-a-font
+
+Package: ttf-ocr-a
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: ANSI font readable by the computers of the 1960s
+ This font was developed by the American National Standards Institute (ANSI)
+ to be readable by the computers of the 1960s. The OCR-A font is still used
+ commercially in payment advice forms so that a lockbox company can determine
+ the account number and amount owed on a bill when processing a payment.
+ A site license for the OCR-A font is very expensive, so this free font was
+ created.
--- ttf-ocr-a-1.0.orig/debian/rules
+++ ttf-ocr-a-1.0/debian/rules
@@ -0,0 +1,58 @@
+#!/usr/bin/make -f
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# it should be sfd really
+SRC=OCRA.sdf
+
+build: build-stamp
+
+build-stamp:
+ dh_testdir
+ fontforge sfd2bold.ff $(SRC)
+ fontforge sfd2condensed.ff $(SRC)
+ fontforge sfd2italic.ff $(SRC)
+ fontforge sfd2light.ff $(SRC)
+ fontforge debian/scripts/ConvertFont.ff $(SRC)
+ fontforge debian/scripts/ConvertFont.ff OCRALight.sfd
+ fontforge debian/scripts/ConvertFont.ff OCRABold.sfd
+ fontforge debian/scripts/ConvertFont.ff OCRAItalic.sfd
+ fontforge debian/scripts/ConvertFont.ff OCRACondensed.sfd
+# defoma-hints -c --no-question truetype *.ttf > debian/defoma-hints
+# sed -i s,/path/to,/usr/share/fonts/truetype/ttf-ocr-a,g debian/defoma-hints
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ rm -f *.ttf OCRAB* OCRAI* OCRAC* OCRAL*
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+ dh_install *.ttf usr/share/fonts/truetype/ttf-ocr-a
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- ttf-ocr-a-1.0.orig/debian/scripts/ConvertFont.ff
+++ ttf-ocr-a-1.0/debian/scripts/ConvertFont.ff
@@ -0,0 +1,14 @@
+#!/usr/bin/fontforge
+if ($argc > 1)
+ i = 1;
+ while ( i < $argc )
+ Open($argv[i])
+ ttfile = $fontname + ".ttf"
+ Print("Converting ",ttfile)
+ Generate(ttfile,"ttf")
+ Close()
+ i++
+ endloop
+else
+ Print("Usage: $0 font.sfd [font.sfd ...]")
+endif