mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Remove slice.
This commit is contained in:
parent
6f5baaa60b
commit
37fef69e5e
1 changed files with 3 additions and 3 deletions
|
@ -3773,13 +3773,13 @@ var CFFParser = (function CFFParserClosure() {
|
|||
parseCharsets: function parsecharsets(pos, length, strings, cid) {
|
||||
if (pos == 0) {
|
||||
return new CFFCharset(true, CFFCharsetPredefinedTypes.ISO_ADOBE,
|
||||
ISOAdobeCharset.slice());
|
||||
ISOAdobeCharset);
|
||||
} else if (pos == 1) {
|
||||
return new CFFCharset(true, CFFCharsetPredefinedTypes.EXPERT,
|
||||
ExpertCharset.slice());
|
||||
ExpertCharset);
|
||||
} else if (pos == 2) {
|
||||
return new CFFCharset(true, CFFCharsetPredefinedTypes.EXPERT_SUBSET,
|
||||
ExpertSubsetCharset.slice());
|
||||
ExpertSubsetCharset);
|
||||
}
|
||||
|
||||
var bytes = this.bytes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue