Permalink
Browse files

[demo] Always use included default font by default

Also change the default-font to a subset of Roboto-Regular.  Add
Makefile bits to make it easier to change default-font and default-text.
  • Loading branch information...
behdad committed Jan 4, 2016
1 parent 3616b56 commit 5d9ba6d9c0c000e172469ac71686e9c7c2937268
Showing with 21 additions and 2,590 deletions.
  1. +0 −10 configure.ac
  2. +0 −2,567 demo/DroidSans.c
  3. +11 −4 demo/Makefile.am
  4. BIN demo/default-font.ttf
  5. +10 −9 demo/glyphy-demo.cc
View
@@ -90,16 +90,6 @@ fi
dnl ===========================================================================
-# Find default font, for the demo
-AC_MSG_CHECKING([for default font])
-DEFAULT_FONT="`fc-match -v 2>/dev/null | grep 'file:' | cut -d'\"' -f2`"
-if test "x$DEFAULT_FONT" = x; then :; else
- AC_DEFINE_UNQUOTED([DEFAULT_FONT], ["$DEFAULT_FONT"], [Default font file.])
-fi
-AC_MSG_RESULT($DEFAULT_FONT)
-
-dnl ===========================================================================
-
AC_DEFINE_DIR([PKGDATADIR], [$pkgdatadir], [Define to the directory containing package data.])
AC_CONFIG_FILES([
Oops, something went wrong.

0 comments on commit 5d9ba6d

Please sign in to comment.