mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-14 19:05:01 +08:00
fix issue with null encodings for cid fonts
This commit is contained in:
@@ -157,7 +157,7 @@
|
||||
{
|
||||
var widths = new Dictionary<int, double>();
|
||||
|
||||
if (!dict.TryGet(NameToken.W, out var widthsItem) || !(widthsItem is ArrayToken widthArray))
|
||||
if (!dict.TryGet(NameToken.W, pdfScanner, out ArrayToken widthArray))
|
||||
{
|
||||
return widths;
|
||||
}
|
||||
|
Reference in New Issue
Block a user