var charset = properties.charset;
if (charset && charset.length) {
- // XXX why is the first character equal to ''?
+ log(charset);
for (var i = 1; i < charset.length; i++) {
var position = getUnicodeRangeFor(GlyphsUnicode[charset[i]]);
if (position < 32) {
if (charset) {
assertWellFormed(IsString(charset), "invalid charset");
charset = charset.split("/");
+ charset.shift();
}
} else if (IsName(encoding)) {
var encoding = Encodings[encoding.name];
type: subType.name,
encoding: encodingMap,
charset: charset,
+ firstChar: fontDict.get("FirstChar"),
+ lastChar: fontDict.get("LastChar"),
bbox: descriptor.get("FontBBox"),
ascent: descriptor.get("Ascent"),
descent: descriptor.get("Descent"),