|07-19-2016, 10:14 PM||#586|
Join Date: Jan 2012
Device: Nexus 4
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.
|07-20-2016, 06:14 AM||#587|
Join Date: May 2014
Device: Kobo Glo HD
I coincidentally had a cover with '&' this morning and paid attention. It should be noted that my '&' was in the title and no extra spaces appeared. I modified my author to have '&' and the extra spaces did indeed appear when I removed my custom text as a test.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|[GUI Plugin] Open With||kiwidude||Plugins||284||07-17-2016 10:22 PM|
|[GUI Plugin] Goodreads Sync||kiwidude||Plugins||863||06-26-2016 07:51 PM|
|[GUI Plugin] User Category||kiwidude||Plugins||53||11-23-2015 01:53 AM|
|[GUI Plugin] Quick Preferences||kiwidude||Plugins||32||09-13-2014 10:34 PM|
|[GUI Plugin] Clipboard Search||kiwidude||Plugins||9||08-12-2014 03:36 AM|