mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
support type 1 normal fonts and fix bug with fetching resource dictionary
This commit is contained in:
@@ -133,6 +133,13 @@ namespace UglyToad.Pdf.Graphics
|
||||
}
|
||||
else if (parameter.ParameterType == typeof(decimal[]))
|
||||
{
|
||||
if (operands[offset] is ArrayToken arr)
|
||||
{
|
||||
arguments.Add(arr.Data.OfType<NumericToken>().Select(x => x.Data).ToArray());
|
||||
offset++;
|
||||
continue;
|
||||
}
|
||||
|
||||
var array = new List<decimal>();
|
||||
while (offset < operands.Count && operands[offset] is NumericToken numeric)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user