Text gets converted by the PaintEngine
This commit is contained in:
parent
face7c0b0f
commit
b1f507634e
@ -43,7 +43,6 @@ Mapper::Mapper(const string &executablePath, const string &executableName ) :
|
||||
executablePath(executablePath),
|
||||
executableName(executableName)
|
||||
{
|
||||
charConvUTF8 = CharEncodingConverter::createStandardConverter("UTF-8");
|
||||
}
|
||||
|
||||
int Mapper::start(int argc, char *argv[]) {
|
||||
@ -802,7 +801,7 @@ int Mapper::start(int argc, char *argv[]) {
|
||||
usage();
|
||||
exit(1);
|
||||
}
|
||||
drawObject.text = charConvUTF8->convert(localizedText);
|
||||
drawObject.text = localizedText;
|
||||
}
|
||||
|
||||
generator.drawObject(drawObject);
|
||||
|
@ -1,6 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include "CharEncodingConverter.h"
|
||||
#include "TileGenerator.h"
|
||||
#include <getopt.h>
|
||||
#include <istream>
|
||||
@ -75,7 +74,6 @@ private:
|
||||
std::string heightMapNodesFile;
|
||||
bool foundGeometrySpec = false;
|
||||
bool setFixedOrShrinkGeometry = false;
|
||||
CharEncodingConverter *charConvUTF8;
|
||||
|
||||
const std::string nodeColorsDefaultFile = "colors.txt";
|
||||
const std::string heightMapNodesDefaultFile = "heightmap-nodes.txt";
|
||||
|
Loading…
x
Reference in New Issue
Block a user