Skip to content

Commit

Permalink
fix font
Browse files Browse the repository at this point in the history
  • Loading branch information
averrin committed Sep 9, 2017
1 parent d4b2bb0 commit ff487f9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set (mapgen_VERSION_MAJOR 0)
set (mapgen_VERSION_MINOR 1)

file(GLOB SOURCE "src/*.cpp" "include/mapgen/*.h")
file(COPY "font.otf" DESTINATION "bin/font.otf")

configure_file (
"${PROJECT_SOURCE_DIR}/MapgenConfig.h.in"
Expand Down
Binary file added font.otf
Binary file not shown.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ int main()
bool isIncreasing{ true };

sf::Font sffont;
sffont.loadFromFile("/home/alexeynabrodov/.fonts/FiraCode-Medium.otf");
sffont.loadFromFile("font.otf");

sf::Clock deltaClock;
sf::Clock clock;
Expand Down

0 comments on commit ff487f9

Please sign in to comment.