Ah, thank you! I spent a couple of hours trying to figure it out, which
resulted in a lot of unusable PS output :) I had assumed that it would
be somewhat easy using a per entry PS line.
Thank you for explaining WHY it works the way it does, and thus is not
as easy as I thought.
On 12/30/21 15:23, Dianne Skoll wrote:
On Wed, 29 Dec 2021 23:11:57 -0600
Matt via Remind-fans <[email protected]> wrote:
I am trying to figure out a way to increase the font size for
specific reminders when creating a PDF calendar using rem2ps.
Ah, interesting. That is a *lot* harder than you might think.
The reason is that the code that does line-wrapping (ie, splitting
of lines on word boundaries for long reminders) is actually written in
PostScript. That way, the C code doesn't need to know anything about
font metrics.
What you might have to do is look at the PostScript generated for a
MSG-type reminder and then edit it. For example, this reminder:
REM MSG Hello, world!
generates the following PostScript:
% =============
[
[(Hello,)(world!)
()()]
]
(1) 1
DoCalBox
% =============
Unfortunately, the DoCalBox routine does *all* of the reminders for a
given day. You can attempt to use a PS-style reminder, but it's
very unlikely to work because it will interact badly with existing
MSG-style reminders.
So... I don't see an easy way to do what you want other than
using something like ps2ps to simplify the PostScript code,
and then post-processing it... Not an appetizing prospect by
any means.
Regards,
Dianne.
_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/