Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Application:Geo
mapnik
mapnik_fonts.cpp
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mapnik_fonts.cpp of Package mapnik
#include <iostream> #include <mapnik/font_engine_freetype.hpp> #ifndef MAPNIK_FONTS #define MAPNIK_FONTS "/usr/lib64/mapnik/fonts/" #endif int main(int aregc, char **argv) { mapnik::freetype_engine::register_fonts("/usr/share/fonts/", true); mapnik::freetype_engine::register_fonts(MAPNIK_FONTS, true); std::vector<std::string> v = mapnik::freetype_engine::face_names(); for(std::vector<std::string>::iterator it = v.begin(); it != v.end(); ++it) { std::cout << *it << "\n"; } return 0; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor