dynamic font style, color and size for pdf