com.sshtools.sshterm.emulation
Class SoftFont

java.lang.Object
  |
  +--com.sshtools.sshterm.emulation.SoftFont

public class SoftFont
extends java.lang.Object

Any characters that are not available in standard java fonts may be drawn using the softfont utility. This utility class was derived from the cpi fonts used in linux console drivers.

Font file generated by cpi2fnt

Maintainer: Marcus Meißner

Version:
$Id: SoftFont.java,v 1.2 2002/09/16 20:02:16 martianx Exp $
Author:
Matthias L. Jugel, Marcus Meißner

Constructor Summary
SoftFont()
          Constructor for the SoftFont object
 
Method Summary
 void drawChar(java.awt.Graphics g, char c, int x, int y, int cw, int ch)
          Description of the Method
 boolean inSoftFont(char c)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoftFont

public SoftFont()
Constructor for the SoftFont object

Method Detail

inSoftFont

public boolean inSoftFont(char c)
Description of the Method

Parameters:
c - Description of the Parameter
Returns:
Description of the Return Value

drawChar

public void drawChar(java.awt.Graphics g,
                     char c,
                     int x,
                     int y,
                     int cw,
                     int ch)
Description of the Method

Parameters:
g - Description of the Parameter
c - Description of the Parameter
x - Description of the Parameter
y - Description of the Parameter
cw - Description of the Parameter
ch - Description of the Parameter


Copyright © 2002 Sshtools.com. All Rights Reserved.