sandal / prawn

Fast, Nimble PDF Writer for Ruby

This URL has Read+Write access

prawn / vendor / font_ttf / ttf / table / vmtx.rb
a8533a06 » yob 2008-05-29 vendored ttf-ruby (http://r... 1 # TTF/Ruby, a library to read and write TrueType fonts in Ruby.
2 # Copyright (C) 2006 Mathieu Blondel
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
18 module Font
19 module TTF
20 module Table
21
22 # Vmtx is the Vertical metrics table.
23 class Vmtx < Mtx
24
25 alias :vmetrics :metrics
26 alias :vmetrics= :metrics=
27
28 def initialize(*args)
29 super(*args)
30 end
31
32 end
33
34 end
35 end
36 end