Import metrics

RoboFont Forums Enhancements Import metrics

This topic contains 2 replies, has 2 voices, and was last updated by  Eli 6 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #895

    Eli
    Participant

    Is it possible to import a afm file in robofont?
    Regards

    #896

    Frederik
    Keymaster

    this feature isn’t embedded but :)
    you could import the kerning from a afm file with roboFab into the CurrentFont

    see http://robofab.org/objects/kerning.html

    f = CurrentFont()
    # this is only importing the kerning from a AFM file
    f.kerning.importAFM("path/to/a/afm/file")
    
    #946

    Eli
    Participant

    thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.