Closed LondonClass closed 6 months ago
Does it behave the same way with any non-default font? There’s some weirdness going on with the default font that gives it half the size that is currently kept around for backwards compatibility
Hi, I wrote .point_size
.
It's stated that it "will not be accurate upon initializing the font object when the font name is initialized as None
" as said here: https://pyga.me/docs/ref/font.html#pygame.font.Font.point_size and as Andrew has stated, this is meant to happen because of backward-compatibility.
Environment:
You can get some of this info from the text that pops up in the console when you run a pygame program.
Current behavior:
font.point_size is not equal to parameter size
Test code
If possible add a simple test program that shows the problem described in this report.