glyphForStandardCode method

int glyphForStandardCode(
  1. int code
)

Implementation

int glyphForStandardCode(int code) {
  final String name = code >= 0 && code < UPdfStandardNames.standardEncoding.length ? UPdfStandardNames.standardEncoding[code] : "";
  return name.isEmpty ? 0 : glyphForName(name);
}