(font)
| 1430 | // It loops through all glyphs and finds the appropriate unicode value. |
| 1431 | // Since it's linear time, other encodings will be faster. |
| 1432 | function DefaultEncoding(font) { |
| 1433 | this.font = font; |
| 1434 | } |
| 1435 | |
| 1436 | DefaultEncoding.prototype.charToGlyphIndex = function(c) { |
| 1437 | var code = c.charCodeAt(0); |
nothing calls this directly
no outgoing calls
no test coverage detected