From owner-freebsd-questions@FreeBSD.ORG Sun May 23 16:56:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 629FB106564A for ; Sun, 23 May 2010 16:56:30 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay008.isp.belgacom.be (mailrelay008.isp.belgacom.be [195.238.6.174]) by mx1.freebsd.org (Postfix) with ESMTP id F3E338FC1B for ; Sun, 23 May 2010 16:56:29 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnIGAML6+EtXQmYV/2dsb2JhbACDF45mjBNyrCmPc4ElgwRqBA Received: from 21.102-66-87.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([87.66.102.21]) by relay.skynet.be with ESMTP; 23 May 2010 18:56:28 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.4/8.14.4) with ESMTP id o4NGuRqZ051442; Sun, 23 May 2010 18:56:27 +0200 (CEST) (envelope-from tijl@coosemans.org) From: Tijl Coosemans To: freebsd-questions@freebsd.org Date: Sun, 23 May 2010 18:56:26 +0200 User-Agent: KMail/1.13.3 (FreeBSD/8.0-STABLE; KDE/4.4.3; i386; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201005231856.26490.tijl@coosemans.org> Cc: Eitan Adler Subject: Re: using TTF fonts in X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2010 16:56:30 -0000 On Sunday 23 May 2010 18:46:38 Eitan Adler wrote: > I have a folder with a bunch of TTF fonts. > when I run mkfontdir the fonts.dir file is just a "0" > and when I run xset +fp . I get > % xset +fp . > xset: bad font path element (#23), possible causes are: > Directory does not exist or has wrong permissions > Directory missing fonts.dir > Incorrect font server address or syntax > % cat fonts.dir > 0 > % ls -laod . fonts.dir > drwxr-xr-x 2 eitan eitan - 14336 May 23 18:54:55 2010 ./ > -rw-r--r-- 1 eitan eitan - 2 May 23 18:55:32 2010 fonts.dir For TTF fonts you have to create a fonts.scale file first. Check the mkfontdir(1) and mkfontscale(1) manpages.