Now actually works for custom fonts. This is the proper order. @mintbird, things are slightly switched here.