#include "catch.hpp" #include #include #include TEST_CASE("shapers compile") { mapnik::text_line line(0,0); mapnik::text_itemizer itemizer; std::map width_map; double scale_factor = 1; mapnik::font_library fl; mapnik::freetype_engine::font_file_mapping_type font_file_mapping; mapnik::freetype_engine::font_memory_cache_type font_memory_cache; mapnik::face_manager fm(fl,font_file_mapping,font_memory_cache); mapnik::harfbuzz_shaper::shape_text(line,itemizer, width_map, fm, scale_factor); mapnik::icu_shaper::shape_text(line,itemizer, width_map, fm, scale_factor); }