On 04/07/2009 11:11 AM, Olivier Galibert wrote:
> On Tue, Apr 07, 2009 at 02:32:38PM +0200, Nicolas Mailhot wrote:
>> Fontconfig-using apps do not crash for lack of fonts, because
>> fontconfig has built-in font substitution
>
> Nice theory.  Kinda breaks down when you find out that
> pango_font_metrics_get_approximate_char_width answers 0 on such a
> subtitution.

So what? Remove all your fonts (or pango.modules file) and Pango happily works. Draws boxes though. See attachment. But thanks for the report. Fixing.

I've recently added an internal font to cairo. In near future, Pango will happily fallback to that.

> Pretending that fontconfig/pango is bug-free is just out there.

No one's pretending that.

behdad

<<attachment: gedit-boxes.png>>

_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to