Lightroom Classic: Error Saving PDF - "An error occurred while saving the book: an error occurred adding text and fonts to the book."

  • 1
  • Problem
  • Updated 4 months ago
  • In Progress
  • (Edited)
"An error occurred while saving the book: an error occurred adding text and fonts to the book."
I am running Windows 10 (v10.0.17134); LR Classic CC v8.0 and v7.5 (to avoid yet another bug) both get the same error. i7-6700K with 16GB RAM, loads of free disk space, 15GB RAW cache, etc so no limitations that should cause problems. I have published around 15 books from LR on Blurb ever since the Book module first appeared; they all use the same layout standards and fonts so nothing new in this book. 

The book was producing a PDF and also uploading to Blurb until I edited some text fields and expanded one text box.  I have tried the community-selected workaround of selecting all text fields (Ctrl-Alt-A) and changing fonts to Arial then back to Myriad Pro (I have always used Myriad Pro except for Georgia on the cover) but still does not work.  Tried both v8.0 and v7.5 but neither work. No text or image boxes added so can't have any new empty boxes (and I am pretty sure there never were any previously). No zero-sized photos or excessive padding on boxes.


After MANY hours of testing I found a fix, at least for my particular case.  I can send a 2MB catalog with a reproducible error and a way of making it work, which also illustrates the bug of LR v8.0 not saving changes in the Book module.  

I narrowed it down to a single line-and-a-bit of text in Myriad Pro; if this word-wraps to a second line in the paragraph then it will not produce a pdf unless I change font to Arial.  If I remove a few letters so it doesn't word wrap, or put in a hard paragraph break at the end of the line instead of letting it word-wrap, then it will produce a pdf in Myriad Pro. Unfortunately if I add the paragraph break and change the first line to "Justify-last line justified" (so that it formats the same as if it did a word-wrap) then it won't generate a pdf; I need to make it "Justify-last line left" and add a short word to the sentence to make the line reach the right border and look the same as if the wordwrap was working.
Photo of Alan

Alan

  • 8 Posts
  • 1 Reply Like
  • Very frustrated

Posted 5 months ago

  • 1
Photo of Prabal Ghosh

Prabal Ghosh, Computer Scientist

  • 26 Posts
  • 6 Reply Likes
Hi Alan,
Can you please share the catalog where the error is reproducible.
Photo of Alan

Alan

  • 8 Posts
  • 1 Reply Like
Sorry Prabal; I don't seem to get email notifications of many replies to my problem notifications so I didn't see your reply.  How do I share the catalog?  I would have attached it to the initial comment if I could see how.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 15328 Posts
  • 2224 Reply Likes
I sent you and email and CC-ed Prabal from engineering with instructions for sharing a catalog with him.
Photo of Alan

Alan

  • 8 Posts
  • 1 Reply Like
Thanks.  I replied via email.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 14841 Posts
  • 2021 Reply Likes
Thanks. Will let you know if we need anything else.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 15328 Posts
  • 2224 Reply Likes
Thanks. Engineering was able to reproduce with your catalog and is looking into it. Thanks!