Fentt: Difference between revisions

From miki
Jump to navigation Jump to search
(Created page with "My extension to render Chess FEN diagram in mediawiki using TrueType fonts. It is inspired from my [http://mip.noekeon.org/HTMLTTChess/index.html HTMLTTChess javascript engine...")
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


== Sandbox ==
== Sandbox ==



{|
|-
|<fentt border="double a5">rnbq/pppp/4/4</fentt>
|rowspan=2|<fentt border="ne" mode="color" cstyle="font-size:32pt;">(x)(k)/(x)(x)/1R/R1</fentt>
|-
|<fentt border="simple a1" mode="bw">...k/.N../.NK./....</fentt>
|}



Some examples of diagrams:
Some examples of diagrams:
Line 7: Line 18:
|-
|-
|width=33%|<fentt>rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR</fentt>
|width=33%|<fentt>rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR</fentt>
|width=33%|<fentt border="double a5" mode="color">k3/2N1/1KN1/4</fentt>
|width=33%|<fentt border="double a5" mode="color" cstyle="font-size:32pt;">(k)(x)2/(x)(x)N1/1KN1/4</fentt>
|<fentt>
|<fentt>
r n b q k b n r/
r n b q k b n r/

Latest revision as of 14:23, 19 January 2016

My extension to render Chess FEN diagram in mediawiki using TrueType fonts. It is inspired from my HTMLTTChess javascript engine.

Sandbox

 abcd
8
7
6
5
  
  
  
  


    
    
♜♞♝♛
♟♟♟♟
    
    
 
 
 
 
 
  
 
 
✕♚
✕✕
 ♖
♖ 
  
♘ 
 ♔
  



Some examples of diagrams:

    
    
    
    
    
    
    
    


        
        
        
        


♜♞♝♛♚♝♞♜
♟♟♟♟♟♟♟♟
        
        
        
        
♙♙♙♙♙♙♙♙
♖♘♗♕♔♗♘♖
 abcd
8
7
6
5
  
  
  
  
   
   
  
    
♚✕  
✕✕♘ 
 ♔♘ 
    
    
    
    
    
    
    
    
    


        
        
        
        


♜♞♝♛♚♝♞♜
♟♟♟♟♟♟♟♟
        
        
    •   
        
♙♙♙♙♙♙♙♙
♖♘♗♕♔♗♘♖

Setting default rendering to black & white.

  
♘ 
 ♔
  

  
♘ 
 ♔
  

  
♘ 
 ♔
  

4
3
2
1
  
  
  
  
   
   
  
    
   ♚
 ♘  
 ♘♔ 
    
 abcd
  
♘ 
 ♔
  

  
♘ 
 ♔
  
