Skip to content

Commit 79ea714

Browse files
committed
Don't install FreeSans.ttf if a custom font file is specified.
Document --enable-font-file configure option.
1 parent db3f58a commit 79ea714

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

INSTALL

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ If you already have these fonts, you can configure Gource to use them with:
6363

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

66+
You can also build Gource with a different font:
67+
68+
./configure --enable-font-file=/path/to/alternate/font.ttf
69+
70+
The font file format must be supported by Free Type 2.
71+
6672
Gource includes a copy of TinyXML. To build against the system version of the
6773
library use:
6874

Makefile.am

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,11 @@ endif
8080

8181
if FONTFILE
8282
AM_CPPFLAGS += -DGOURCE_FONT_FILE=\"$(gourcefontfile)\"
83-
endif
84-
83+
else
8584
if FONTDIR
8685
AM_CPPFLAGS += -DSDLAPP_FONT_DIR=\"$(gourcefontdir)\"
8786
else
8887
fontsdir = $(pkgdatadir)/fonts
8988
dist_fonts_DATA = data/fonts/README data/fonts/FreeSans.ttf
9089
endif
91-
90+
endif

0 commit comments

Comments
 (0)