/usr/share/games/adanaxisgpl/mushruby/MushGLFont.rb is in adanaxisgpl-data 1.2.5.dfsg.1-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | #%Header {
##############################################################################
#
# File data-adanaxis/mushruby/MushGLFont.rb
#
# Author Andy Southgate 2006-2007
#
# This file contains original work by Andy Southgate. The author and his
# employer (Mushware Limited) irrevocably waive all of their copyright rights
# vested in this particular version of this file to the furthest extent
# permitted. The author and Mushware Limited also irrevocably waive any and
# all of their intellectual property rights arising from said file and its
# creation that would otherwise restrict the rights of any party to use and/or
# distribute the use of, the techniques and methods used herein. A written
# waiver can be obtained via http://www.mushware.com/.
#
# This software carries NO WARRANTY of any kind.
#
##############################################################################
#%Header } knU9JIKA5ODJii/pFOWG0w
# $Id: MushGLFont.rb,v 1.5 2007/03/13 21:45:02 southa Exp $
# $Log: MushGLFont.rb,v $
# Revision 1.5 2007/03/13 21:45:02 southa
# Release process
#
# Revision 1.4 2006/08/01 17:21:12 southa
# River demo
#
# Revision 1.3 2006/08/01 13:41:06 southa
# Pre-release updates
#
class MushGLFont
# Class: MushGLFont
#
# Description:
#
# This object creates or contains a reference to a renderable font.
#
# Method: new
#
# Creates a new MushGLFont object.
#
# Parameters:
#
# name - name for this font
# texture_name - name of the texture used by this font
# divide - number of tiles in the font in the [x, y] directions
# extent - size of each tile [x, y] in pixels
# size - size of each character [x, y] or x, with 1.0 filling the screen with one character
#
# Parameters mush be suppliead as a hash.
#
# Returns:
#
# New MushGLFont object
#
# Default:
#
# There is no default constructor. If only the name is supplied, this object refers
# to a pre-existing font.
#
# Example:
#
# (example)
# MushGLTexture::cDefine(
# :name => 'font1-tex',
# :type => 'TIFF',
# :filename => 'font-mono1.tiff'
# )
#
# font1 = MushGLFont.new(
# :name => 'font1',
# :texture_name => 'font1-tex',
# :divide => [8,12],
# :extent => [337.0/8, 768.0/12],
# :size => 0.05
# )
# (end)
#
# Group: Links
#- Wrapper file:doxygen/class_mush_g_l_ruby_font.html
#- Implemetation file:doxygen/class_mush_g_l_font.html
end
|