[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how can I find out if ttf native hinting is enabled?



On Sat, Sep 01, 2007 at 03:41:47 -0700, Michael M. wrote:
> On Sat, 2007-09-01 at 08:59 +0100, Liam O'Toole wrote:
> > On Fri, 31 Aug 2007 20:50:00 -0400
> > gavron wrote:
> > 
> > > Does anyone know how I can figure out if native hinting for truetype
> > > fonts is enabled?
> > > 
> > > I've been running etch for a couple months now and I understand that
> > > this is the way to go with quality fonts such as Microsoft Verdana.
> > > 
> > > That's the screen font I use wherever I can and it does not render
> > > quite as well on debian etch as on a Windows machine.
> > > 
> > > Is there a way I can find out?
> > 
> > Try this:
> > 
> >     debconf-get-selections | grep fontconfig
> 
> 
> On my system, debconf-get-selections returns "command not found."

You need the "debconf-utils" package for the debconf-get-selections
utility. You can also look at the debconf database directly; it is a
plain text file:

awk '/fontconfig/,/^$/' /var/cache/debconf/config.dat
 
> How does one get a list of all packages that debconf configures?  The
> man page for debconf-show says, "The most common use is "debconf-show
> packagename", which displays all items in the debconf database owned by
> a given package, and their current values.  Questions that have been
> asked already are prefixed with an ’*’.  This can be useful as a
> debugging aid, and especially handy in bug reports involving a package’s
> use of debconf."  But it doesn't say how to figure out which packages
> use debconf.

All these package must depend on debconf, so this should work:

aptitude search '~i~Ddebconf'

Another option is to use the "Owners:" lines from config.dat:

gawk '/^Owners:/{sub("Owners: ","");gsub(", ","\n");print}' /var/cache/debconf/config.dat | sort -u

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |



Reply to: