View Single Post
Old 07-19-2016, 10:14 PM   #586
MCBastos
Enthusiast
MCBastos began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Jan 2012
Location: Brazil
Device: Galaxy A71
Exclamation Text parsing bug

OK, I just noticed an odd bug with the way Generate Cover processes the data fields:
If there's an "&" character, it treats it as if it were " & " -- that is, it inserts spaces before and after the "&" character.
Which results in ugly extra spaces whenever it runs into an "&" -- like, say, for a book with two authors.
Partial workaround: manually edit the text in the "content" tab so "&" is not surrounded by spaces -- that reduces the double space to single spaces. AFAIK, however, there is no way to have the "&" surrounded by no spaces at all.

EDIT: Further experimenting revealed a few more details -- on initial load of the plugin, it performs as expected (no extra spaces). But if you change any of a variety of parameters (font size, which fields should appear on the cover etc.) then the extra spaces suddenly appear.

Last edited by MCBastos; 07-19-2016 at 10:35 PM.
MCBastos is offline   Reply With Quote