[Suggestion] Dealing with title limits
Aizistral opened this issue ยท 0 comments
Title on top of the page in each entry uses vanilla blocky font, which is quite large. Though that makes it nicely stand out under most circumstances, it leaves you to work with like 20 symbols for each entry name until that name will start crawling out of page's bounds in the title. 20 may sound like a large enough amount, but... it isn't. It really isn't,
"12" is added after entry name to fill in rest of usable title space. There can be one more symol squeezed in there, but it wouldn't look good already.
I was surprised to discover that even in the mod I develop (Enigmatic Legacy if anything) significant portion of items exceed that value. Some examples are "Charm of Treasure Hunter" shown above, "Emblem of Monster Slayer", "Scroll of Ageless Wisdom". I am still uncertain on how to meaningfully shorten some of those, and surely many other book creators were struggling with this before, and will inevitably struggle after.
It could be argued that there couldn't be much done here, as entry name in list of entries can contain 26 symbols at best, but 6 symbols can be an unimaginably vast difference in such cases, from my experience. There are a couple options that might help to deal with it:
- Wrapping the title in two lines instead of one if width limit is exceeded. Something like that:
Among optimal solutions in my mind. Will only require to give larger amount of space to the wrapped title, since there needs to be some reserved for debug tooltip.
-
Replacing blocky font with slim/bolded slim/some more fancily formatted slim if width limit is exceeded. Might not look as pretty, but anything's better than going out of bounds I guess.
-
Allowing to define title for the first page of the entry in .json file, different from the actual entry name. Solves the issue only partially and might add a little inconsistency because of abovementioned difference. I don't know however, having to name entries dedicated to specific items differently from actual item names does appear as much greater inconsistency already.