View Single Post
Old 09-05-2013, 11:14 PM   #15
PatNY
Zennist
PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.
 
PatNY's Avatar
 
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
Charles, I'm feeling somewhat ....


+ ish

Here I ask you for an enhancement to CC, and it darn near breaks the layout for some! I hope it's not impacting too many of your customers.

When you wake up on the other side of the pond tomorrow after a good night's sleep, hopefully the right answer will be clear to you.

Whatever you decide to do I'm fine with. Even if you go back to the way it was. But showing the full html for the comments appears to be common. I checked with Stanza, which I haven't used for ages, and it too shows the variation in type sizes in the book details page. It's something I never noticed before because I never stored a lot of books in it. I never used it for heavy library management like I do with CC.

After a little investigation tonight, I finally discovered what was inserting the font style & size tags into my comment sections. It happened whenever I copied and pasted text from a field inside of Calibre into the comments section. I often do that using the "Title" field when a book has a long subtitle. It has been happening for a long time, and though I had noticed this code before, I never had a clue how it got there.

I also discovered that if I pasted the text right next to existing normal text in the comments field (without spacing in between) then the font style and size tags would not be inserted. So at least there's a workaround.

Is this expected behavior for Calibre? Is it desirable? If not, is it something that can be even fixed? Or is it a Windows or Windows XP thing? I can’t imagine the intent was ever to insert a font family and font size when simply copying text from one of Calibre’s user fields into the comments box.

At any rate, now that I know how the font tags got there, I can avoid the problem in the future. In a way I'm glad this came about because it revealed an issue with my book comments that I didn't realize existed and also pointed the way to a workaround. Over time, I'll also be fixing all the comment fields that have the unwanted font sizes. Luckily the problem inflicts less than 1/4 of my books, and it's fairly fast to fix using the "download metadata" button.

--Pat
PatNY is offline   Reply With Quote