Updated named trees in catalog to fulfill PDF 2.0 specification

This commit is contained in:
Jakub Melka
2020-08-01 18:24:33 +02:00
parent 534ff8e814
commit fa30ed37bb
4 changed files with 175 additions and 13 deletions

View File

@ -59,6 +59,11 @@ PDFPageInheritableAttributes PDFPageInheritableAttributes::parse(const PDFPageIn
rotation = rotation - fullCircles * 360;
}
if (rotation < 0)
{
rotation += 360;
}
switch (rotation)
{
case 0: