Menu

#39 facilitate adding figurine notation

Fixed
nobody
None
Low
Enhancement
2009-11-11
2009-10-17
Anonymous
No

Originally created by: paolocas...@gmail.com
Originally owned by: paolocas...@gmail.com

Easiest way to support figurine notation is to embed truetype fonts in the
web pages using CSS3. pgn4web should work nicely with that.
See http://www.kirsle.net/wizards/ttf2eot.cgi

Unfortunately there is no free chess figurine font available; once
available it would be nice to add the .ttf and the .eot files to the
pgn4web package with instructions.

Note the issue with comments/variations where the chess notation would not
easily formatted with figurine notation, so beware.

Related

Tickets: #32

Discussion

  • Anonymous

    Anonymous - 2009-11-10

    Originally posted by: paolocas...@gmail.com

    done in 1.70+

    font ChessSansAlpha = Liberation Sans + chess pieces of Chess Alpha2 (from Peter
    Strickland)
    font ChessSansMerida = Liberation Sans + chess pieces of Chess Merida (from Armando
    H. Marroquin)
    font ChessSansPiratf = Liberation Sans + chess pieces of Chess Pirate bold (from
    Klaus Wolf)
    font ChessSansUscf = Liberation Sans + chess pieces of Good Companion (from David L.
    Brown)
    font ChessSansUsual = Liberation Sans + chess pieces of Chess Usual (from Armando
    H. Marroquin)

     
  • Anonymous

    Anonymous - 2009-11-10

    Originally posted by: paolocas...@gmail.com

    (No comment was entered for this change.)

    Status: Fixed

     
  • Anonymous

    Anonymous - 2009-11-10

    Originally posted by: paolocas...@gmail.com

    Please note this works only with browsers supporting CSS3 embedded fonts (Firefox
    3.5+, Safari 4+) or with Internet Explorer 7+.
    Other browsers will fall back to another font definition, so please make sure your
    css styles specifies an alternative standard font-family.

    Please note this requires your PGN to use English initials for the chess pieces
    (initials in other languages would not be parsed correctly anyway).

     
  • Anonymous

    Anonymous - 2009-11-11

    Originally posted by: paolocas...@gmail.com

    Added further support with .svg and .woff font formats.
    Google Chrome is using .svg
    Firefox 3.6+ is using .woff (more bandwidth efficient than .ttf)

    These add to the basic .ttf files and to the .eot files (.eot is supported by Internet
    Explorer).

     

Log in to post a comment.