[MPlayer-dev-eng] [PATCH] Fix bug libass always use fontconfig does not care -nofontconfig

Ulion ulion2002 at gmail.com
Mon Dec 10 05:07:14 CET 2007


Hello,

Once fontconfig is enabled when compiling, ass will always use
fontconfig and not care whether user enabled or disabled fontconfig at
runtime.
Since there is a variable font_fontconfig to indicate whether
fontconfiig is enabled at runtime, libass should use it.


The first attachment is a simple the fix for use font_fontconfig at
runtime. fontconfig will always be runtime disabled if user not enable
it by command line or config file (mplayer default setting).


The second attachment is a little complex than the previous patch, it
will enable to use fontconfig when ass is enabled at runtime unless
user disable fontconfig in command line or config file.


Which one is better?


-- 
Ulion
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ass_nofontconfig.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071210/484f8695/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ass_fontconfig_default_enable.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071210/484f8695/attachment.asc>


More information about the MPlayer-dev-eng mailing list