(text)
| 60917 | |
| 60918 | break; |
| 60919 | |
| 60920 | case 'CharMetrics': |
| 60921 | if (!/^CH?\s/.test(line)) { |
| 60922 | continue; |
| 60923 | } |
| 60924 | |
| 60925 | var name = line.match(/\bN\s+(\.?\w+)\s*;/)[1]; |
| 60926 | this.glyphWidths[name] = +line.match(/\bWX\s+(\d+)\s*;/)[1]; |
| 60927 | break; |
| 60928 | |
| 60929 | case 'KernPairs': |
| 60930 | match = line.match(/^KPX\s+(\.?\w+)\s+(\.?\w+)\s+(-?\d+)/); |
| 60931 | |
| 60932 | if (match) { |