Check out Makruk (Thai Chess), our featured variant for March, 2025.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Magnetic style Chess Variant Piece Images in PNG format. Magnetic style Chess Variant Piece Images in PNG format.[All Comments] [Add Comment or Rating]
H. G. Muller wrote on Sat, Dec 14, 2024 02:19 AM EST in reply to Fergus Duniho from Fri Dec 13 08:00 PM:

You lost me. What is this 'font size' you are referring to? Is this because you have the orthodox set as font (TTF), and try to produce other images as individual .svg files?

Font sizes are typically referred to in 'point' units, which is not the same as pixels. I don't know how the various point sizes correspont to pixels; this must be glyph-dependent, at least for the width in proportional fonts.

SVG images have an intrinsic size, but it is often ignored by the software rendering it. I think the Alfaerie SVGs are 2048x2048, but including them as image on a HTML page without size instructions renders them as 150x150. That is a browser decision.

In making the Magnetic and Motif SVGs I started from individual SVG images from the GitHub pychess repository, not from the font.