• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Character style issue when exporting to epub

Explorer ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

Im designing a book that have over 120+ pages, and Im using both pargraph and character style, my problem is when I export the book to epub, the word that I use the character style on (bold, color, italic) when exporting it does not have spcae before the word or affter, Im using ITC Avant Garde Gothic Std‭ ‬font which is an open font, I tried different font and it has the same issue, if you can guide me, I dont want to outline the text as I need the search option feature for the word to be open.

attached an example from indesign and epub.

if you can kindly advise on this issue.

 

BR

TOPICS
Bug , EPUB , Import and export , Publish online

Views

1.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Aug 15, 2022 Aug 15, 2022

solved the issue by switching the pargraph style compser, I wanted to update you, thank you

Votes

Translate

Translate
Community Expert ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

Presumably this is a Reflowable ePub (not a FXL ePub)?

How are you viewing the ePub?

What happens when you change the font to a generic sans serif font?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

I exported the book as fixed layout epub, Im viewing the epub from iBook, regarding the font I change it to helvitica but same result.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

FXL plus embedded font — almost certainly a font issue. Try it without embedding the font (uncheck the box in Export).

 

However, Apple/iBook has its flaws as a reader as well. Try it in Thorium before you do anything else.

 


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

I been trying to find the box for un embeding thhe font when exporting with no luck, if you can guide me please.

attached the export box.

appreactiate your fast respond and your kind help

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

I'm sorry, that applies only to reflowable EPUB export. I wrote the post without knowing which you were using.

 

That you are having the problem with another, very common font indicates that may not be the issue. Try the other readers as a starting point.

 


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

I tried Thorium reader as you suggested, same results unfortunately.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

Okay. If Thoriusm shows the spacing issue, it's probably not a reader problem. (Thorium has one known flaw these days, but that's not it.)

 

I assume you've tried a completely clean, new block of text and apply the character style to a few random words, then tried exporting that? (Since you're using Lorem text, I assume so.)

 

Create a new style and don't touch any setting but the font weight, to Bold. Perhaps you set or inherited a bad spacing setting.

 


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

Yes I tried new document, still I have the same problem, I tried different font still the same issue, there are no problem in the pargraph style, the only problem using a character style, I did create new style in a new document, but still the same issue. the spacing is fine in pdf and indesign, its just the character style.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

Very odd.

 

Try creating a few other character styles that change various characteristics (maybe one that specs a different font, another that is just italics, another that changes just font size) and see if those work correctly. Only touch ONE setting in each and start from known-good clean text as you do it.

 

If it's ANY character style, it's one thing; if it's only related to Bold, that's another.

 


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

Yes anything in the character stlyle even if I change only the color it will have the same result, see the attachement as a test.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

I don't see any (spacing) problem in the EPUB example here... did you upload the wrong clip?

 

If the problem is happening with any character style, I'd start to look at an unintended default in your character styles. As you may know, you can set a global default by making changes without an object selected. I would grab some absolutely clean text, apply [None] (character style) to it, then select some text within that block and try creating a new style with bold or color or whatever.

 

Something, somewhere, is transferring over to your character style that (very oddly) only affects EPUB export.

 

Another place to look is in the Export Tagging for any of these problematic styles. There should be no spacing-related content or changes; if there is, you have to figure out how to get it out (such as with the above process). This is a bold style from my current document:

 

JamesGiffordNitroPress_0-1660415067467.png

...and it, properly, has no spacing elements.

 


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

The previous document was a new one as you suggested, yes I attached a wrong image, see bellow the new image with the test file, if you can advise me where I was wrong.

 

appreactiate your support

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

If you checked the Export Tagging as above, and there's no extra CSS code being passed on out to the character style (added thought — check the tagging on the paragraph style as well!), then I'm pretty much stumped as to why you'd have that spacing problem.

 

Upload a sample EPUB that shows this fault for you and I can look at the code. Oh, wait, you did. Let me look at it.

 


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

Ok thank you, waitting for your reply.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

I see no errors, using Calibre reader:

JamesGiffordNitroPress_0-1660419094281.png

 

But I do in Thorium:

JamesGiffordNitroPress_1-1660419174963.png

 

And IceCream Reader (one I don't like very much for a variety of  reasons) shows another variation of the error:

JamesGiffordNitroPress_2-1660419314368.png

...and Adobe Digital Editions renders it exactly this same way.

 

I really don't know what to make of this. I am suspecting it's your fonts, but I'm going to experiment a little more with your file at a more technical level to see if I can isolate it.

 

This is, in all, an example of why I don't like FXL EPUB very much. It works, more or less faultlessly, 9 times out of 10, but is prone to bizarre faults across the spectrum of readers.

 


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

Okay, I am stumped. It appears to be a very deep rendering issue unique to your installation, but I can't see why.

 

There is nothing unusual or faulty in the CSS of the export. None of the span styles (CSS equivalent of character styles) contain any spacing elements at all.

 

Deleting the embedded fonts (and thus making it use my system versions of Avant Garde) has no effect.

 

The XHTML code for the page is the usual complex mess, with each group of words having an extensive position definition wrapped around it. For some reason, some readers execute this properly, and others don't. It's the variation that completely stumps me.

 

It is, however, something deep in this export code, and it's peculiar to your setup, if not unique.

 

It occurs to me that you may be using a Middle East Languages setup, and that's part of what's causing the odd positioning. I'm hazy on how this works, but you might switch this document to the basic composer and not the MEL/world one. That might be what's confusing the EPUB structure, which often has problems with RTL languages and the like. (Someone with more experience on the RLT/MEL setup and the variant composers could probably be more specific, here, but maybe that's enough of a pointer for you to figure it out?)

 


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

can you try to export it from your indesign mayeb becouse as you said my application is the middel east version.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

Oh, I didn't see the INDD file up there. 😛

 

Done; my copy of ID really doesn't like the file and took so long to load it I thought it had locked up. But the export is fine in Calibre Reader and faulty in Thorium.

 

I'd say the issue is in your INDD file setup, probably caused by the MEL components of your installation. I have no hands-on experience with that version, but it's probably the right direction to look for a fix.

 

 


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

Thank you so much for your time, I will experiment on your shared advise and hopefully I can find solution from your answer.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 15, 2022 Aug 15, 2022

Copy link to clipboard

Copied

solved the issue by switching the pargraph style compser, I wanted to update you, thank you

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 15, 2022 Aug 15, 2022

Copy link to clipboard

Copied

Yay! Took a while to get there but it's nice when there's a simple answer at the end.

 


╟ Word & InDesign to Kindle & EPUB: a Guide to Pro Results (Amazon) ╢

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

I really appreactiate your help, waiting for the result of your experimentations 

 

many thanks for your time

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

Look like Adobe Digital Editions which is a hot mess. Try Thorium or the Books app on Mac/iOS/iPadOS.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 13, 2022 Aug 13, 2022

Copy link to clipboard

Copied

yes im viewing it in book app on mac, same issue 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines