Elements that have a set width become wider when they have padding and/or border-width. To avoid these problems, make use of the now common box-sizing: border-box; reset.
<pageSet> <page> <text x="5%" y="10%" font-family="Arial" font-size="12"> I scale to the page, but leave an empty 10% margin for comments. </text> </page> </pageSet>