switch classes still using the cos object approach to the tokenization approach initally used for parsing cmap files.

This commit is contained in:
Eliot Jones
2018-01-19 00:35:04 +00:00
parent 0ead678a43
commit a0deab446b
50 changed files with 1122 additions and 455 deletions

View File

@@ -80,7 +80,7 @@ namespace UglyToad.PdfPig.Graphics
case SetFontAndSize.Symbol:
if (operands.Count == 2 && operands[0] is NameToken name && operands[1] is NumericToken size)
{
return new SetFontAndSize(name.Data, size.Data);
return new SetFontAndSize(name, size.Data);
}
var information = string.Join(", ", operands.Select(x => x.ToString()));