Subject: | Bug with Glyph Names with Embedded Periods (Dots) |
Fonts with glyph names like "b_b.alt1" (containing an embedded dot as in Adobe's BickhamScriptPro-Bold) are not parsed properly with the current version (1.20) of Font::AFM.
The problem line is line 264 which currently reads:
my($name) = /\bN\s+(\.?\w+)\s*;/;
The immediate fix is to change the line to read:
my($name) = /\bN\s+(\.?\w+\.?\w*)\s*;/;
I have been working on other enhancements and clean ups which I will post separately a little later with a patch to the current version.
The problem line is line 264 which currently reads:
my($name) = /\bN\s+(\.?\w+)\s*;/;
The immediate fix is to change the line to read:
my($name) = /\bN\s+(\.?\w+\.?\w*)\s*;/;
I have been working on other enhancements and clean ups which I will post separately a little later with a patch to the current version.