From a5c8eae057746618443c788fcaa04221d8ad7ba4 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Mon, 29 Dec 2008 14:02:01 -0700 Subject: Added support for True Type Fonts using GUIChan's inbuilt SDLTrueType class. NOTE: This commit adds a brand new dependency (SDL_TTF). Make sure to install it, regenerate your config files, reconfigure, and then install before attempting to compile. Signed-off-by: Ira Rice --- data/CMakeLists.txt | 1 + data/Makefile.am | 2 +- data/fonts/CMakeLists.txt | 5 +++++ data/fonts/Makefile.am | 8 ++++++++ data/fonts/dejavusans.ttf | Bin 0 -> 569716 bytes 5 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 data/fonts/CMakeLists.txt create mode 100644 data/fonts/Makefile.am create mode 100644 data/fonts/dejavusans.ttf (limited to 'data') diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 3c482b49..4aa0cdd5 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -1,5 +1,6 @@ SET(DATA_DIR ${PKG_DATADIR}/data) +ADD_SUBDIRECTORY(fonts) ADD_SUBDIRECTORY(graphics) ADD_SUBDIRECTORY(help) ADD_SUBDIRECTORY(icons) diff --git a/data/Makefile.am b/data/Makefile.am index 508e6e0e..44f795ef 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = graphics help icons +SUBDIRS = fonts graphics help icons aethyradatadir = $(pkgdatadir)/data diff --git a/data/fonts/CMakeLists.txt b/data/fonts/CMakeLists.txt new file mode 100644 index 00000000..8393b923 --- /dev/null +++ b/data/fonts/CMakeLists.txt @@ -0,0 +1,5 @@ +SET (FILES + dejavusans.ttf + ) + +INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/fonts) diff --git a/data/fonts/Makefile.am b/data/fonts/Makefile.am new file mode 100644 index 00000000..1384818c --- /dev/null +++ b/data/fonts/Makefile.am @@ -0,0 +1,8 @@ + +fontdir = $(pkgdatadir)/data/fonts + +font_DATA = \ + dejavusans.ttf + +EXTRA_DIST = \ + $(font_DATA) diff --git a/data/fonts/dejavusans.ttf b/data/fonts/dejavusans.ttf new file mode 100644 index 00000000..627cef46 Binary files /dev/null and b/data/fonts/dejavusans.ttf differ -- cgit v1.2.3-70-g09d2