View Issue Details

IDProjectCategoryView StatusLast Update
0000830MetaPostbugpublic2014-03-11 13:27
ReporterTaco Assigned ToTaco  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.800 
Summary0000830: Bad character sizes with svg output and prologues := 1
DescriptionFrom Akira:


Kitagawa-san pointed out that character sizes
are incorrect in outputformat:="svg", in the
case of prologues:=1, in MetaPost 1.802.
He provided the attached patch "svgout.w.diff" to cure the problem.
Additional Information--- svgout.w.orig Tue Apr 23 21:28:12 2013
+++ svgout.w Wed May 22 21:10:46 2013
@@ -986,7 +986,7 @@
    }
   } else {
     mp_svg_open_starttag(mp, "text");
- ds=(mp->font_dsize[gr_font_n(p)]+8) / 16;
+ ds=(mp->font_dsize[gr_font_n(p)]+8) / 16 / 65536.0;
     mp_svg_store_double(mp,ds);
     mp_svg_attribute(mp, "font-size", mp->svg->buf);
     mp_svg_reset_buf(mp);
TagsNo tags attached.

Activities

Taco

2013-05-22 16:52

administrator   ~0001088

patch applied to trunk

Taco

2014-03-11 13:27

administrator   ~0001243

fixed in 1.890

Issue History

Date Modified Username Field Change
2013-05-22 14:25 Taco New Issue
2013-05-22 14:25 Taco Status new => assigned
2013-05-22 14:25 Taco Assigned To => Taco
2013-05-22 16:52 Taco Note Added: 0001088
2013-05-22 16:52 Taco Status assigned => resolved
2013-05-22 16:52 Taco Resolution open => fixed
2014-03-11 13:27 Taco Note Added: 0001243
2014-03-11 13:27 Taco Status resolved => closed