Dynamically calculating strokeWidth and fontSize