From 376a6b54e45239d67cb491320e4c965fe610d7a1 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Wed, 30 Jun 2010 10:46:43 +0200 Subject: [PATCH] Allow font-based piece rendering in board sizes below petite At least for variants that use unorthodox pieces, so that switching back to using bitmaps is not really an option anyway. --- winboard/winboard.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/winboard/winboard.c b/winboard/winboard.c index 06cf715..cbf38fa 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -2522,7 +2522,7 @@ DrawPieceOnDC(HDC hdc, ChessSquare piece, int color, int sqcolor, int x, int y, if (appData.blindfold) return; /* [AS] Use font-based pieces if needed */ - if( fontBitmapSquareSize >= 0 && squareSize > 32 ) { + if( fontBitmapSquareSize >= 0 && (squareSize > 32 || gameInfo.variant >= VariantShogi)) { /* Create piece bitmaps, or do nothing if piece set is up to date */ CreatePiecesFromFont(); -- 1.7.0.4