mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
switch classes still using the cos object approach to the tokenization approach initally used for parsing cmap files.
This commit is contained in:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user