comment debug code

This commit is contained in:
Dane Springmeyer 2014-10-06 14:31:11 -07:00
parent 1670fdabf0
commit f733c7f2ac

View file

@ -292,12 +292,10 @@ bool Map::load_fonts()
{ {
bool result = false; bool result = false;
auto const& global_mapping = freetype_engine::get_mapping(); auto const& global_mapping = freetype_engine::get_mapping();
auto const& global_cache = freetype_engine::get_cache(); //auto const& global_cache = freetype_engine::get_cache();
for (auto const& kv : font_file_mapping_) // for every face-name:filepath for (auto const& kv : font_file_mapping_) // for every face-name:filepath
{ {
auto const& face_name = kv.second.second; //auto const& face_name = kv.second.second;
// if font data is already cached
std::clog << "kv.first " << kv.first << "\n";
if ((global_mapping.find(kv.first) == global_mapping.end()) && if ((global_mapping.find(kv.first) == global_mapping.end()) &&
(font_memory_cache_.find(kv.second.second) == font_memory_cache_.end())) (font_memory_cache_.find(kv.second.second) == font_memory_cache_.end()))
{ {