[reportlab-users] font weights

Andy Robinson andy at reportlab.com
Mon Dec 4 02:30:06 EST 2006


Jerome Alet wrote:

> If you know the exact position of this word, and can "print" it

> independantly from the rest, you could slightly increment

> the canvas' scale before printing this word, something like

> (untested) :


You could also try printing once; then shift right by
a tiny fraction (say 0.5 points) and reprint; then maybe up 0.25 and
back 0.25, and print again. That would thicken up all the lines. You
want to shift it by a small percentage of a typical stroke width in
one of the characters - vertically and horizontally. It's a bit like
an old typewriter or dot matrix printer going back and doing it again.


Another effect which is much neater is to do most of your text in,
say, 80% gray; and the bold words in black.

- Andy


More information about the reportlab-users mailing list