Jump to content
We've recently updated our Privacy Statement, available here ×

crominium

Members
  • Posts

    6
  • Joined

  • Last visited

crominium's Achievements

Rookie

Rookie (2/14)

  • First Post Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. yes, the same goes with the 1 pix line and box alignment. I reported that as a BUG (obviously it is), hope for a reply from the jasper developers.
  2. http://www.shrani.si/f/S/Dg/4nWb2Jit/lineproblem2.jpg Description of the picture : Visible are 4 pixels (I drawn this so I can explain exact), line width 0.5 pix, lines start on the same pixel. Obviously the line alignment is right and bottom and jasperreports does not support any influence on that alignment. So at line width 0.5 pix we have this problem. Is this a bug or a feature you decide ;) Try to draw two lines as I did and you'll see what happens. Still there is no solution for this problem.
  3. Hello ! http://www.shrani.si/f/3B/YV/j8mEd3b/lineproblem.jpg We have a problem with the lines in the jasperreport when they are smaller than 1 pix (0.5 as on the picture). You can see the alignment of the static text with the 0.5 border and the rectangle with the 0.5 thickness are the same, the line holding together with the rectangle is positioned on the same pixel as the both (rectangle,static text) but the line is aligned right in that exact pixel, the box and its border is alligned left in the also same pixel. Either iReport nor jasperReports is not giving an option for the line alignment (left, center, right) or something similar. What do you suggest? We currently are using an old version of jasperReports 0.6.1. to be exact - if i draw a line in the old designer the code looks like this : <line direction="TopDown"> <reportElement mode="Opaque" x="436" y="1" width="346" height="0" forecolor="#000000" backcolor="#FFFFFF" positionType="FixRelativeToTop" isPrintRepeatedValues="true" isRemoveLineWhenBlank="false" isPrintInFirstWholeBand="false" isPrintWhenDetailOverflows="false"/> <graphicElement stretchType="RelativeToBandHeight" pen="Thin" fill="Solid" /> </line> In the 3.7.0. the pen type Thin dissapears and you offer 0.25,0.5,1…pixel width of the line. <line> <reportElement stretchType="RelativeToBandHeight" mode="Opaque" x="0" y="1" width="1" height="11" forecolor="#000000" backcolor="#FFFFFF"/> <graphicElement fill="Solid"> <pen lineWidth="0.5" lineStyle="Solid"/> </graphicElement> </line> If i open an old report made with the 0.6.1. version the lines are not anymore aligned or in other words, the Thin is converted in the 3.7.0 version to 0.5 pix, which is right, just the alignment of the lines isn't anymore. I assume in the old version you had a centered alignment for the lines and in the 3.7.0 version you allign the rectangles and graphical elements left in the pixel, the lines are alligned right?This happens only if the line width is not a whole number, thin lines are very useful and 1 pix line width is very strong. What is the solution for our problem?
×
×
  • Create New...