From owner-freebsd-ports@FreeBSD.ORG Wed Aug 18 21:38:29 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8955D16A4CE; Wed, 18 Aug 2004 21:38:29 +0000 (GMT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6922743D39; Wed, 18 Aug 2004 21:38:29 +0000 (GMT) (envelope-from eta@lclark.edu) Received: from [192.168.0.103] (c-24-21-18-195.client.comcast.net[24.21.18.195]) by comcast.net (rwcrmhc13) with SMTP id <2004081821382801500n7h2ke>; Wed, 18 Aug 2004 21:38:28 +0000 From: Eric Anholt To: Ruslan Ermilov In-Reply-To: <20040818202259.GG16055@ip.net.ua> References: <20040818095933.GA67190@ip.net.ua> <1092858808.899.22.camel@leguin> <20040818202259.GG16055@ip.net.ua> Content-Type: text/plain Message-Id: <1092865107.899.146.camel@leguin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 18 Aug 2004 14:38:27 -0700 Content-Transfer-Encoding: 7bit cc: ports@freebsd.org Subject: Re: X.org, firefox, and bitstream-vera X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 21:38:29 -0000 On Wed, 2004-08-18 at 13:22, Ruslan Ermilov wrote: > On Wed, Aug 18, 2004 at 12:53:29PM -0700, Eric Anholt wrote: > > On Wed, 2004-08-18 at 02:59, Ruslan Ermilov wrote: > > > Hi Eric, > > > > > > Last Saturday, I've upgraded all of my ports on my 5.2-CURRENT > > > notebook, including switching to X.org. Everything went fine, > > > except I now get insane large fonts when browsing www.FreeBSD.org, > > > for example. I tracked it down to the bitstream-vera port which > > > is a runtime dependency of the x11-fonts/xorg-fonts-truetype. > > > I was wondering, is there any real need for this dependency? > > > > bitstream-vera has been part of the X distribution since XFree86 4.3.0. > > Instead of using the distribution-supplied bits (which should be exactly > > the same), I used our existing port. You're the second person to report > > this issue with www.freebsd.org and bitstream-vera, but it's also what I > > use and I don't see any problems. Not sure what to say here. > > > bitstream-vera is not installed with the XFree86 meta-port, > the fact that it's installed with the xorg meta-port is the > change in behavior. My setup is very plain and standard. > On a 4.x machine, I have XFree86-4.4.0,1 (no bitstream-vera). > On a 5.x machine, I have xorg-6.7.0_1 (with bitstream-vera). > I also have the following fonts installed, on both machines: That's very odd. They're integrated into imake, and they're built by default in the monolithic X builds. I'd blame our packaging. > cyr-rfx-koi8-o-1.1 > mozilla-fonts-1.0_1 > webfonts-0.21_1 > > On 4.x, I get the English and Russian versions of the FreeBSD > website displayed in a similarly sized font. On 5.x with > bitstream-vera, Russian version is still displayed with the > same "normal" (in my definition of normal) sized font, while > the English version is rendered by enlarged font from the > bitstream-vera collection. When I remove bitstream-vera, > everything is back to normal. > > Can you do this for me? Please visit the www.FreeBSD.org's > main page, visually remember the font size, then temporarily > move /usr/X11R6/lib/X11/fonts/bitstream-vera to another > directory so it's not found by fontconfig, restart X and > browser (I'm using firefox) and visit the page again. Can > you see the difference in the size? I went ahead and took screenshots. http://people.freebsd.org/~anholt/vera.png http://people.freebsd.org/~anholt/novera.png http://people.freebsd.org/~anholt/none.png The three in order are my normal desktop with bistream-vera, webfonts, and the standard X set, mozilla with vera taken out, and mozilla with the webfonts removed too. There's definitely a size difference, but not "insanely large," which made me think of a bug I've seen in the font handling in mozilla, that I've never tracked down. Of the three, I far prefer FreeBSD.org's look when using vera. But this is just personal taste. If you want to have programs prefer other fonts, you can edit /usr/X11R6/etc/fonts/local.conf to prefer another font set. See fonts.conf for examples, but you're not supposed to modify that one. -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org