Skip to content

Commit fdac18f

Browse files
committed
Fixes #694 Incorrect size for B3 paper.
Thanks a lot @lfintalan!
1 parent 39fa14b commit fdac18f

File tree

1 file changed

+3
-3
lines changed
  • openhtmltopdf-core/src/main/java/com/openhtmltopdf/css/parser/property

1 file changed

+3
-3
lines changed

openhtmltopdf-core/src/main/java/com/openhtmltopdf/css/parser/property/PageSize.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ public class PageSize {
4848
new PropertyValue(CSSPrimitiveValue.CSS_MM, 420f, "420mm"));
4949

5050
/**
51-
* ISO B3 media: 176mm wide by 250mm high
51+
* ISO B3 media: 353mm wide by 500mm high
5252
*/
5353
public static final PageSize B3 = new PageSize(
54-
new PropertyValue(CSSPrimitiveValue.CSS_MM, 176f, "176mm"),
55-
new PropertyValue(CSSPrimitiveValue.CSS_MM, 250, "250mm"));
54+
new PropertyValue(CSSPrimitiveValue.CSS_MM, 353f, "353mm"),
55+
new PropertyValue(CSSPrimitiveValue.CSS_MM, 500f, "500mm"));
5656

5757
/**
5858
* ISO B4 media: 250mm wide by 353mm high

0 commit comments

Comments
 (0)