todo: support otf file