Skip to content

Commit

Permalink
Don't install FreeSans.ttf if a custom font file is specified.
Browse files Browse the repository at this point in the history
Document --enable-font-file configure option.
  • Loading branch information
acaudwell committed Nov 13, 2019
1 parent db3f58a commit 79ea714
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 6 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ If you already have these fonts, you can configure Gource to use them with:

./configure --enable-ttf-font-dir=/path/to/freefont/

You can also build Gource with a different font:

./configure --enable-font-file=/path/to/alternate/font.ttf

The font file format must be supported by Free Type 2.

Gource includes a copy of TinyXML. To build against the system version of the
library use:

Expand Down
5 changes: 2 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,11 @@ endif

if FONTFILE
AM_CPPFLAGS += -DGOURCE_FONT_FILE=\"$(gourcefontfile)\"
endif

else
if FONTDIR
AM_CPPFLAGS += -DSDLAPP_FONT_DIR=\"$(gourcefontdir)\"
else
fontsdir = $(pkgdatadir)/fonts
dist_fonts_DATA = data/fonts/README data/fonts/FreeSans.ttf
endif

endif

0 comments on commit 79ea714

Please sign in to comment.