General discussion about computer chess...
-
pgn4web
- Posts: 97
- Joined: Mon Jun 14, 2010 10:26 pm
Post
by pgn4web » Wed Jan 18, 2012 6:01 pm
Jeremy Bernstein wrote:pgn4web wrote:On second thought, it seems this fix is not really working as expected... I'll try figuring out why...
Thanks for the heads up!
this issue seem to escape me, but after a few attempts, this seems to fix it:
1) leave the fonts/*.css files unchanged
2) modify two elements of board.html
2.1)
Code: Select all
.header {
color: black;
font-weight: bold;
}
to
Code: Select all
.header {
font-family: 'pgn4web Liberation Sans', sans-serif;
color: black;
font-weight: bold;
}
2.2)
Code: Select all
.comment,
.nag {
color: gray;
line-height: 1.3em;
}
to
Code: Select all
.comment,
.nag {
font-family: 'pgn4web Liberation Sans', sans-serif;
color: gray;
line-height: 1.3em;
}
This should restore "sans-serif" fonts for header and comments (making them similar to the figurine font) on IE9 if they had switched to something else.
-
dand
- Posts: 9
- Joined: Sat Feb 25, 2012 11:56 pm
Post
by dand » Sun Feb 26, 2012 12:02 am
Hi Jeremy,
I'd like to use your modifications to pgn4web at Croatian chess forum
www.sah.hr/forum. We are using pgn4web, and there is many requests for variations support. Would that be possible?
Thanks,
Danijel
-
Jeremy Bernstein
- Site Admin
- Posts: 1226
- Joined: Wed Jun 09, 2010 7:49 am
- Real Name: Jeremy Bernstein
- Location: Berlin, Germany
-
Contact:
Post
by Jeremy Bernstein » Sun Feb 26, 2012 7:52 pm
dand wrote:Hi Jeremy,
I'd like to use your modifications to pgn4web at Croatian chess forum
http://www.sah.hr/forum. We are using pgn4web, and there is many requests for variations support. Would that be possible?
Thanks,
Danijel
Sure. I haven't had a chance to merge the most recent pgn4web changes into the version we're using here, but you're welcome to use the code. If you make any improvements, please send me a patch!
jb
-
pgn4web
- Posts: 97
- Joined: Mon Jun 14, 2010 10:26 pm
Post
by pgn4web » Sun Feb 26, 2012 8:09 pm
hello,
recently (after implementing
chess informant symbol support in pgn4web) I had a look again to your variation code, and I found a small bug with how comments are packaged.
With this as PGN
Code: Select all
e4 e6 d4 { the main line, while a creative option is } (Qe2 e5) { or even } (d3 d5) { let's see what happens following the main line } d5
the resulting chessboard is