MCPcopy Create free account
hub / github.com/LibPDF-js/core / getCode

Method getCode

src/fontbox/cff/encoding.ts:18–18  ·  view source on GitHub ↗

Get the character code for a glyph name

(name: string)

Source from the content-addressed store, hash-verified

16
17 /** Get the character code for a glyph name */
18 getCode(name: string): number | undefined;
19}
20
21/**

Callers 2

parser.test.tsFile · 0.65
encodeTextForFontMethod · 0.65

Implementers 2

CFFEncodingBasesrc/fontbox/cff/encoding.ts
EncodingBuildersrc/fontbox/encoding/encoding.ts

Calls

no outgoing calls

Tested by

no test coverage detected