From owner-freebsd-java@FreeBSD.ORG Fri Feb 13 05:53:40 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08E8016A4CF for ; Fri, 13 Feb 2004 05:53:40 -0800 (PST) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id C560143D1D for ; Fri, 13 Feb 2004 05:53:39 -0800 (PST) (envelope-from vova@sw.ru) Received: from localhost ([127.0.0.1]) by vbook.fbsd.ru with esmtp (Exim 4.30; FreeBSD) id 1ArdlG-0000dx-PV for java@freebsd.org; Fri, 13 Feb 2004 16:53:42 +0300 From: "Vladimir B. Grebenschikov" To: java@freebsd.org Content-Type: text/plain Organization: SWsoft Inc. Message-Id: <1076680412.821.49.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 13 Feb 2004 16:53:42 +0300 Content-Transfer-Encoding: 7bit Subject: jdk-1.4.2p6_1 fonts problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2004 13:53:40 -0000 Hi 1. I have jdk-1.4.2p6_1 installed on fbsd-5.2 $ xset +fp /usr/local/jdk1.4.2/jre/lib/fonts $ /usr/local/jdk1.4.2/jre/bin/ControlPanel Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct $ I can get rid this warning only by adding line -- LucidaTypewriterRegular.ttf -b&h-lucida-medium-r-normal-sans-0-0-0-0-p-0-iso8859-1 -- to /usr/local/jdk1.4.2/jre/lib/fonts/fonts.dir What is "right" solution for this problem ? 2. Another problem: I do not know how to configure default java fonts, now I have too large characters in X java applications or applets. Example site: http://www.sjpc.org/ssh/ Can anybody advice - how to configure default java fonts ? -- Vladimir B. Grebenschikov SWsoft Inc.