MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / getCFFString

Function getCFFString

libraries/p5.js:3082–3090  ·  view source on GitHub ↗
(strings, index)

Source from the content-addressed store, hash-verified

3080// Given a String Index (SID), return the value of the string.
3081// Strings below index 392 are standard CFF strings and are not encoded in the font.
3082function getCFFString(strings, index) {
3083 if (index <= 390) {
3084 index = encoding.cffStandardStrings[index];
3085 } else {
3086 index = strings[index - 391];
3087 }
3088
3089 return index;
3090}
3091
3092// Interpret a dictionary and return a new dictionary with readable keys and values for missing entries.
3093// This function takes `meta` which is a list of objects containing `operand`, `name` and `default`.

Callers 2

interpretDictFunction · 0.85
parseCFFCharsetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected