Commit 8fa6ef3
committed
Remove scientific notation parsing.
This behaviour comes from the initial pdf.js commit but is wrong and
doesn't match other PDF readers like muPDF or pdfium.
From PDF Spec 7.3.3:
A PDF writer shall not use the PostScript language syntax for numbers with non-decimal radices (such
as 16#FFFE) or in exponential format (such as 6.02E23).1 parent 3c43414 commit 8fa6ef3
5 files changed
Lines changed: 13 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
908 | 908 | | |
909 | 909 | | |
910 | 910 | | |
911 | | - | |
912 | 911 | | |
913 | 912 | | |
914 | 913 | | |
| |||
951 | 950 | | |
952 | 951 | | |
953 | 952 | | |
954 | | - | |
955 | | - | |
956 | 953 | | |
957 | 954 | | |
958 | 955 | | |
959 | 956 | | |
960 | | - | |
961 | | - | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | | - | |
967 | | - | |
968 | | - | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
969 | 960 | | |
| 961 | + | |
970 | 962 | | |
971 | 963 | | |
972 | 964 | | |
| |||
978 | 970 | | |
979 | 971 | | |
980 | 972 | | |
981 | | - | |
982 | | - | |
983 | | - | |
984 | | - | |
985 | | - | |
986 | | - | |
987 | | - | |
988 | | - | |
989 | | - | |
990 | | - | |
991 | | - | |
992 | | - | |
993 | 973 | | |
994 | 974 | | |
995 | 975 | | |
| |||
999 | 979 | | |
1000 | 980 | | |
1001 | 981 | | |
1002 | | - | |
1003 | | - | |
1004 | | - | |
1005 | 982 | | |
1006 | 983 | | |
1007 | 984 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
| 877 | + | |
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13964 | 13964 | | |
13965 | 13965 | | |
13966 | 13966 | | |
| 13967 | + | |
| 13968 | + | |
| 13969 | + | |
| 13970 | + | |
| 13971 | + | |
| 13972 | + | |
| 13973 | + | |
13967 | 13974 | | |
13968 | 13975 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | 102 | | |
105 | 103 | | |
106 | 104 | | |
| |||
0 commit comments