Debian Patches

Status for mscgen/0.20-15

Patch Description Author Forwarded Bugs Origin Last update
language.y-parse-param.patch Use %parse-param to ensure that yyparse is generated with the proper prototype.

diff --git a/src/language.y b/src/language.y
index 1b6db52..d2c466f 100644
width-never-less-than-zero.patch don't make width < 0 with an off-by-one fix-up gdoTextWidth() tries to correct an off-by-one error in the calculated width
of a text bounding box; but doesn't account for the possibility that the
bounding box has a size of zero (which is the case in latest libgd for
zero-width text). Account for this so we aren't accidentally returning
-1 where we mean 0.

Steve Langasek <> no debian 2020-05-15
png-pad-text-height.patch bump PNG text height a bit At some point, the PNG text started to have lessing spacing between lines
and part of the text would expand beyond the upper part of the entity
(e.g. the box). This patch is not perfect (e.g. the lower part of a "g"
will still sometimes disappear into an arc, but it at least "fixes"
(or works around) most of the other problems.

diff --git a/src/gd_out.c b/src/gd_out.c
index 64d82b2..bb64ced 100644

All known versions for source package 'mscgen'