Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
5f647f9d
Commit
5f647f9d
authored
Aug 28, 2007
by
Bernie Purcell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a different font path for Gentoo linux
parent
632de9e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
configure.ac
configure.ac
+10
-0
modules/misc/freetype.c
modules/misc/freetype.c
+3
-0
No files found.
configure.ac
View file @
5f647f9d
...
...
@@ -4140,6 +4140,16 @@ then
if test "${SYS}" = "mingw32"; then
VLC_ADD_LDFLAGS([freetype],[-lxml2])]
fi
if test "${host_cpu}" = "${build_cpu}"; then
AC_MSG_CHECKING(if using Gentoo Linux)
GENTOO=`${CC} -fversion |gawk '/(GCC)/ { print substr($4, 2); }'`
if test "${GENTOO}" = "Gentoo"; then
AC_MSG_RESULT(yes)
VLC_ADD_CFLAGS([freetype],[-DGENTOO_LINUX])
else
AC_MSG_RESULT(no)
fi
fi
AC_CHECK_HEADERS(fontconfig/fontconfig.h,
[VLC_ADD_CFLAGS([freetype],[-DHAVE_FONTCONFIG])
VLC_ADD_LDFLAGS([freetype],[-lfontconfig])])
...
...
modules/misc/freetype.c
View file @
5f647f9d
...
...
@@ -63,6 +63,9 @@
#elif defined( WIN32 )
#define DEFAULT_FONT ""
/* Default font found at run-time */
#define FC_DEFAULT_FONT "Arial"
#elif defined(GENTOO_LINUX)
#define DEFAULT_FONT "/usr/share/fonts/ttf-bitstream-vera/Vera.ttf"
#define FC_DEFAULT_FONT "Vera"
#else
#define DEFAULT_FONT "/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf"
#define FC_DEFAULT_FONT "Serif Bold"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment