small cleanup
This commit is contained in:
parent
fce4076ad5
commit
d35e9f047e
3 changed files with 9 additions and 9 deletions
|
@ -38,7 +38,7 @@ namespace mapnik
|
|||
void end_map_processing(Map const& map);
|
||||
void start_layer_processing(Layer const& lay);
|
||||
void end_layer_processing(Layer const& lay);
|
||||
void process(point_symbolizer const& sym,Feature const& feature);
|
||||
void process(point_symbolizer const& sym,Feature const& feature);
|
||||
void process(line_symbolizer const& sym,Feature const& feature);
|
||||
void process(line_pattern_symbolizer const& sym,Feature const& feature);
|
||||
void process(polygon_symbolizer const& sym,Feature const& feature);
|
||||
|
|
|
@ -248,12 +248,12 @@ namespace mapnik
|
|||
FT_Face face = face_->get_face();
|
||||
FT_GlyphSlot slot = face->glyph;
|
||||
FT_Bool use_kerning;
|
||||
FT_UInt previous;
|
||||
FT_UInt previous = 0;
|
||||
|
||||
pen.x = 0;
|
||||
pen.y = 0;
|
||||
|
||||
use_kerning = FT_HAS_KERNING(face)>0?true:false;
|
||||
use_kerning = FT_HAS_KERNING(face)>0?true:false;
|
||||
|
||||
FT_BBox bbox;
|
||||
bbox.xMin = bbox.yMin = 32000;
|
||||
|
|
|
@ -26,12 +26,12 @@
|
|||
|
||||
DATASOURCE_PLUGIN(shape_datasource)
|
||||
|
||||
shape_datasource::shape_datasource(const parameters ¶ms)
|
||||
: shape_name_(params.get("file")),
|
||||
type_(datasource::Vector),
|
||||
file_length_(0),
|
||||
indexed_(false),
|
||||
desc_(params.get("name"))
|
||||
shape_datasource::shape_datasource(const parameters ¶ms)
|
||||
: shape_name_(params.get("file")),
|
||||
type_(datasource::Vector),
|
||||
file_length_(0),
|
||||
indexed_(false),
|
||||
desc_(params.get("name"))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue