jsPDF icon indicating copy to clipboard operation
jsPDF copied to clipboard

how to set underline font style in jspdf? I have used setFontStyle method to set it, but it is not working. If anyone know can you please help me

Open vamsipriyamaddipatla opened this issue 8 years ago • 6 comments

Thank you for submitting an issue to jsPDF. Please read carefully.

Are you using the latest version of jsPDF?

Have you tried using jspdf.debug.js?

Steps to reproduce

Ideally a link too. Try fork this http://jsbin.com/rilace/edit?html,js,output

What I saw

What I expected

vamsipriyamaddipatla avatar May 05 '17 14:05 vamsipriyamaddipatla

It needs the annotations for underline. Dont know if they are implemented yet.

Uzlopak avatar May 26 '17 23:05 Uzlopak

Still no support for underline?

ackvf avatar Nov 25 '18 20:11 ackvf

Hi is it available now?

saqibsoftwares avatar Feb 08 '19 14:02 saqibsoftwares

https://github.com/psFrankenstein/jsProblem.git i hope it will solve your problem

ghost avatar Oct 06 '19 17:10 ghost

This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.

github-actions[bot] avatar Jul 15 '20 01:07 github-actions[bot]

https://github.com/psFrankenstein/jsProblem.git i hope it will solve your problem

Your solution does work. However, can you explain what you s1Wordount is in your code? And what are these calculations doing? What's 190?

s1Wordount = 190 - (x - 5);

s1Wordount = 191 - (x - 5);

s1Wordount = 190 - (x - 8);

str1height = y + ((3.2) * Str1WidthCount); 

Pranoy1c avatar Feb 17 '21 02:02 Pranoy1c