Mercurial > mplayer.hg
view gui/win32/README @ 36650:8b2c68d6fd89
Enable specifying a font file in the GUI preferences.
This has been broken since the introduction of Fontconfig.
Since Fontconfig is selecting fonts by font patterns and the GUI does so
by selecting a font file, it is necessary to temporarily disable
fontconfig font handling if there is a directory separator character
found in the name (or pattern) of the font to be used, i.e. assume the
font name to be a pattern if and only if it doesn't contain a directory
separator character.
Thus set option 'fontconfig' depending on font_name. Set it in guiInit()
for the font possibly given in a configuration file or on the command
line, and set it in mplayerLoadFont() whenever it is affected by GUI
preferences settings.
(Although the font selection dialog only allows files to be selected,
it is possible to simply enter a fontconfig font pattern in the
preferences' text entry field - or to enter it directly into the GUI
configuration file or to specify on the command line, both of which
always is possible.)
author | ib |
---|---|
date | Sun, 26 Jan 2014 16:40:49 +0000 |
parents | f41b913170ea |
children |
line wrap: on
line source
MPlayer Windows GUI (c) 2003 Sascha Sommer - <saschasommer@freenet.de> 2006 Erik Augustson - <erik_27can@yahoo.com> 2006 Gianluigi Tiesi - <sherpya@netfarm.it> This beta GUI for Windows was originally written by Sascha Sommer and has since been heavily modified by myself (Erik Augustson) and Gianluigi Tiesi. It follows the same concept as the Linux GUI, and should be able to load all (or at least most) of the current skins available for the Linux GUI. To compile, quite simply pass --enable-gui to configure, and it is highly recommended to also pass --enable-static="-mwindows" to link mplayer as a Windows binary. NOTE: This will also link mencoder with -mwindows and thus link mencoder as a Windows binary as well. To enable use of the GUI, mplayer.exe must be renamed / copied to gmplayer.exe. Please send all bug reports/comments/requests/gripes to: <erik_27can@yahoo.com>