pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-docs@lists.postgresql.org
Subject: Re: Getting our tables to render better in PDF output
Date: Sun, 16 Feb 2020 15:07:35 -0500
Message-ID: <10810.1581883655@sss.pgh.pa.us> (raw)
In-Reply-To: <23574.1581555393@sss.pgh.pa.us>
References: <20200212221818.GA15503@alvherre.pgsql>
	<23574.1581555393@sss.pgh.pa.us>

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

Attachments:

  [image/png] baseline-shift.png (66.0K, ../10810.1581883655@sss.pgh.pa.us/2-baseline-shift.png)
  download | view image

view thread (29+ messages)  latest in thread

Message-ID: <10810.1581883655@sss.pgh.pa.us>
Permalink:  ../10810.1581883655@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10810.1581883655@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-docs@lists.postgresql.org
  Subject: Re: Getting our tables to render better in PDF output
  In-Reply-To: <10810.1581883655@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox