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

Underline text in cell #2

Open
bretthodel opened this issue Sep 17, 2015 · 1 comment
Open

Underline text in cell #2

bretthodel opened this issue Sep 17, 2015 · 1 comment

Comments

@bretthodel
Copy link

Thanks for this great commit...I have appreciated the bug fixes contained.

I am seeing a problem when trying to output a cell with the formatting set to underlined...the underline is placed at the bottom of the page. Please see my code snippet and attached screenshot. Any help you can provide would be greatly appreciated.

pdf.setFont("arial",new HashSet<FontStyle>(Arrays.asList(FontStyle.UNDERLINE)), 12);
pdf.Cell(60, 5,"Col Header 1");
pdf.Cell(0, 5,"Col Header 2");
pdf.Ln(5);

pdf_underline_issue

@borisbrodski
Copy link
Owner

I'm sorry, but I'm afraid, I will not be able to help you. The library was full of bugs and I fixed some of it, but not all. Your problem requires some time to look into the generated PDF and to figure out, how it can be fixed. I'm afraid, I don't have this time right now. Sorry.

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

2 participants