[Dot] para->height is less than para->fontsize
Ported Issue from Mantis Original ID: 1533 Reported By: steve roush
SEVERITY: MINOR Submitted: 2009-02-13 05:46:47
OS: X86-LINUX-
VERSION: 2.20.3
DESCRIPTION
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".
STEPS TO REPRODUCE
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
ADDITIONAL INFORMATION
I've added a work-around to my VML plug-in.