diff --git a/README.md b/README.md index 96fcf805..d10d5516 100644 --- a/README.md +++ b/README.md @@ -305,10 +305,6 @@ Please do file an issue if you encounter a bug. However in order for us to assist you, you **must** provide the file which causes your issue. Please host this in a publically available place. -## Status - -_Why is class or property X internal?_ Internal properties and classes are not stable enough for the end user yet. If you want to access them feel free to use reflection but be aware they may change or disappear between versions. - ## Credit -This project wouldn't be possible without the work done by the [PDFBox](https://pdfbox.apache.org/) team and the Apache Foundation. Any bugs in the code are entirely my fault. +This project wouldn't be possible without the work done by the [PDFBox](https://pdfbox.apache.org/) team and the Apache Foundation. diff --git a/src/UglyToad.PdfPig.Core/UglyToad.PdfPig.Core.csproj b/src/UglyToad.PdfPig.Core/UglyToad.PdfPig.Core.csproj index ff398177..00a13bb4 100644 --- a/src/UglyToad.PdfPig.Core/UglyToad.PdfPig.Core.csproj +++ b/src/UglyToad.PdfPig.Core/UglyToad.PdfPig.Core.csproj @@ -2,7 +2,7 @@ netstandard2.0;net45;net451;net452;net46;net461;net462;net47 latest - 0.1.2-alpha001 + 0.1.2-alpha002 False true true diff --git a/src/UglyToad.PdfPig.DocumentLayoutAnalysis/UglyToad.PdfPig.DocumentLayoutAnalysis.csproj b/src/UglyToad.PdfPig.DocumentLayoutAnalysis/UglyToad.PdfPig.DocumentLayoutAnalysis.csproj index 92d1311b..e331fdda 100644 --- a/src/UglyToad.PdfPig.DocumentLayoutAnalysis/UglyToad.PdfPig.DocumentLayoutAnalysis.csproj +++ b/src/UglyToad.PdfPig.DocumentLayoutAnalysis/UglyToad.PdfPig.DocumentLayoutAnalysis.csproj @@ -2,7 +2,7 @@ netstandard2.0;net45;net451;net452;net46;net461;net462;net47 latest - 0.1.2-alpha001 + 0.1.2-alpha002 False true true diff --git a/src/UglyToad.PdfPig.Fonts/UglyToad.PdfPig.Fonts.csproj b/src/UglyToad.PdfPig.Fonts/UglyToad.PdfPig.Fonts.csproj index 0449c08b..15fd446a 100644 --- a/src/UglyToad.PdfPig.Fonts/UglyToad.PdfPig.Fonts.csproj +++ b/src/UglyToad.PdfPig.Fonts/UglyToad.PdfPig.Fonts.csproj @@ -2,7 +2,7 @@ netstandard2.0;net45;net451;net452;net46;net461;net462;net47 latest - 0.1.2-alpha001 + 0.1.2-alpha002 False true true diff --git a/src/UglyToad.PdfPig.Tokenization/UglyToad.PdfPig.Tokenization.csproj b/src/UglyToad.PdfPig.Tokenization/UglyToad.PdfPig.Tokenization.csproj index e7834b57..7faa683d 100644 --- a/src/UglyToad.PdfPig.Tokenization/UglyToad.PdfPig.Tokenization.csproj +++ b/src/UglyToad.PdfPig.Tokenization/UglyToad.PdfPig.Tokenization.csproj @@ -2,7 +2,7 @@ netstandard2.0;net45;net451;net452;net46;net461;net462;net47 latest - 0.1.2-alpha001 + 0.1.2-alpha002 False true true diff --git a/src/UglyToad.PdfPig.Tokens/UglyToad.PdfPig.Tokens.csproj b/src/UglyToad.PdfPig.Tokens/UglyToad.PdfPig.Tokens.csproj index c3322988..400156a5 100644 --- a/src/UglyToad.PdfPig.Tokens/UglyToad.PdfPig.Tokens.csproj +++ b/src/UglyToad.PdfPig.Tokens/UglyToad.PdfPig.Tokens.csproj @@ -2,7 +2,7 @@ netstandard2.0;net45;net451;net452;net46;net461;net462;net47 latest - 0.1.2-alpha001 + 0.1.2-alpha002 False true true diff --git a/src/UglyToad.PdfPig/PdfFonts/Parser/Parts/CidFontFactory.cs b/src/UglyToad.PdfPig/PdfFonts/Parser/Parts/CidFontFactory.cs index e5241086..b3e3b9e4 100644 --- a/src/UglyToad.PdfPig/PdfFonts/Parser/Parts/CidFontFactory.cs +++ b/src/UglyToad.PdfPig/PdfFonts/Parser/Parts/CidFontFactory.cs @@ -166,7 +166,7 @@ var counter = 0; while (counter < size) { - var firstCode = (NumericToken)widthArray.Data[counter++]; + var firstCode = DirectObjectFinder.Get(widthArray.Data[counter++], pdfScanner); var next = widthArray.Data[counter++]; if (DirectObjectFinder.TryGet(next, pdfScanner, out ArrayToken array)) { @@ -175,14 +175,14 @@ for (var i = 0; i < arraySize; i++) { - var width = (NumericToken)array.Data[i]; + var width = DirectObjectFinder.Get(array.Data[i], pdfScanner); widths[startRange + i] = width.Double; } } else { - var secondCode = (NumericToken)next; - var rangeWidth = (NumericToken)widthArray.Data[counter++]; + var secondCode = DirectObjectFinder.Get(next, pdfScanner); + var rangeWidth = DirectObjectFinder.Get(widthArray.Data[counter++], pdfScanner); var startRange = firstCode.Int; var endRange = secondCode.Int; var width = rangeWidth.Double; diff --git a/src/UglyToad.PdfPig/UglyToad.PdfPig.csproj b/src/UglyToad.PdfPig/UglyToad.PdfPig.csproj index 6e90b9b7..d0279e83 100644 --- a/src/UglyToad.PdfPig/UglyToad.PdfPig.csproj +++ b/src/UglyToad.PdfPig/UglyToad.PdfPig.csproj @@ -2,7 +2,7 @@ netstandard2.0;net45;net451;net452;net46;net461;net462;net47 latest - 0.1.2-alpha001 + 0.1.2-alpha002 False true true diff --git a/tools/UglyToad.PdfPig.Package/UglyToad.PdfPig.Package.csproj b/tools/UglyToad.PdfPig.Package/UglyToad.PdfPig.Package.csproj index 369bc708..c690b864 100644 --- a/tools/UglyToad.PdfPig.Package/UglyToad.PdfPig.Package.csproj +++ b/tools/UglyToad.PdfPig.Package/UglyToad.PdfPig.Package.csproj @@ -12,7 +12,7 @@ PDF;Reader;Document;Adobe;PDFBox;PdfPig;pdf-extract https://github.com/UglyToad/PdfPig true - 0.1.2-alpha001 + 0.1.2-alpha002 0.1.1.0 0.1.1.0 https://raw.githubusercontent.com/UglyToad/PdfPig/master/documentation/pdfpig.png