Test if textStyle properties exist before setting the print style
Merge pull request #1834 from geoadmin/fix_kml

Test if textStyle properties exists before setting the print style