check_writer 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +5 -0
- data/.rspec +1 -0
- data/Appraisals +11 -0
- data/Gemfile +21 -0
- data/Gemfile.lock +57 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +69 -0
- data/Rakefile +50 -0
- data/VERSION +1 -0
- data/check_writer.gemspec +109 -0
- data/gemfiles/prawn0.12.0.gemfile +15 -0
- data/gemfiles/prawn0.12.0.gemfile.lock +56 -0
- data/gemfiles/prawn0.6.1.gemfile +15 -0
- data/gemfiles/prawn0.6.1.gemfile.lock +57 -0
- data/gemfiles/prawn0.6.3.gemfile +15 -0
- data/gemfiles/prawn0.6.3.gemfile.lock +57 -0
- data/lib/check_writer/check.rb +246 -0
- data/lib/check_writer.rb +9 -0
- data/spec/assets/test-0.12.0.pdf +0 -0
- data/spec/assets/test-0.6.1.pdf +0 -0
- data/spec/assets/test-0.6.3.pdf +0 -0
- data/spec/check_spec.rb +57 -0
- data/spec/spec_helper.rb +33 -0
- data/vendor/GnuMICR-0.30/AUTHORS +3 -0
- data/vendor/GnuMICR-0.30/CHANGELOG +26 -0
- data/vendor/GnuMICR-0.30/COPYING +339 -0
- data/vendor/GnuMICR-0.30/GnuMICR.afm +36 -0
- data/vendor/GnuMICR-0.30/GnuMICR.otf +0 -0
- data/vendor/GnuMICR-0.30/GnuMICR.pfa +215 -0
- data/vendor/GnuMICR-0.30/GnuMICR.pfb +0 -0
- data/vendor/GnuMICR-0.30/GnuMICR.pfm +0 -0
- data/vendor/GnuMICR-0.30/GnuMICR.raw +1189 -0
- data/vendor/GnuMICR-0.30/GnuMICR.ttf +0 -0
- data/vendor/GnuMICR-0.30/INSTALL +27 -0
- data/vendor/GnuMICR-0.30/NEWS +15 -0
- data/vendor/GnuMICR-0.30/README +93 -0
- data/vendor/GnuMICR-0.30/TODO +8 -0
- data/vendor/GnuMICR-0.30/comparison.png +0 -0
- data/vendor/GnuMICR-0.30/symbols.png +0 -0
- data/vendor/GnuMICR-0.30/test.ps +14 -0
- metadata +265 -0
Binary file
|
@@ -0,0 +1,27 @@
|
|
1
|
+
If you're using this font under Microsoft Windows, I can't help you.
|
2
|
+
|
3
|
+
If you're using it under a Linux-y operating system, there are documents
|
4
|
+
available which do a better job than I ever would at explaining how to
|
5
|
+
install them.
|
6
|
+
|
7
|
+
In general, take a look at the Font-HOWTO, available from
|
8
|
+
http://www.linuxdoc.org/HOWTO/Font-HOWTO.html particularly
|
9
|
+
|
10
|
+
"Making Fonts Available To X"
|
11
|
+
http://www.linuxdoc.org/HOWTO/Font-HOWTO-4.html
|
12
|
+
|
13
|
+
and
|
14
|
+
|
15
|
+
"Making Fonts Available to GhostScript"
|
16
|
+
http://www.linuxdoc.org/HOWTO/Font-HOWTO-5.html
|
17
|
+
|
18
|
+
I have included a test PostScript(tm) file called "test.ps" that you can
|
19
|
+
fire up in GhostScript to see if you have that set up correctly.
|
20
|
+
|
21
|
+
I have also included a file, "symbols.png" to show you which characters
|
22
|
+
you need to type to get the various MICR symbols.
|
23
|
+
|
24
|
+
Note that to function in the MICR readers, this font must be sized
|
25
|
+
exactly right. GnuMICR is designed to be used at 12 point size.
|
26
|
+
|
27
|
+
Good luck!
|
@@ -0,0 +1,15 @@
|
|
1
|
+
Feb 2, 2004
|
2
|
+
Hm, this version 0.30 has been sitting around for a while, put it out
|
3
|
+
there! Several people have reported using this font with good success,
|
4
|
+
even in commercial applications.
|
5
|
+
|
6
|
+
August 12, 2000
|
7
|
+
I have someone who is willing to test the TTF version of this font in
|
8
|
+
the real world, on a fairly large scale... we'll see how it goes!
|
9
|
+
|
10
|
+
The TTF version was just converted by a font program, so I have no
|
11
|
+
idea if conversion errors were introduced.
|
12
|
+
|
13
|
+
July 1, 2000
|
14
|
+
First Public Release
|
15
|
+
|
@@ -0,0 +1,93 @@
|
|
1
|
+
GNUMICR MICR / E13-B font
|
2
|
+
|
3
|
+
A PostScript(tm) Type 1 MICR Font released under the GPL.
|
4
|
+
|
5
|
+
Copyright (c) 2000-2003, Eric Sandeen <sandeen-gnumicr *at* sandeen *dot* net>
|
6
|
+
|
7
|
+
This font is released under the GNU General Public License ("GPL")
|
8
|
+
(see the file COPYING for details).
|
9
|
+
|
10
|
+
Important details to note about the license:
|
11
|
+
|
12
|
+
1) This font comes with NO WARRANTY. I am not responsible for any
|
13
|
+
damages or expenses resulting from its use.
|
14
|
+
|
15
|
+
2) This font may only be distributed with the license and the source code
|
16
|
+
to the font intact. It's not exactly clear to me how the GNU GPL applies to
|
17
|
+
fonts, but in my eyes, the font file "GnuMICR.raw" is the "source code" to
|
18
|
+
this font, and the files "GnuMICR.pfa" and "GnuMICR.pfb" are the compiled
|
19
|
+
versions. if you redistribute the "compiled" version, you must also
|
20
|
+
distribute, or offer to distribute, the "source" version (see COPYING).
|
21
|
+
|
22
|
+
Also, it is my wish that this font not be distributed in such a way
|
23
|
+
that it is built into a proprietary piece of software. I'll leave
|
24
|
+
the legal wrangling to the lawyers, but in my opinion, if you
|
25
|
+
write, say, a non-GPL'd check printing application for Windows,
|
26
|
+
you should not hard-code or embed this font into your application.
|
27
|
+
I feel that this would be the font-equivalent of linking libraries.
|
28
|
+
If you wish to distribute this font with your app, that's fine,
|
29
|
+
but I feel that it should be distributed alongside the application,
|
30
|
+
with all copyright & license info intact, per the terms of the GPL.
|
31
|
+
|
32
|
+
I have spent MANY hours on this font. Please respect my work, and
|
33
|
+
follow my wishes regarding licensing of this particular font.
|
34
|
+
|
35
|
+
For a brief introduction to fonts, copyright, and piracy, see
|
36
|
+
"Ethics and Licensing Issues Related to Type" at
|
37
|
+
http://www.linuxdoc.org/HOWTO/Font-HOWTO-12.html
|
38
|
+
|
39
|
+
--------------------------
|
40
|
+
|
41
|
+
Ok, with that out of the way...
|
42
|
+
|
43
|
+
A while ago, I set out to be able to print my own checks under Linux. The
|
44
|
+
first requirement was that I find a MICR font (those funky numbers and
|
45
|
+
symbols at the bottom of your check) that could be freely
|
46
|
+
distributed with the application. I quickly found that such a thing didn't
|
47
|
+
exist, so I set out to make my own. This font is the result.
|
48
|
+
|
49
|
+
I coded this font by hand, without the aid of any GUI font application.
|
50
|
+
My goal was to be as accurate as possible, with complete control over
|
51
|
+
the resulting font. I found dimensions and other specs for the font
|
52
|
+
and their use at http://www.cdnpay.ca/eng/rules/006.ENG.htm
|
53
|
+
This seems to be mostly geared towards Canadian standards, but the MICR
|
54
|
+
font is an ISO standard, and the glyph dimensions should be the same
|
55
|
+
as are used in the United States.
|
56
|
+
|
57
|
+
My sole source for information for this font was the URL above. This font
|
58
|
+
is NOT a modified version of any existing MICR font.
|
59
|
+
|
60
|
+
The "source code" to this font is the file "GnuMICR.raw" This file
|
61
|
+
may be converted into an actual Type 1 (.pfa or .pfb) font with
|
62
|
+
the "t1utils" package available
|
63
|
+
at http://www.lcdf.org/~eddietwo/type/#t1utils
|
64
|
+
|
65
|
+
I have not had this font tested by any bank. You should get best results
|
66
|
+
with a 600dpi PostScript(tm) printer, probably worse results with a 300
|
67
|
+
dpi laserjet printer via GhostScript. The hinting on the font is likely
|
68
|
+
not perfect, so rendering at lower DPI may introduce some errors.
|
69
|
+
|
70
|
+
I have had some very good reports of people using this font for
|
71
|
+
commercial printing, however.
|
72
|
+
|
73
|
+
I'm not a PostScript(tm) expert by any means. If anyone who is reading
|
74
|
+
this document _is_ and would like to offer suggestions or patches for the
|
75
|
+
font or its associated .afm file, please feel free to do so.
|
76
|
+
|
77
|
+
Also, if you have access to the tools needed to really test the font,
|
78
|
+
and you feel like doing that, I would really like to hear from you.
|
79
|
+
I'd like to make this the best MICR font available. I think it's
|
80
|
+
well on its way - see "comparison.png" for an overlay of GnuMICR
|
81
|
+
vs. a sample from a commercial font. Note the strange arcs in some
|
82
|
+
regions of the commercial font.
|
83
|
+
|
84
|
+
The TTF font provided in this package was converted by a third
|
85
|
+
party using Windows NT. As such, I have very little confidence
|
86
|
+
in the quality of the TTF font. If you want the result of my hard
|
87
|
+
work on dimensional accuracy, use the postscript font.
|
88
|
+
|
89
|
+
See the file INSTALL for help installing this font.
|
90
|
+
|
91
|
+
-Eric Sandeen
|
92
|
+
July 1, 2000
|
93
|
+
Updated March 2, 2003
|
@@ -0,0 +1,8 @@
|
|
1
|
+
There are still some things left to do on this font:
|
2
|
+
|
3
|
+
1) Get it inspected by a bank or other authority. See if it works! :-)
|
4
|
+
|
5
|
+
2) Implement stem hint replacement on some of the glyphs such as
|
6
|
+
"3" and "8" and the symbols - I wasn't sure how to do this.
|
7
|
+
|
8
|
+
3) The arcs on the "7" may not be quite right... close enough though, I think.
|
Binary file
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,265 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: check_writer
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 31
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 0.0.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Ryan Winograd
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2012-05-08 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
22
|
+
none: false
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
hash: 3
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
version: "0"
|
30
|
+
name: activesupport
|
31
|
+
prerelease: false
|
32
|
+
type: :runtime
|
33
|
+
requirement: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
36
|
+
none: false
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
hash: 3
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
version: "0"
|
44
|
+
name: prawn
|
45
|
+
prerelease: false
|
46
|
+
type: :runtime
|
47
|
+
requirement: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
hash: 3
|
55
|
+
segments:
|
56
|
+
- 0
|
57
|
+
version: "0"
|
58
|
+
name: linguistics
|
59
|
+
prerelease: false
|
60
|
+
type: :runtime
|
61
|
+
requirement: *id003
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
hash: 3
|
69
|
+
segments:
|
70
|
+
- 0
|
71
|
+
version: "0"
|
72
|
+
name: appraisal
|
73
|
+
prerelease: false
|
74
|
+
type: :development
|
75
|
+
requirement: *id004
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
78
|
+
none: false
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
hash: 3
|
83
|
+
segments:
|
84
|
+
- 0
|
85
|
+
version: "0"
|
86
|
+
name: rake
|
87
|
+
prerelease: false
|
88
|
+
type: :development
|
89
|
+
requirement: *id005
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
hash: 49
|
97
|
+
segments:
|
98
|
+
- 1
|
99
|
+
- 8
|
100
|
+
- 3
|
101
|
+
version: 1.8.3
|
102
|
+
name: jeweler
|
103
|
+
prerelease: false
|
104
|
+
type: :development
|
105
|
+
requirement: *id006
|
106
|
+
- !ruby/object:Gem::Dependency
|
107
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
hash: 3
|
113
|
+
segments:
|
114
|
+
- 0
|
115
|
+
version: "0"
|
116
|
+
name: appraisal
|
117
|
+
prerelease: false
|
118
|
+
type: :development
|
119
|
+
requirement: *id007
|
120
|
+
- !ruby/object:Gem::Dependency
|
121
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
123
|
+
requirements:
|
124
|
+
- - ~>
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
hash: 47
|
127
|
+
segments:
|
128
|
+
- 2
|
129
|
+
- 8
|
130
|
+
- 0
|
131
|
+
version: 2.8.0
|
132
|
+
name: rspec
|
133
|
+
prerelease: false
|
134
|
+
type: :development
|
135
|
+
requirement: *id008
|
136
|
+
- !ruby/object:Gem::Dependency
|
137
|
+
version_requirements: &id009 !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
139
|
+
requirements:
|
140
|
+
- - ~>
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
hash: 31
|
143
|
+
segments:
|
144
|
+
- 3
|
145
|
+
- 12
|
146
|
+
version: "3.12"
|
147
|
+
name: rdoc
|
148
|
+
prerelease: false
|
149
|
+
type: :development
|
150
|
+
requirement: *id009
|
151
|
+
- !ruby/object:Gem::Dependency
|
152
|
+
version_requirements: &id010 !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ~>
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
hash: 23
|
158
|
+
segments:
|
159
|
+
- 1
|
160
|
+
- 0
|
161
|
+
- 0
|
162
|
+
version: 1.0.0
|
163
|
+
name: bundler
|
164
|
+
prerelease: false
|
165
|
+
type: :development
|
166
|
+
requirement: *id010
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
version_requirements: &id011 !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
hash: 3
|
174
|
+
segments:
|
175
|
+
- 0
|
176
|
+
version: "0"
|
177
|
+
name: rcov
|
178
|
+
prerelease: false
|
179
|
+
type: :development
|
180
|
+
requirement: *id011
|
181
|
+
description: Ruby library for generating PDF checks that you can take to the bank
|
182
|
+
email: ryan@thewinograds.com
|
183
|
+
executables: []
|
184
|
+
|
185
|
+
extensions: []
|
186
|
+
|
187
|
+
extra_rdoc_files:
|
188
|
+
- LICENSE.txt
|
189
|
+
- README.rdoc
|
190
|
+
files:
|
191
|
+
- .document
|
192
|
+
- .rspec
|
193
|
+
- Appraisals
|
194
|
+
- Gemfile
|
195
|
+
- Gemfile.lock
|
196
|
+
- LICENSE.txt
|
197
|
+
- README.rdoc
|
198
|
+
- Rakefile
|
199
|
+
- VERSION
|
200
|
+
- check_writer.gemspec
|
201
|
+
- gemfiles/prawn0.12.0.gemfile
|
202
|
+
- gemfiles/prawn0.12.0.gemfile.lock
|
203
|
+
- gemfiles/prawn0.6.1.gemfile
|
204
|
+
- gemfiles/prawn0.6.1.gemfile.lock
|
205
|
+
- gemfiles/prawn0.6.3.gemfile
|
206
|
+
- gemfiles/prawn0.6.3.gemfile.lock
|
207
|
+
- lib/check_writer.rb
|
208
|
+
- lib/check_writer/check.rb
|
209
|
+
- spec/assets/test-0.12.0.pdf
|
210
|
+
- spec/assets/test-0.6.1.pdf
|
211
|
+
- spec/assets/test-0.6.3.pdf
|
212
|
+
- spec/check_spec.rb
|
213
|
+
- spec/spec_helper.rb
|
214
|
+
- vendor/GnuMICR-0.30/AUTHORS
|
215
|
+
- vendor/GnuMICR-0.30/CHANGELOG
|
216
|
+
- vendor/GnuMICR-0.30/COPYING
|
217
|
+
- vendor/GnuMICR-0.30/GnuMICR.afm
|
218
|
+
- vendor/GnuMICR-0.30/GnuMICR.otf
|
219
|
+
- vendor/GnuMICR-0.30/GnuMICR.pfa
|
220
|
+
- vendor/GnuMICR-0.30/GnuMICR.pfb
|
221
|
+
- vendor/GnuMICR-0.30/GnuMICR.pfm
|
222
|
+
- vendor/GnuMICR-0.30/GnuMICR.raw
|
223
|
+
- vendor/GnuMICR-0.30/GnuMICR.ttf
|
224
|
+
- vendor/GnuMICR-0.30/INSTALL
|
225
|
+
- vendor/GnuMICR-0.30/NEWS
|
226
|
+
- vendor/GnuMICR-0.30/README
|
227
|
+
- vendor/GnuMICR-0.30/TODO
|
228
|
+
- vendor/GnuMICR-0.30/comparison.png
|
229
|
+
- vendor/GnuMICR-0.30/symbols.png
|
230
|
+
- vendor/GnuMICR-0.30/test.ps
|
231
|
+
homepage: http://github.com/rylwin/check_writer
|
232
|
+
licenses:
|
233
|
+
- MIT
|
234
|
+
post_install_message:
|
235
|
+
rdoc_options: []
|
236
|
+
|
237
|
+
require_paths:
|
238
|
+
- lib
|
239
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
240
|
+
none: false
|
241
|
+
requirements:
|
242
|
+
- - ">="
|
243
|
+
- !ruby/object:Gem::Version
|
244
|
+
hash: 3
|
245
|
+
segments:
|
246
|
+
- 0
|
247
|
+
version: "0"
|
248
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
249
|
+
none: false
|
250
|
+
requirements:
|
251
|
+
- - ">="
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
hash: 3
|
254
|
+
segments:
|
255
|
+
- 0
|
256
|
+
version: "0"
|
257
|
+
requirements: []
|
258
|
+
|
259
|
+
rubyforge_project:
|
260
|
+
rubygems_version: 1.8.15
|
261
|
+
signing_key:
|
262
|
+
specification_version: 3
|
263
|
+
summary: Generate PDF checks
|
264
|
+
test_files: []
|
265
|
+
|