Changeset 5f647f9d21185e3f8db7b158d5e9ed9512c46ba4

Show
Ignore:
Timestamp:
28/08/07 07:20:36 (1 year ago)
Author:
Bernie Purcell <bitmap@videolan.org>
git-committer:
Bernie Purcell <bitmap@videolan.org> 1188278436 +0000
git-parent:

[632de9e45d8b00d678fe8c0da1beff11d0af7aba]

git-author:
Bernie Purcell <bitmap@videolan.org> 1188278436 +0000
Message:

Use a different font path for Gentoo linux

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure.ac

    r632de9e r5f647f9  
    41404140    if test "${SYS}" = "mingw32"; then 
    41414141       VLC_ADD_LDFLAGS([freetype],[-lxml2])] 
     4142    fi 
     4143    if test "${host_cpu}" = "${build_cpu}"; then 
     4144      AC_MSG_CHECKING(if using Gentoo Linux) 
     4145      GENTOO=`${CC} -fversion |gawk '/(GCC)/ { print substr($4, 2); }'` 
     4146      if test "${GENTOO}" = "Gentoo"; then 
     4147        AC_MSG_RESULT(yes) 
     4148        VLC_ADD_CFLAGS([freetype],[-DGENTOO_LINUX]) 
     4149      else 
     4150        AC_MSG_RESULT(no) 
     4151      fi 
    41424152    fi 
    41434153    AC_CHECK_HEADERS(fontconfig/fontconfig.h, 
  • modules/misc/freetype.c

    rf76916e r5f647f9  
    6464#define DEFAULT_FONT "" /* Default font found at run-time */ 
    6565#define FC_DEFAULT_FONT "Arial" 
     66#elif defined(GENTOO_LINUX) 
     67#define DEFAULT_FONT "/usr/share/fonts/ttf-bitstream-vera/Vera.ttf" 
     68#define FC_DEFAULT_FONT "Vera" 
    6669#else 
    6770#define DEFAULT_FONT "/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf"