Re: Getting our tables to render better in PDF output

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Getting our tables to render better in PDF output
Date: 2020-02-16 20:07:35
Message-ID: 10810.1581883655@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

I wrote:
> One problem with the rightarrow idea is that it's not rendering quite
> right for me: it looks great in HTML, but in PDF it comes out flush
> with the baseline, as you can see in the screenshot. Hopefully
> there's a way to fix that that we can hide in the custom entity ...
> but I have no idea how.

I poked at this a little bit, and found that I could get a pretty
decent-looking result if I hacked the .fo file to contain
"<fo:inline baseline-shift="10%">→</fo:inline>" rather than a bare
right arrow. (See attached screenshot, wherein the last rightarrow
was fixed this way but the others weren't.) However, I do not
have much of a clue as to how such a fix might be injected into
our stylesheets --- anybody have a suggestion?

regards, tom lane

Attachment Content-Type Size
image/png 66.0 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Alexander Lakhin 2020-02-16 21:21:24 Re: Getting our tables to render better in PDF output
Previous Message Tom Lane 2020-02-15 19:04:48 Re: PDF doc build is broken on recent Fedora