[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] How the get a font size
At some point, you're going to have to have a pygame.font.{Sys|}Font() call, and in that call, you're going to have to specify a size. The developer will either have to specify a size to load (so the developer already knows) or load every size. If the latter is the case and choosing an arbitrary size is then a problem, you can make your own font class with the relevant attribute for each font size.