On Wed, Jun 29, 2011 at 1:46 AM, Stefan Löffler <span dir="ltr"><<a href="mailto:st.loeffler@gmail.com">st.loeffler@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<u></u>
<div bgcolor="#ffffff" text="#000000">
Hi,<div class="im"><br>
<br>
On 2011-06-29 01:24, Charlie Sharpsteen wrote:
</div><blockquote type="cite"><div class="im">On Sun, Jun 26, 2011 at 6:52 AM, Stefan Löffler <span dir="ltr"><<a href="mailto:st.loeffler@gmail.com" target="_blank">st.loeffler@gmail.com</a>></span>
wrote:<br>
</div><div class="im"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div bgcolor="#ffffff" text="#000000"> As for (2), the Quartz
approach satisfies this by using system fonts, whereas
fontconfig requires X11 fonts (which, however, seem to have
become a sort of system fonts in recent OS Xs, anyway; if
they don't - or there is a chance users don't have it - we
should probably bundle the necessary font files with Tw,
just to ensure we don't violate the PDF standard).</div>
</blockquote>
<div> </div>
<div>Fontconfig appears to use mostly system fonts with one or
two X11 fonts thrown in. If the user does not have X11
installed, the main component that is missing are the
Fontconfig configuration files that tell it where to find
things. If we stuck with Fontconfig, a possible alternative to
bundling the 14 required fonts would be to bundle a
configuration file that tells Fontconfig where to locate
system fonts.</div>
</div>
</div></blockquote>
<br>
Sounds fine for me. Is there any way to use that only as a fallback
if no system config-files are found?</div></blockquote><div><br></div><div>Don't know, it was just an idea that occurred to me. Maybe I will play around with it someday. Given that X11 is installed by default on all Macs (but can be left out through customization of the install) it is unlikely that the base Fontconfig files will be absent.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div bgcolor="#ffffff" text="#000000"><div class="im">
<blockquote type="cite">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div bgcolor="#ffffff" text="#000000"> So, all in all, I see
two choices: bundle base-14 fonts (we do this partly for
Windows as well), or drop good font substitution.<br>
<br>
I would tend to go with fontconfig here, for reasons of
simple usability. But not being a Mac user this is nothing
more than a gut feeling.<br>
Have I missed something? Jonathan, any thoughts?</div>
</blockquote>
<div><br>
</div>
<div>I'm leaning in the direction of sticking with Fontconfig as
well. Mainly because although we have good Quartz support for
the "base 14 fonts", they are very English-centric and
Fontconfig appears to make better fallback and substitution
choices for non-English languages. As a white boy from Alaska,
I feel entirely unqualified to make these sorts of decisions
:)</div>
</div>
</blockquote>
<br></div>
Well then, unless someone else has good points to raise, let's
settle on fontconfig for the 0.4 series for now. We can still change
our minds down the road, but fontconfig seems like the most
user-friendly way right now.<div class="im"><br>
<br>
<blockquote type="cite">
<div class="gmail_quote">
<div>However, I do need to know which library to build 0.4.2
against.</div>
</div>
</blockquote>
<br></div>
You may want to wait another day or so until 0.4.3 is released (see
the thread on "Problem with autocompletion").<br></div></blockquote><div><br></div><div>Sounds good to me. I will wait until 0.4.3 to build the next round of Mac binaries and they will use Fontconfig.</div>
<div><br></div><div>-Charlie</div><div><br></div><div> </div></div>