Attach (recommended) or Link to PDF file here:
[test2-3.pdf](https://github.com/mozilla/pdf.js/files/7881930/test2-3.pdf)

Configuration:
- Web browser and its version: Chrome and Version 93.0.4577.63
- Operating system and its version: Ubuntu 20.04.1 LTS
- PDF.js version: v2.12.313
- Is a browser extension: No

What is the expected behavior? 
![Screenshot from 2022-01-17 18-21-02](https://user-images.githubusercontent.com/29357161/149772453-5906d92a-7cf5-458f-8315-695d78aa9674.png)


What went wrong? 
![Screenshot from 2022-01-17 18-20-24](https://user-images.githubusercontent.com/29357161/149772465-07dd71ef-5d41-42c9-8b13-466f8eee116a.png)


Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
https://mozilla.github.io/pdf.js/web/viewer.html

/* Copyright 2012 Mozilla Foundation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { getEncoding } from "./encodings.js";
import { isWhiteSpace } from "./core_utils.js";
import { Stream } from "./stream.js";
import { warn } from "../shared/util.js";
const HINTING_ENABLED = false;
/*
 * CharStrings are encoded following the the CharString Encoding sequence
 * describe in Chapter 6 of the "Adobe Type1 Font Format" specification.
 * The value in a byte indicates a command, a number, or subsequent bytes
 * that are to be interpreted in a special way.
 *