On Sun, 2006-07-16 at 10:18 -0700, Keith Packard wrote: > On Sun, 2006-07-16 at 08:29 -0400, Stephen C. North wrote: > > > fontconfig silently fails over to some default. How can we tell > > when this happens and warn the user? > > You can compare the family name in the returned font with the name you > requested; if they don't match, fontconfig has gone off and found > something other than what they requested. But note that this will be the case when there are aliases involved; if the user asked for Arial and got the metric-matched Albany AMT instead, say. So it's probably not good to warn in that case. Owen _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig