1.    
2. Java 
2. 1.   
2. 2. 
2. 3.  
3. MIDlet pascal 
3. 1.   
3. 2. 
3. 3.  
3. 4.  MIDlet pascal 
4. 
5. 


1.    
:
 *       png   :     A  Z,    0  9
 *        
 *      
 *     
 -  ,    


2. Java 
  -  ,   3 .


2. 1.   
      :
public static Font getFont(Image fontImage,int charWidth,int charHeight), 
 * fontImage -  Image,     
 * charWidth -   
 * charHeight -   


2. 2. 
 * public void drawText(Graphics graphics,String text,int positionX,int positionY) -  text,   positionX;positionY,   graphics'a
 * public void free() -  


2. 3.  
      
Image fontImage=null;
try{

    fontImage=Image.createImage("/font.png");
}catch(Exception exception){

    System.out.println(exception.getMessage());
}
Font fnt=Font.getFont(fontImage,5,8);
fontImage=null;
Graphics graphics=getGraphics();
fnt.drawText(graphics,"HELLO WORLD",9,9);
fnt.free();
fnt=null;


3. MIDlet pascal 
    ,   . -,  . -,    .


3. 1.   
 ,    :
procedure init(font_image:image;char_width,char_height:integer), 
 * font_image - ,      
 * char_width -   
 * char_height -   


3. 2. 
 * procedure draw_text(text:string;positionX,positionY:integer) -  text   positionX;positionY
 * procedure free -  


3. 3.  
  uses
    font;
begin
  font.init(loadimage('/font.png'),5,8);
  font.draw_text('HELLO WORLD',9,9);
  font.free;
  repaint;
  repeat
    delay(1);
  until false;
end.


3. 4.  MIDlet pascal 
         ,     MIDlet pascal . -         Lib_canvas  Lib_memclean


4. 
      1,      /       :
 *     
 *    ( )


5. 
  .            ,      ...