modesty / pdf2json

converts binary PDF to JSON and text, for server-side PDF processing and command-line use.
https://github.com/modesty/pdf2json
Other
2.02k stars 377 forks source link

The interface for `Line` is missing the `l` property #329

Closed shareefhadid closed 9 months ago

shareefhadid commented 9 months ago

Here is the type definition for Line in version 3.0.5 in pdfparser.d.ts:

export declare interface Line {
    x: number,
    y: number,
    w: number,
    oc?: string,
    clr?:number
}

It should be

export declare interface Line {
    x: number,
    y: number,
    w: number,
    l: number,
    oc?: string,
    clr?:number
}

The l property is missing.

modesty commented 9 months ago

thanks. addressed in 2b47fcd