HersheyFont.st
changeset 3500 256dfb6ac4df
parent 1580 84e53294af20
child 3501 f5a4a6ceaffc
equal deleted inserted replaced
3498:181d97244463 3500:256dfb6ac4df
    21  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    21  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    22  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    22  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    23  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    23  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    24  SUCH DAMAGE.
    24  SUCH DAMAGE.
    25 "
    25 "
    26 
       
    27 
       
    28 "{ Package: 'stx:libview2' }"
    26 "{ Package: 'stx:libview2' }"
       
    27 
       
    28 "{ NameSpace: Smalltalk }"
    29 
    29 
    30 Font subclass:#HersheyFont
    30 Font subclass:#HersheyFont
    31 	instanceVariableNames:'glyphs scale'
    31 	instanceVariableNames:'glyphs scale'
    32 	classVariableNames:'GlyphData'
    32 	classVariableNames:'GlyphData'
    33 	poolDictionaries:''
    33 	poolDictionaries:''
   127 
   127 
   128 documentation
   128 documentation
   129 "
   129 "
   130     HersheyFont provides (limited) support to draw characters
   130     HersheyFont provides (limited) support to draw characters
   131     from the hershey font data file 'hersh.oc'
   131     from the hershey font data file 'hersh.oc'
   132     (which is available via ftp and must be aquired from elsewhere).
   132     (which is available via ftp and must be aquired from elsewhere due to
       
   133      copyright restrictions - google for 'hersh.oc').
   133         
   134         
   134     This is a demo class - not maintained or meant for productive use.
   135     This is a demo class - not maintained or meant for productive use.
   135     Notice: this is a very old demo - it should be rewritten to honor
   136     Notice: this is a very old demo - it should be rewritten to honor
   136     the FontDescription protocol (see BitmapFont as a better example).
   137     the FontDescription protocol (see BitmapFont as a better example).
   137 
   138 
   718 ! !
   719 ! !
   719 
   720 
   720 !HersheyFont class methodsFor:'documentation'!
   721 !HersheyFont class methodsFor:'documentation'!
   721 
   722 
   722 version
   723 version
   723     ^ '$Header: /cvs/stx/stx/libview2/HersheyFont.st,v 1.7 2002-07-23 17:22:44 mb Exp $'
   724     ^ '$Header$'
   724 ! !
   725 ! !
       
   726