Hi, I found out ofTrueTypeFont::getSpaceSize() returns zero after loading the font. It only seemed to work once I manually set it with setSpaceSize().
I tried it with several fonts but the results were always the same.
space size is a legacy api cause in the past instead of using the real space size we used the size of a p (if i remember well) so we allowed to set the space size by yourself, when we moved to using the real space size as defined by the font we probably forgot to either remove this function or set it to the correct value when loading the font type.
you can figure out the size of the space using font.getBoundingBox(" ",0,0).width but can you open an issue on github pointing to this post? thanks!