Skip to content
New issue

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

font size is changing #28

Open
1289naveen opened this issue Jul 11, 2018 · 6 comments
Open

font size is changing #28

1289naveen opened this issue Jul 11, 2018 · 6 comments

Comments

@1289naveen
Copy link

while converting from pdf to html the font size in the style tag is changing so the overlapping of text problem is coming.please check that
Thank you.

@AdeshAtole
Copy link

@1289naveen Can you provide the PDF you used?

@1289naveen
Copy link
Author

sampletesting2.pdf
once check this(this is sample file.in this file only some part of the file is overlapping.I wont share my file due to sensitive information so please check the attached file)

@xishaoisnewer
Copy link

hi all ,i met the same porblem,someone have a solution
default

@weitiancai
Copy link

oh! bad luck, i met the same problem too ...
image
i think the only way to fix it is to change the every html tag's width or letter-spacing or fontsize ,but how can i make it? is there any function can do that ?

@d55rrr
Copy link

d55rrr commented Jun 26, 2019

I have solved this problem. In my case,the overlapping is caused by minus letterSpacing value. I modify the constructor of Class BoxStyle ,add :
if(src.getLetterSpacing()<0) {
this.setLetterSpacing(0);
}

@l7810
Copy link

l7810 commented Jul 12, 2022

oh! bad luck, i met the same problem too ... image i think the only way to fix it is to change the every html tag's width or letter-spacing or fontsize ,but how can i make it? is there any function can do that ?

Has the problem been solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants