Bottom margin vs. descenders question

Paulo Ney de Souza pauloney at gmail.com
Fri Jun 26 17:54:22 CEST 2020


Peter,

I fail to see how the screenruler would work to automate the checking of
hundreds of files. Could you elaborate?

Paulo Ney

On Fri, Jun 26, 2020 at 8:31 AM Peter Flynn <peter at silmaril.ie> wrote:

> On 26/06/2020 14:29, Doug McKenna wrote:
> [...]
> > My question had to do with how my application should visually
> > determine a breached margin, without having any knowledge of the
> > document structure inside the PDF.  All I've got are pixels,
> > 72/inch.
>
> If you're on Linux, install screenruler from your distribution's
> repositories (eg using sudo apt install screenruler)
>
> On Windows, a similar utility is at
> https://sourceforge.net/projects/screenruler/
>
> I'm sure there is an equivalent for Macs too (screensruler is written in
> Ruby, so it might work).
>
> > It's all a bunch of heuristics and hacks for one particular set of
> > pages and one particular set of formatting guidelines, but it seems
> > to be working for nearly all cases.
>
> It sounds like you're doing all the right things. I'm sorry it's so
> tedious.
>
> Peter
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20200626/708a5522/attachment.html>


More information about the texhax mailing list.