Ayat-Allam / pdf2json

Automatically exported from code.google.com/p/pdf2json
0 stars 0 forks source link

Information about font weight and style #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 jakub.mr...@gmail.com on 18 Jun 2014 at 9:49