bubibubi/ExtractTablesFromPdf

ArgumentOutOfRangeException

rokenbuzz opened this issue · 0 comments

Running BuildTablesFromPdf.Console as is.
The latest build throws an ArgumentOutOfRangeException at line 104 of CMapToUnicode.cs, in InternalParseBFChar( ).
bfChar = s.Substring(beginBfCharPosition, endBfCharPosition - beginBfCharPosition);

endBfCharPosition is -1 causing the Substring length parameter to be negative.