Awn

Drawing bug on top border

Bug #139342 reported by Andrea Cimitan
2
Affects Status Importance Assigned to Milestone
Awn
Fix Released
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!)

Revision history for this message
Andrea Cimitan (cimi) wrote :
Revision history for this message
Andrea Cimitan (cimi) wrote :
Revision history for this message
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
Revision history for this message
Andrea Cimitan (cimi) wrote :

try to render the black line 0.5 px up.

Revision history for this message
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);

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.