Skip to content

Commit

Permalink
PDFBOX-5930: add font name
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1922695 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
THausherr committed Dec 26, 2024
1 parent 7dcf897 commit c95c3c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ protected void writeString(String string, List<TextPosition> textPositions) thro
{
for (TextPosition text : textPositions)
{
System.out.println("String[" + text.getXDirAdj() + ","
+ text.getYDirAdj() + " fs=" + text.getFontSize() + " xscale="
System.out.println("String[" + text.getXDirAdj() + "," + text.getYDirAdj()
+ " font=" + text.getFont().getName() + ":" + text.getFontSize() + " xscale="
+ text.getXScale() + " height=" + text.getHeightDir() + " space="
+ text.getWidthOfSpace() + " width="
+ text.getWidthDirAdj() + "]" + text.getUnicode());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,10 @@ protected void writeString(String string, List<TextPosition> textPositions) thro
{
for (TextPosition text : textPositions)
{
System.out.println( "String[" + text.getXDirAdj() + "," +
text.getYDirAdj() + " fs=" + text.getFontSize() + " xscale=" +
text.getXScale() + " height=" + text.getHeightDir() + " space=" +
System.out.println( "String[" +
text.getXDirAdj() + "," + text.getYDirAdj() +
" font=" + text.getFont().getName() + ":" + text.getFontSize() +
" xscale=" + text.getXScale() + " height=" + text.getHeightDir() + " space=" +
text.getWidthOfSpace() + " width=" +
text.getWidthDirAdj() + "]" + text.getUnicode() );
}
Expand Down

0 comments on commit c95c3c6

Please sign in to comment.