1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 09:38:06 +02:00

Move the IdentityToUnicodeMap/ToUnicodeMap from src/core/fonts.js and into its own file

This commit is contained in:
Jonas Jenwald 2021-05-02 12:04:34 +02:00
parent 8c1d1a58f7
commit 6912bb5e0a
6 changed files with 124 additions and 116 deletions

View file

@ -47,14 +47,7 @@ import {
Ref,
RefSet,
} from "./primitives.js";
import {
ErrorFont,
Font,
FontFlags,
getFontType,
IdentityToUnicodeMap,
ToUnicodeMap,
} from "./fonts.js";
import { ErrorFont, Font, FontFlags, getFontType } from "./fonts.js";
import {
getEncoding,
MacRomanEncoding,
@ -74,6 +67,7 @@ import {
getSymbolsFonts,
} from "./standard_fonts.js";
import { getTilingPatternIR, Pattern } from "./pattern.js";
import { IdentityToUnicodeMap, ToUnicodeMap } from "./to_unicode_map.js";
import { isPDFFunction, PDFFunctionFactory } from "./function.js";
import { Lexer, Parser } from "./parser.js";
import {