Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
d8549ccd
Commit
d8549ccd
authored
Jun 30, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
projectM: change font path on Win32
Close #4988
parent
67e7d9bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
modules/visualization/projectm.cpp
modules/visualization/projectm.cpp
+11
-3
No files found.
modules/visualization/projectm.cpp
View file @
d8549ccd
...
...
@@ -74,6 +74,14 @@ static void Close ( vlc_object_t * );
#define TEXTURE_TEXT N_("Texture size")
#define TEXTURE_LONGTEXT N_("The size of the texture, in pixels.")
#ifdef WIN32
# define FONT_PATH "C:\\WINDOWS\\Fonts\\arial.ttf"
# define FONT_PATH_MENU "C:\\WINDOWS\\Fonts\\arial.ttf"
#else
# define FONT_PATH "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf"
# define FONT_PATH_MENU "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf"
#endif
vlc_module_begin
()
set_shortname
(
N_
(
"projectM"
))
set_description
(
N_
(
"libprojectM effect"
)
)
...
...
@@ -90,10 +98,10 @@ vlc_module_begin ()
add_directory
(
"projectm-preset-path"
,
"/usr/share/projectM/presets"
,
#endif
PRESET_PATH_TXT
,
PRESET_PATH_LONGTXT
,
true
)
add_loadfile
(
"projectm-title-font"
,
"/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf"
,
add_loadfile
(
"projectm-title-font"
,
FONT_PATH
,
TITLE_FONT_TXT
,
TITLE_FONT_LONGTXT
,
true
)
add_loadfile
(
"projectm-menu-font"
,
"/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf"
,
MENU_FONT_TXT
,
MENU_FONT_LONGTXT
,
true
)
add_loadfile
(
"projectm-menu-font"
,
FONT_PATH_MENU
,
MENU_FONT_TXT
,
MENU_FONT_LONGTXT
,
true
)
#endif
add_integer
(
"projectm-width"
,
800
,
WIDTH_TEXT
,
WIDTH_LONGTEXT
,
false
)
...
...
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