Hello. This is my first time posting, so I apologize beforehand if this is not the place to post this question. My team is having issues with the stroke option on INDD. We usually put a white stroke around the text, but there's transparency showing when the text is placed over a dark background. It only happens around punctuation marks. An important thing to note is that this is not directly visible on INDD. It is only visible when exporting the files to PDF, and opening the PDF on a browser or uploading it to a website (it's not visible when opening the PDF on Adobe). I'm attaching an image as an example.
Would anyone happen to know what causes this and have a solution for it?
What's happening in the example isn't really easy to see. It all just looks kind of messy. A more demonstrative example might help. But in any case, I'm not really sure what to say about this; applying a stroke to live text is often a risky endeavor that can produce varied results depending on the size of the type, the size of the stroke, the integrity of the font, etc.
If Steve's answer isn't completely clear, there is a great deal of variation between PDF viewers. The absolute one is always Adobe Acrobat Reader, of course, and there are good aftermarket/third party ones. However many of those implement variations and shortcuts that mean "fancy" elements such as selective transparency might not be handled well, at all, or the same way Acrobat Reader does it.
And the PDF viewers built into web browsers are, for the most part, convenience utilities with very limited rendering range. They are meant for viewing simple PDF documents with ease, not being fully up to all PDF abilities such as transparency, interactive controls, etc.
If (as Steve notes) your audience is web users, you will have to work to the limitations of the common web readers. If you want 'perfect' performance, you will have to limit or direct your readers to using genuine Acrobat Reader.
— | Word & InDesign to Kindle & EPUB: a Pro Guide (Amazon)