added embed and fontdir based on fontname.