Number: 1574
Title: para->height is less than para->fontsize
Submitter: steve roush
Date: Fri Feb 13 00:46:47 2009
Subsys: Dot
Version: 2.20.3
System: x86-Linux-
Severity: minor
Problem:
While testing a re-written VML plug-in, I found that occasionally para->height is less than para->fontsize (see textpara.h). This happens even when the string includes capital letters and letters with descenders. This causes problems because VML clips the "textbox".
Input:
The problem only occurred in the following .dot files - and only for some of the text strings.
 graphs/directed/table.html
 rtest/graphs/html2.html
 rtest/graphs/html.html
 rtest/graphs/ports.html
 rtest/graphs/url.html
 rtest/nshare/html2_dot.html
 rtest/nshare/html_dot.html
 rtest/nshare/ports_dot.html
In all cases para->height = 11.67 while para->fontsize = 14.00
Here are the 4 strings for rtest/nshare/ports_dot.html:
LEFT
MIDDLE
RIGHTTOP
RIGHTBOTTOM
Comments: I've added a work-around to my VML plug-in.
Owner: *
Status: *