Extra space inserted after double quote for pdf output

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Extra space inserted after double quote for pdf output

tuhlmann
Hi,

I've created my first document with Asciidoctor and I have a question on the pdf rendering.
Whenever a character follows a double quote ("` ... `") or single quote ('`... `')  only in pdf
output some extra space is inserted (see screenshot):



That looks weird for punctuation which should be attached to the characters in front.
Is there some way to workaround this problem, or is there something I'm doing wrong?

The version I'm using is:
Asciidoctor PDF 1.5.0.alpha.11 using Asciidoctor 1.5.4

Thanks,
Torsten.

Reply | Threaded
Open this post in threaded view
|

Re: Extra space inserted after double quote for pdf output

mojavelinux
Administrator
Torsten,

I tried to reproduce your issue, but I was not yet able to. I need to ask a few questions so I can better understand the circumstances that are leading to your result:

* Are you using a custom theme file (i.e., pdf-style) when generating the PDF?
* Could you provide a longer excerpt in AsciiDoc format so that I can see if the problem is in how you are formatting the AsciiDoc content?
* Which PDF viewer are you using?

-Dan


On Tue, Mar 15, 2016 at 5:00 AM, tuhlmann [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi,

I've created my first document with Asciidoctor and I have a question on the pdf rendering.
Whenever a character follows a double quote ("` ... `") or single quote ('`... `')  only in pdf
output some extra space is inserted (see screenshot):



That looks weird for punctuation which should be attached to the characters in front.
Is there some way to workaround this problem, or is there something I'm doing wrong?

The version I'm using is:
Asciidoctor PDF 1.5.0.alpha.11 using Asciidoctor 1.5.4

Thanks,
Torsten.




If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Extra-space-inserted-after-double-quote-for-pdf-output-tp4511.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen
Reply | Threaded
Open this post in threaded view
|

Re: Extra space inserted after double quote for pdf output

tuhlmann
Dan,

thanks for the reply!

Your questions solved the problem :)
I was using this example project to set up my book: https://github.com/chloerei/asciidoctor-book-template

The pdf rendering uses special fonts that introduce that problem. Once I rendered the document with the default style all looked good.

Thanks for your help,
Torsten.