Commit aa44587
committed
Use
Currently the `customNames` are read one byte at a time, in a loop, and at every iteration converted to a string.
This can be replaced with the `BaseStream.prototype.getString` method, which didn't exist back when this function was written.BaseStream.prototype.getString in the readPostScriptTable function1 parent 4d0709c commit aa44587
1 file changed
Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2255 | 2255 | | |
2256 | 2256 | | |
2257 | 2257 | | |
2258 | | - | |
2259 | | - | |
| 2258 | + | |
2260 | 2259 | | |
2261 | | - | |
2262 | | - | |
2263 | | - | |
2264 | | - | |
2265 | | - | |
2266 | | - | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
2267 | 2263 | | |
2268 | 2264 | | |
2269 | 2265 | | |
| |||
0 commit comments