[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Check out Janggi (Korean Chess), our featured variant for December, 2024.
Check out Janggi (Korean Chess), our featured variant for December, 2024.
I have learned that it probably was not a conscious design choice to make the SVGs match a font size of 37 when reduced to 50x50. In trying to make SVGs, I set the width and height of the image to 1000, and I used a font size of 1000, and the result matched a font size of 37. In trying to make it bigger, I first tried a larger font size, but it wouldn't accept anything larger than 1000. I got it to accept a larger font size by making the viewbox larger than the image. I first used a viewbox and font size of 1100, and I got a 44x49 image of the Queen. In comparison my PNG image of the Queen was 43x46. I tried to get a smaller size by reducing the viewport and font size to 1082, which I calculated should match a font size of 40, but I still got a 44x49 image. So it looks like trying to make an SVG gives me less precise control over the size of the resulting image. I suppose this is because vector graphics introduce a level of abstraction away from precise control over individual pixels. Here are three attempts at trying to match the font size of 40 that all failed: