PDFBOX-2262/PDFBOX-2315: Fix refactored text positioning to handle glyph spacing correctly

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1622529 13f79535-47bb-0310-9956-ffa450edef68
PDFBOX-2302: Workaround JDK 1.7 RenderingHints bug

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1622532 13f79535-47bb-0310-9956-ffa450edef68