View Single Post
Old 04-01-2021, 05:30 PM   #11
GranitStateColin
Member
GranitStateColin began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2017
Device: none
Quote:
Originally Posted by DNSB View Post
When I look at a font, under PS names, the Fontname does not have spaces but the Family Name does as does the Name for Humans. The family name is what seems to be important under PS Names. For TTF Names, I remove the spaces from the Family and Fullname entries.

These choices date back to when the version of RMSDK used by Kobo sucked at introspecting fonts.
DNSB, you're right - you do need to make that change on the PS Names tab, even for the TT version of the font. But as you can see in the screen shots I attached above, that doesn't matter: even when it's all set correctly there with no spaces for for Fontname, Family Name, or Name For Humans, Calibre still adds in the spaces.

Specifically, what Calibre is doing is putting the Family Name, then a space, then a hyphen, then another space, then the Style (SubFamily). If Calibre were to use the Fullname instead (that's what you can set as "Name For Humans" on the PS Names tab), we could control it via the font editors (exactly as you've described), but Calibre doesn't do this.

Please, if you think I am mistaken on any of this, let me know. I'd much rather be wrong and have a solution than be right and stuck.

Thanks,
Colin
GranitStateColin is offline   Reply With Quote