On 5/24/07, <b class="gmail_sendername">&quot;Arne Götje (高盛華)&quot;</b> &lt;<a href="mailto:arne@linux.org.tw">arne@linux.org.tw</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Currently fontconfig&#39;s decision on which font to use for a specific<br>glyph is influenced by the following:<br> * which charsets the font package has registered in defoma. If the font<br>has registered itself for ISO8859-1, fontconfig will consider the font
<br>suitable for that codepoint range. Same is true for all other charsets.</blockquote><div><br>minor correction: fontconfig makes its own charset coverage determination - defoma merely symlinks fonts into a place fontconfig can find them.&nbsp; (and builds alias lists, etc based on defoma information)
<br></div><br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; - Whether we need DeFoMa<br><br>Yes, as legacy X, GTK1 and QT apps depend on it.
<br>Fontconfig also uses the settings to determine the character sets<br>provided by the fonts.<br>AFAIK, it is also used to register fonts for ghostscript... however I&#39;m<br>not an expert on this and it seems to me that it does not always work as
<br>planned.</blockquote><div><br>Yes, defoma still registers fonts with ghostscript.&nbsp;&nbsp; In this day and age though, if you forget to embed your fonts into your postscript doc you&#39;re probably already doing something wrong (and the few bug reports I&#39;ve investigated re defoma/ghostscript font handling have really been bugs in the postscript producer).
<br></div><br>(There&#39;s a whole bunch of defoma machinery for supporting the fonts in your printer - and also for tracking an X11 equivalent font to use when rendering printable docs on-screen.&nbsp; These are (dubious) reasons to still have the ghostscript defoma script)
<br><br></div>-- <br> - Gus