From owner-freebsd-questions@FreeBSD.ORG Tue Mar 19 15:46:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 227F57FE; Tue, 19 Mar 2013 15:46:15 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id D4FBD6D; Tue, 19 Mar 2013 15:46:14 +0000 (UTC) Received: from [46.244.132.178] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UHyjl-0007aP-Mi; Tue, 19 Mar 2013 16:46:06 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id r2JFk4ci005527; Tue, 19 Mar 2013 16:46:04 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id r2JFk3vw005526; Tue, 19 Mar 2013 16:46:03 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 19 Mar 2013 16:46:03 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: adding a TrueType font Message-ID: <20130319154603.GA5474@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 46.244.132.178 Cc: freebsd-x11@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2013 15:46:15 -0000 Hello, I have a need for a very special font (which is used for the chars how they are teached to my son in school in first grade). I have found the TTF file and installed it as: $ file /usr/local/lib/X11/fonts/TrueType/DruckschriftBayern.ttf /usr/local/lib/X11/fonts/TrueType/DruckschriftBayern.ttf: TrueType font data and did the additional steps as described in the handbook http://www.freebsd.org/doc/handbook/x-fonts.html The new font shows up fine in some KDE apps, in firefox etc.; as well I can see it with fc-list(1) as: $ fc-list | fgrep BY Druckschrift BY WOK:style=Medium but I can't use is, for example with xterm, it says: $ xterm -fn 'Druckschrift BY WOK' xterm: cannot load font Druckschrift BY WOK and even more magic: I can set it in 'kedit' via preferences, but when I launch it from cmd line it says: $ kedit --fn 'Druckschrift BY WOK' QFont::setRawName(): Invalid XLFD: "Druckschrift BY WOK" Any idea why is this? I'd like to have it in xterm or in uRxvt, even better. Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards