Code Monkey home page Code Monkey logo

pdf2json's People

pdf2json's Issues

Installation errors

What steps will reproduce the problem?
1. Type make
2. make install

What is the expected output? What do you see instead?
It should install the program. But I see the error instead

mkdir -p /usr/local/bin
/usr/bin/install -c xpdf/pdftops /usr/local/bin/pdftops
/usr/bin/install -c xpdf/pdftotext /usr/local/bin/pdftotext
/usr/bin/install -c xpdf/pdfinfo /usr/local/bin/pdfinfo
/usr/bin/install -c xpdf/pdffonts /usr/local/bin/pdffonts
/usr/bin/install -c xpdf/pdfimages /usr/local/bin/pdfimages
/usr/bin/install -c src/pdf2image /usr/local/bin/pdf2image
install: src/pdf2image: No such file or directory
make: *** [install] Error 71


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

Please provide any additional information below.
I have a bunch of warnings while making the file "warning: deprecated 
conversion from string constant to ‘char*’"

Trying to install on mac lion os.

Original issue reported on code.google.com by [email protected] on 3 Jan 2012 at 5:26

Special characters break JSON file

What steps will reproduce the problem?
1. pdf2json sample.pdf sample.js
2. validate sample.js using a validator of your choice

What is the expected output? What do you see instead?
Expected output is a valid JSON file. Actual result is a JSON file that cannot 
be decoded due to presence of special control characters

What version of the product are you using? On what operating system?
Version 0.51 on Windows 7

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 2 Aug 2012 at 3:39

Attachments:

Information about font weight and style

First of all thank you very much for your great work, this library is very 
useful for me!

I would like to ask you for something. Is it possible to add info about font 
style and font weight? 

This is an output of my file:

...
{
  "data": "2",
  "font": 1,
  "height": 62,
  "left": 692,
  "top": 1133,
  "width": 136
}
...

and I would like to have additional information, for example:

...
{
  "data": "2",
  "font": 1,
  "height": 62,
  "left": 692,
  "top": 1133,
  "width": 136,
  "style": "cursive",
  "bold": true
}
...





Original issue reported on code.google.com by [email protected] on 18 Jun 2014 at 9:49

Convert other encodings to UTF8

Usually, JSON strings are supposed to be UTF-8. 

However, when I decode a Latin-1 PDF, I get a JSON file file Latin-1 data.

It would be useful if things were converted automatically, since many JSON 
tools and libraries expect the correct encoding.

Please see the attachment for a test file and the corresponding result (using 
pdf2json 0.68).

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

Attachments:

Installation failed in windows 7

What steps will reproduce the problem?
1. I downloaded pdf2json-0.61-win32 and extracted the files
2. When I double click on the file, a cmd window popped up and gone
3.

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

It should be installed in windows
What version of the product are you using? On what operating system?

pdf2json 0.61 in windows 7
Please provide any additional information below.

I couldn't install pdf2json and I downloaded source bundle but i have no idea 
about how to use it

Original issue reported on code.google.com by shlachu on 31 Oct 2012 at 9:08

configure does not respect --mandir

What steps will reproduce the problem?
1. ./configure --prefix=/usr/local --mandir=/usr/local/share/man 
2. make install

What is the expected output? What do you see instead?
I expect the man pages to go where I specify; on OS X it is customary to put 
them in share/man instead of just man. Instead, the Makefile.in hardcodes man 
file destinations without respecting this switch.


What version of the product are you using? On what operating system?
0.5.2 on OS X 10.6.8

I can submit a patch for Makefile.in if you want.

Original issue reported on code.google.com by [email protected] on 28 Jan 2012 at 7:57

Installer does not allow for choosing installation directory.

What steps will reproduce the problem?
1. Run win32 installer.
2. Press "Install" and let installer run to finish.
3. Went into Windows Explorer to find installation.

What is the expected output? What do you see instead?
I expected the option to choose which directory I would like to install the 
binary.  Instead the installer simply installed in the default C:\Program Files 
(x86)\ path.

What version of the product are you using? On what operating system?
pdf2json version 0.61 (win32) installer.  Windows 7 x86_64

Original issue reported on code.google.com by [email protected] on 16 Apr 2013 at 2:36

convert to XML

What steps will reproduce the problem?
1. I tray to convert into XML file with 
2. pdf2json -xml memo.pdf test.xml 
3. i have a json output file !!
I tray with pdf2json -enc xml memo.pdf test.xml
i have this error : Couldn't find unicodeMap file for the 'xml' encoding

What is the expected output? What do you see instead?
expected : XML
i see : Json

What version of the product are you using? On what operating system?
version : 0.68
OS : Windows 64 bits

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 8 Jul 2014 at 1:25

Segfault on attached PDF.

What steps will reproduce the problem?
1. Run on attached pdf file, no arguments necessary

What is the expected output?

JSON file.

What do you see instead?

Segfault.

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

pdf2json version 0.66, compiled tarball from the download section. Compiled on 
OpenSuse 12.4. gcc (GCC) 4.6.1.

Please provide any additional information below.

gdb says:

    LinkDest::LinkDest (this=0x81c3f20, dest=0x0) at Link.cc:395
    395       kind = dest->kind;

coredump attached.

Original issue reported on code.google.com by [email protected] on 27 Nov 2013 at 1:36

Attachments:

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.