History

ignore BDC / EMC marked-content operators

Noam Preil committed 5 years ago

Commit ccb4d1d1 parent 5a668f41 file · +12 −1Browse files

Unified · Split

op.c+12−1
@@ -739,6 +739,13 @@ t4roll(Op *op, Page *p) · 738 unmodified lines
739 return 0;739 return 0;
740}740}
741 741
742static int
743opignore(Op *op, Page *p)
744{
745 USED(op, p);
746 return 1;
747}
748
742static Op ops[] = {749static Op ops[] = {
743 /* 7.8.2 Compatibility operators */750 /* 7.8.2 Compatibility operators */
744 {"BX", cobegin, 0,}, /* begin a compatilibity section */751 {"BX", cobegin, 0,}, /* begin a compatilibity section */
@@ -836,6 +843,10 @@ static Op ops[] = { · 91 unmodified lines
836 {"d0", t3width, 2,}, /* width info */843 {"d0", t3width, 2,}, /* width info */
837 {"d1", t3widthbb, 6,}, /* width & bounding box */844 {"d1", t3widthbb, 6,}, /* width & bounding box */
838 845
846 /* 14.6 Marked content */
847 {"BDC", opignore, 2,},
848 {"EMC", opignore, 0,},
849
839 /* 7.10.5.2 Operators and operands */850 /* 7.10.5.2 Operators and operands */
840 /* B.2 Arithmetic operators */851 /* B.2 Arithmetic operators */
841 {"add", t4add, 2,},852 {"add", t4add, 2,},
@@ -885,7 +896,7 @@ static Op ops[] = { · 43 unmodified lines
885 {"roll", t4roll, -2,},896 {"roll", t4roll, -2,},
886 897
887 /* terminator */898 /* terminator */
888 {nil, nil, 0},899 {nil, nil, 0,},
889};900};
890 901
891// If an op is found at the current position in the stream, the associated Op is902// If an op is found at the current position in the stream, the associated Op is

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t