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

Method canEncode

src/fonts/encodings/encoding.ts:30–30  ·  view source on GitHub ↗

* Check if a character can be encoded.

(char: string)

Source from the content-addressed store, hash-verified

28 * Check if a character can be encoded.
29 */
30 canEncode(char: string): boolean;
31
32 /**
33 * Get the Unicode code point for a character code.

Callers 13

form-font.test.tsFile · 0.65
chooseAppearanceFontFunction · 0.65
encodeTextForFontFunction · 0.65
canEncodeMethod · 0.65
canEncodeMethod · 0.65
cmap.test.tsFile · 0.65
canEncodeMethod · 0.65
pdf-fonts.test.tsFile · 0.65

Implementers 1

DifferencesEncodingsrc/fonts/encodings/differences.ts

Calls

no outgoing calls

Tested by

no test coverage detected