Awn

Drawing bug on top border

Bug #139342 reported by Andrea Cimitan on 2007-09-13
2
Affects Status Importance Assigned to Milestone
Awn
Undecided
haytjes

Bug Description

As you can see in the screenshot there's a 0.5px misalignment which cause the top border to cover two pixels.

A fix is to draw the line 0.5 pixel below or upon (in the right position so you'll have 48 pixels!)

Andrea Cimitan (cimi) wrote :
Andrea Cimitan (cimi) wrote :
haytjes (h4writer) wrote :

You're talking about the black line and the white line? You think the white line should come 0.5px down?

Changed in awn:
assignee: nobody → h4writer
Andrea Cimitan (cimi) wrote :

try to render the black line 0.5 px up.

Andrea Cimitan (cimi) wrote :

and if you still have weirdness so it's the white line that is drawn in the wrong position.
take a look at the code.
These cairo bugs are due to the offset sometimes, for example
  cairo_rectangle (cr, x, y + 0,5, width, height);
while it should be
  cairo_rectangle (cr, x, y + 0,5, width, height-1);

haytjes (h4writer) wrote :

done, thank you

Changed in awn:
status: New → Fix Committed
Changed in awn:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers