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

Method getName

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

Get the glyph name for a character code

(code: number)

Source from the content-addressed store, hash-verified

13export interface CFFEncoding {
14 /** Get the glyph name for a character code */
15 getName(code: number): string | undefined;
16
17 /** Get the character code for a glyph name */
18 getCode(name: string): number | undefined;

Callers 15

parseCryptFilterFunction · 0.65
parseEncryptionDictFunction · 0.65
file-spec.test.tsFile · 0.65
parseFileSpecFunction · 0.65
pdf-stream.test.tsFile · 0.65
pdf-dict.test.tsFile · 0.65
parseStreamMethod · 0.65
constructorMethod · 0.65
findRootMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 2

countPageWidgetsFunction · 0.52
findType0FontsFunction · 0.52