<br><font size=2 face="sans-serif">I only have my own experience with fontconfig
on OS X to draw from, but I found that when I added fontconfig into the
extras/contrib, just as you say, and built it I ended up with a version
of VLC that could only render subtitles if it could find a fontconfig database
that was compatible with the version compiled into VLC. The version that
ships out of the box with OS X is so old that I can't even find the source
code for it any more. This is what I meant by the end-user needing to install
fontconfig on their machine. There is always the additional possibility
that we can install the conf and database to a separate path and build
the database at VLC init, but a quartz solution seemed like a better idea.
I have the code all working now, but it needs a massive tidyup and check
through before it can be submitted - I'm new to programming on OS X so
my first go through is anything but neat.</font>
<br>
<br><font size=2 face="sans-serif">Bernie</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Derk-Jan Hartman <hartman@videolan.org></b>
</font>
<br><font size=1 face="sans-serif">Sent by: vlc-devel-bounce@videolan.org</font>
<p><font size=1 face="sans-serif">30/03/2007 05:12 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
vlc-devel@videolan.org</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">vlc-devel@videolan.org</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">[vlc-devel] Re: [PATCH] styled
subtitles - warnings fixup</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>On 29-mrt-2007, at 2:27, Bernie Purcell wrote:<br>
> This patch (if the infernal thing works this time) should suppress
the<br>
> warnings generated when compiling freetype.c and subsdec.c - most
of<br>
> which came from new code I introduced.<br>
><br>
> A final note about the code supplied, which allows most of the  <br>
> subtitle<br>
> formats to render HTML type output in the subtitles: it relies on<br>
> Fontconfig. On OS X in particular this causes a problem, because the<br>
> expectation is not only that VLC is compiled with it, but that the<br>
> end-user has manually updated Fontconfig on their machine.<br>
<br>
The first can be done. Actually, should be done, and I already have a  <br>
configure.ac patch that uses pkgconfig to find fontconfig.<br>
But why does it need a manually updated fontconfig ? Can you please  <br>
explain? we can always add fontconfig to extras/contrib if we need  <br>
to. It will be less then optimal, but it would work.<br>
<br>
> I don't think<br>
> this is entriely practical, so have begun work on a Quartz-based<br>
> subtitling engine for that platform. Am I duplicating anyone else's<br>
> effort in doing this?<br>
<br>
A Quartz renderer would be a much better solution of course. We would  <br>
more then welcome that.<br>
<br>
DJ<br>
<br>
<br>
-- <br>
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/<br>
To unsubscribe, please read http://developers.videolan.org/lists.html<br>
</tt></font>
<br>