We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After adding the word according to the coordinate of the word, there will be an extra space after some words are copied.
Code to reproduce the issue
Some core code: BaseFont baseFont = BaseFont.createFont(curFontPath, BaseFont.IDENTITY_V, BaseFont.EMBEDDED); PdfContentByte cb = writer.getDirectContentUnder(); cb.beginText(); cb.setFontAndSize(baseFont, fontHeight); cb.setGState(gState); cb.showTextAligned(PdfContentByte.ALIGN_LEFT, txt, x, y, 0); cb.endText();
We want the copied word to have no Spaces
郝𭣣 忠𫠡 陵
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
After adding the word according to the coordinate of the word, there will be an extra space after some words are copied.
To Reproduce
Code to reproduce the issue
Some core code:
BaseFont baseFont = BaseFont.createFont(curFontPath, BaseFont.IDENTITY_V, BaseFont.EMBEDDED);
PdfContentByte cb = writer.getDirectContentUnder();
cb.beginText();
cb.setFontAndSize(baseFont, fontHeight);
cb.setGState(gState);
cb.showTextAligned(PdfContentByte.ALIGN_LEFT, txt, x, y, 0);
cb.endText();
Expected behavior
We want the copied word to have no Spaces
Screenshots
郝𭣣 忠𫠡 陵
System
The text was updated successfully, but these errors were encountered: