Rendering pi more nicely in PDF

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Rendering pi more nicely in PDF
Date: 2020-04-26 19:13:35
Message-ID: 10598.1587928415@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

In the department of nitpickery ...

"&pi;" renders poorly in our PDF docs: as shown in the attached
screenshot, it doesn't line up on the baseline. I realized that
this is the same problem I'd run into recently with right-arrow,
and it can be solved in the same way, namely we have to specify
use of the symbol font explicitly. So attached is a proposed
patch to fix it.

Use of a new processing-instruction might not be the most elegant
way to do this ... anyone have a better suggestion?

(BTW, I tried to use "&pi;" in the stylesheet files and it
didn't work; apparently that entity isn't loaded yet.)

regards, tom lane

Attachment Content-Type Size
render-pi-nicely.patch text/x-diff 2.0 KB
image/png 24.3 KB

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message yigong hu 2020-04-26 19:24:51 Re: explanation for random_page_cost is outdated
Previous Message Tom Lane 2020-04-26 15:46:34 Re: [PATCH] Clarified websearch_to_tqsuery syntax in textsearch.sgml