Graph containing only Note does not display


#1

We were attempting to use Graph paragraphs to create floating text blocks and discovered the Aspose.pdf will not render any graph that contains only Note objects. This include not even reserving the space declared in the Width and Height fields.

Please fix this. (It is not urgent, as there is a silly workaround-- adding a line that has no length [from 0 0 to 0 0], causes the component to render the graph.)

The following XML is based on the Note example in your documentation and contains three graphs.
* the original example, which is rendered.
* A graph containing only a note which is ignored
* A graph containing a zero length line to trick the component into rendering the graph.

<?xml version="1.0" encoding="utf-8"?>

<Section PageHeight=“792” PageWidth=“612” PageMarginLeft=“50”
PageMarginRight=“40” PageMarginTop=“102” PageMarginBottom=“36”>

Graph Note Below is displayed



This is a circle.


Above Missing Graph


This is a circle.


Below Missing Graph


Above 1 Pixel Line



This is a circle.




#2

Dear tbjerstedt,

Thanks for your consideration.

I will fix this bug soon.


#3

Dear tbjerstedt,

Thanks for your consideration.

The bug is fixed. Please download hot fix here.