diff --git a/src/cairo_renderer.cpp b/src/cairo_renderer.cpp index 3ac150add..e31133fa8 100644 --- a/src/cairo_renderer.cpp +++ b/src/cairo_renderer.cpp @@ -1093,6 +1093,10 @@ void cairo_renderer_base::process(shield_symbolizer const& sym, { text = text.toLower(); } + else if ( sym.get_text_transform() == CAPITALIZE) + { + text = text.toTitle(NULL); + } agg::trans_affine tr; boost::array const& m = sym.get_transform(); @@ -1523,6 +1527,10 @@ void cairo_renderer_base::process(text_symbolizer const& sym, { text = text.toLower(); } + else if ( sym.get_text_transform() == CAPITALIZE) + { + text = text.toTitle(NULL); + } if (text.length() > 0) {