You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
status RESOLVED severity normal in component general for ---
Reported in version 1.6.3-SVN on platform Other
Assigned to: Dimitri van Heesch
On 2010-05-14 14:26:57 +0000, Jan Schmidt wrote:
Overview:
Collaboration diagramms which have both a width larger than maxWidth AND an
height larger than maxHeight exceed the page border if width/maxWidth is less than height/maxHeight.
Patch:
in src/dot.cpp:2020
in function QCString DotClassGraph::writeGraph(...)
instead of:
if (width>maxWidth)
{
out << "\\includegraphics[width=" << maxWidth << "pt]";
}
else if (height>maxHeight)
{
out << "\\includegraphics[height=" << maxHeight << "pt]";
}
else
{
out << "\\includegraphics[width=" << width << "pt]";
}
write this:
if ( (width>maxWidth) || (height>maxHeight) )
{
if ( (float)width/(float)maxWidth > (float)height/(float)maxHeight )
{
out << "\includegraphics[width=" << maxWidth << "pt]";
}
else
{
out << "\includegraphics[height=" << maxHeight << "pt]";
}
}
else
{
out << "\includegraphics[width=" << width << "pt]";
}
On 2010-05-16 10:01:48 +0000, Dimitri van Heesch wrote:
Thanks for the patch.
I'm currently reworking dot.cpp, and I'll include your patch while I'm at it.
On 2010-06-15 11:22:25 +0000, Dimitri van Heesch wrote:
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.0. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.
The text was updated successfully, but these errors were encountered:
status RESOLVED severity normal in component general for ---
Reported in version 1.6.3-SVN on platform Other
Assigned to: Dimitri van Heesch
On 2010-05-14 14:26:57 +0000, Jan Schmidt wrote:
On 2010-05-16 10:01:48 +0000, Dimitri van Heesch wrote:
On 2010-06-15 11:22:25 +0000, Dimitri van Heesch wrote:
The text was updated successfully, but these errors were encountered: