Project

General

Profile

Bug #11739

Wrong border for some format sizes

Added by Christian Mandel 2 months ago. Updated 27 days ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
Darkroom
Target version:
Start date:
09/13/2017
Due date:
% Done:

100%

Affected Version:
2.2.5
System:
Ubuntu
bitness:
64-bit
hardware architecture:
amd64/x86

Description

For some border configurations, the border is drawn wrong, while it is correct for the same settings and another format/aspect ratio. See e.g. the comparison of

and

dt2.png (231 KB) Christian Mandel, 09/13/2017 11:21 PM

dt1.png (240 KB) Christian Mandel, 09/13/2017 11:21 PM

History

#1 Updated by Pascal Obry about 2 months ago

I think this is expected as the selected format is A4 and the image is not A4. So there is some white borders present. In your case I think using the "constant border" format will get you the expected result.

#2 Updated by Christian Mandel about 2 months ago

Hi Pascal, thanks for the reply. I saw that there were some fixes concerning borders after your comment which I did not check yet, but I wanted to respond anyway. The image is not A4 format, but is neither 30:21, where no border is visible. The additional border is asymmetric as well, e.g. thrice the size on the left or no border on the right or similar, dependent on the actual settings. I still think this is a bug and most probably a rounding error. Unfortunately, I was not able to find the problem in the code by myself.

#3 Updated by Pascal Obry about 2 months ago

  • % Done changed from 0 to 100
  • Status changed from New to Fixed

I have indeed fixed some issues found while investigating this ticket. But it was not directly (or I miss understood) related to your report. Anyway, please check latest release.

#4 Updated by Roman Lebedev 27 days ago

  • Target version changed from Candidate for next patch release to 2.4.0

Also available in: Atom PDF