Does anyone know of a way to import only sidebearings from a metrics file into FontLab? Has anyone written a Python script to do this sort of thing? Or am I just missing this in the core FontLab application?
Any help appreciated. Thanks!
I would handle the character to glyph name conversion with a simple macro, then replace spaces with tabs and paste the data into a spreadsheet, and convert the kerning values column with a multiplication function. Then paste the results back to the text editor and into an AFM file.
In FontLab, it should be possible to use a Python script to batch generate AFM files for all fonts.
> In FontLab, it should be possible to use
> a Python script to batch generate AFM
> files for all fonts.
That's even easier. Tools / Transform Range; Transformation Range: Fonts in the Fonts List; ... / Destination format: Type 1 (PFB); + / (Add the fonts); Choose directory / (Select output folder).
You will get a bunch of PC Type 1 fonts that all include AFM files.
Regards,
Adam
>> . . . then replace spaces with tabs and paste the data into a spreadsheet, and convert the kerning values column with a multiplication function. Then paste the results back to the text editor . . .>>
I'd still use V-Edit. you write your string of S&R's one time, add to it if you need to (i.e., a new character or higher kerning value), then run the macro. Whatever one is most comfortable with.
Cheers,
Charles
Captured from web.archive.org on 30 Jul 2012. view this capture