GithubHelp home page GithubHelp logo

jspdf's People

jspdf's Issues

sprintf is not defined

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 30 Apr 2012 at 11:10

File extension wrong on the demo

What steps will reproduce the problem?
1. Running the code in the demo
2.
3.

What is the expected output? What do you see instead?
a .pdf file   I see a .pdf.part file


What version of the product are you using? On what operating system?
demo version, mac OSX leopard

Please provide any additional information below.
Probably a simple fix.  When I run the code, the file I am able to download
has a bad file extension.  It reads filename.pdf.part instead of filename.pdf


Original issue reported on code.google.com by [email protected] on 23 Jun 2009 at 5:32

How to paste an image in pdf if its size is more than page size?

I have a html page. I want to paste this html(web) page into pdf using jspdf. 
So I converted the entire html page into image data and pasted into pdf using 
addimage() function. But now my problem is whenever the html page height is 
more than pdf page size, the image is shrinking according to the width and 
height I have given in the addimage function. But I want to the image to be 
sliced and to be pasted in two pages.

Original issue reported on code.google.com by [email protected] on 11 Apr 2014 at 7:21

Supported browsers

Is it possible to make list of supported browsers? For example examples doesn't 
work for me in Chrome.


Original issue reported on code.google.com by [email protected] on 27 Oct 2010 at 3:16

Embed external fonts

This one could be tricky. Not easy to load external files. Maybe some TTF
to Javascript tool? The special JS files can be loaded to be embedded.

Original issue reported on code.google.com by theoneandonlyrio on 20 Apr 2009 at 3:07

Image Insertion


doc.addImage('sm_01', 'jpg', 50, 50, 86, 95);

The above script is not working!

Could you please explain why or better correct it


Original issue reported on code.google.com by [email protected] on 5 Aug 2009 at 2:07

Need ability to center text horizontally between two coordinates (x1, x2)

It is very often necessary to center text horizontally within an area on a 
page.  Right now this does not seem possible.  One possibilty is for the 
programmer to calculate the starting x themselves which would require us to 
know the printed length of a text string before it is output which I do not 
currently see a way to do.

There are two ways to implement this:

1. Add an overload to doc.text that includes an x1 and x2 coordinate and then 
center the given text string between those coordinates.

e.g.  doc.text(x1, x2, y, "Center this");

This brings up another issue.  What if you want text to be printed 
left-justified between x1 and x2, having each new line begin again at x1.  So 
an additional method for text justification might be handy:

e.g  

doc.textJustify("left");
doc.text(100, 200, 10, "left justify this long line of text);

output: text would be start at (100,10) and then when the x coordinate passes x 
= 200, a new line would begin back at x = 100 and the remainder of the text 
would be printed (if the line was very long then obviously the text would take 
multiple vertical lines)

e.g.

doc.textJustify("center");
doc.text(100, 200, 10, "Center horizontally");

output: text would be centered horizontally between (100,10) and (200,10)


2. Implement a method that will return the printed length of a text string 
before it is output (based on the current font settings).  For example:
   var width = doc.textWidth("This text is to be centered");
With this width we could manually calculate the proper starting x coordinate 
for the doc.text() statement.


What version of the product are you using? On what operating system?

jsPDF 0.9.0rc2, windows 7

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 21 Aug 2013 at 12:42

ArrayBuffer not defined in IE

What steps will reproduce the problem?
1. Click on print pdf button in IE9 
2. It will give script error as ArrayBuffer not defined in IE
3.

What is the expected output? What do you see instead?
ArrayBuffer not defined in IE

What version of the product are you using? On what operating system?
IE9

Please provide any additional information below.
Cant provide the URL please try to test ur example in IE9

Original issue reported on code.google.com by [email protected] on 2 Mar 2015 at 11:00

Problem with ie6

What steps will reproduce the problem?
1. try demo in ie6 and i have an error

Line: 296
Character: 5
Code: 0
Error Message: Invalid syntax

URL: http://jspdf.googlecode.com/svn/trunk/examples/basic.htm

Original issue reported on code.google.com by [email protected] on 14 Oct 2009 at 8:04

how to display large text file in pdf

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Now its add only one line.I want add large text file

What version of the product are you using? On what operating system?

jspdf-20090504
Please provide any additional information below.
Reply for ASAP

Original issue reported on code.google.com by [email protected] on 24 Jul 2009 at 11:10

inclusion for swf files ?

Hi all,

Is there any function in the library for inclusion of flash / swf files in the 
pd via javascript ?

Original issue reported on code.google.com by [email protected] on 13 Jun 2011 at 8:20

IE7 Javascript Error on Run Code Example of user input

What steps will reproduce the problem?
1. Using IE7 goto http://jspdf.googlecode.com/svn/trunk/examples/basic.htm
2. Click on See Demo
3. Scroll to bottom Example of user input
4. Click on run Code
5. Enter the name Bret
6. Enter the number 123
7. Run Code

What is the expected output? What do you see instead?
Javascript error 

What version of the product are you using? On what operating system?


Please provide any additional information below.

See attached screen capture...

Original issue reported on code.google.com by [email protected] on 7 Oct 2009 at 8:20

Attachments:

Star issue http://crbug.com/44639

star issue http://crbug.com/44639 in Chromium for getting support of this 
library in Chrome/Chromium browsers.

Original issue reported on code.google.com by Gurianov on 20 May 2010 at 12:18

Problem with diacritic in created PDF

What steps will reproduce the problem?
1. It is posible to change font? Forexample define same .ttf font?
2. I have problem with diacritic in created PDF (ěščřžýáíé).
3.

What is the expected output? What do you see instead?
I see noncorect characters. I wold like to see characters with diacritic.

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 12 Mar 2012 at 8:33

The basic example does not work on firefox 3.0.10 or ie 7

What steps will reproduce the problem?
1. go the example page
2. click on run on any of the examples
3.

What is the expected output? What do you see instead?
a pdf file

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 7 May 2009 at 2:15

Does not work on FF10.0.2 and IE9

What steps will reproduce the problem?
1. I just downloaded your example zip and opened in FF and IE
2. it does work on Chrome and Safari
3.

What is the expected output? What do you see instead?
Pdf?

What version of the product are you using? On what operating system?
Win7 FF10.0.2, IE 9, Chrome 19.0.1055.1 dev-m

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 1 Mar 2012 at 2:53

Need Ability to Switch Between Base Fonts

From wikipedia: 

There are fourteen typefaces that have a special significance to PDF documents:

    * Times (v3) or Times Roman PS MT (v4.x) (in regular, italic or
oblique, bold, and bold italic)
    * Courier (in regular, italic or oblique, bold and bold italic)
    * Helvetica (v3) or Arial MT (v4.x) (in regular, italic or oblique,
bold and bold italic)
    * Symbol
    * Zapf Dingbats

Support for these first.

Original issue reported on code.google.com by theoneandonlyrio on 20 Apr 2009 at 3:06

the data are passed to system call is too small

What steps will reproduce the problem?
1. Using IE7 goto http://jspdf.googlecode.com/svn/trunk/examples/basic.htm
2. Click on See Demo
3. Scroll to bottom Example of user input
4. Click on run Code
5. Enter the name Bret
6. Enter the number 123
7. Run Code


What is the expected output? What do you see instead?
the data are passed to system call is too small

What version of the product are you using? On what operating system?
IE8,IE7,IE9 same problem

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 16 Jun 2011 at 6:21

umlaute

if I have non standard ascii characters like german Umlaute for example, thy 
will render as some unreadable data chunk.
Is there a possibility to fix this and if how??

Original issue reported on code.google.com by [email protected] on 27 Nov 2011 at 11:37

Need Ability to Insert Images

Initially just add support for JPEG

Original issue reported on code.google.com by theoneandonlyrio on 20 Apr 2009 at 3:04

Need ability to break text to next line when it exceeds maximum page width linit

What steps will reproduce the problem?
1. In the demo code ,give text of with characters more than or about to 70 
character of size "22"
2. the final pdf prints every text in a single line and not the complete line 
is shown the page, only the part of text which comes within the page limit
3.

What is the expected output? What do you see instead?
when ever we give text with character more than a page line can hold line break 
should be implemented and printed so that every  text comes within the page

What version of the product are you using? On what operating system?
Latest version available in the site jspdf-20090504.zip

Please provide any additional information below.
Add a line in code
doc.text(20, 30, 'Trying to wirte a text which is very long that does not holds 
within a liine. Expected to be break internally and print in separate line ');

Original issue reported on code.google.com by [email protected] on 14 Jun 2012 at 3:34

support change font color

Now jspdf not supported this feature. Please review this patch, that may
been useful, i think.

Copy this patch can be found on this url:
https://code.google.com/p/0lvins-experements/source/browse/trunk/js/jspdf/jspdf-
20090504-font-color.diff


Original issue reported on code.google.com by [email protected] on 24 May 2010 at 2:04

Attachments:

jsPDF code is not supporting chrome and IE browsers

What steps will reproduce the problem?
1.PDF is not getting opened in chrome and ie after running the code


What is the expected output? What do you see instead?
Blank page in IE ,Not able to download the pdf in chrome

What version of the product are you using? On what operating system?
IE9,CHROME 25,OS--Windows7

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 19 Mar 2013 at 6:56

Give hyper link without using fromHTML()

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 10 Feb 2015 at 10:43

iOs - Generated file not viewed in adobe reader, but ok in chrome pdf reader, and all sorts of other reader

What steps will reproduce the problem?
1. Generate pdf in phonegap with jspdf, on iPad
2. Save to file with phonegap file api, and open it with fileopene2 plugin 
https://github.com/pwlin/cordova-plugin-file-opener2
3. Choose adobe reader as viewer application

What is the expected output? What do you see instead?
I see the file, page layout (a4 landscape or portrait) seems fine, but all is 
blank, no text is output.

What version of the product are you using? On what operating system?
I use latest jspdf trunk version of lastweek (2014/05/21)


Please provide any additional information below.
All is working good on android. It seems to me that is a file content problem 
(encoding / blob / ?). I attach the corrupted file

Original issue reported on code.google.com by [email protected] on 28 May 2014 at 7:17

Attachments:

Not support in firebox and ie

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 Feb 2013 at 12:16

Support for basic text flow

Have text line wrap and obey basic margins

Original issue reported on code.google.com by theoneandonlyrio on 20 Apr 2009 at 3:08

Add support for PDF information

Need to add support for Title, Author, Keywords, Creator etc.

Original issue reported on code.google.com by theoneandonlyrio on 20 Apr 2009 at 3:04

Support to use with GWT

What steps will reproduce the problem? NOT A PROBLEM
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
TRYING TO USE THE LATEST WITH GWT, SO THAT I CAN CONVERT A PANEL TO PDF

Please provide any additional information below.
IF THIS IS TOO MUCH TO ASK, APOLOGIES.

Original issue reported on code.google.com by reddy.nagesh on 14 Jun 2010 at 2:45

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.