From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8429 invoked by alias); 27 Jun 2013 14:18:52 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 8414 invoked by uid 89); 27 Jun 2013 14:18:49 -0000 X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_GT autolearn=ham version=3.3.1 Received: from nm8-vm8.bt.bullet.mail.ir2.yahoo.com (HELO nm8-vm8.bt.bullet.mail.ir2.yahoo.com) (212.82.99.239) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 27 Jun 2013 14:18:48 +0000 Received: from [212.82.98.40] by nm8.bt.bullet.mail.ir2.yahoo.com with NNFMP; 27 Jun 2013 14:18:46 -0000 Received: from [217.146.189.79] by tm1.bt.bullet.mail.ir2.yahoo.com with NNFMP; 27 Jun 2013 14:18:46 -0000 Received: from [127.0.0.1] by smtp829.mail.ird.yahoo.com with NNFMP; 27 Jun 2013 14:18:46 -0000 X-Yahoo-SMTP: u.JgLvyswBBMp9ZJJfsX14qmYb3T2ivhMAr6OupnxLpNQEFZ9g-- X-Rocket-Received: from [192.168.1.72] (jon.turney@217.44.57.12 with plain) by smtp829.mail.ird.yahoo.com with SMTP; 27 Jun 2013 07:18:45 -0700 PDT Message-ID: <51CC49D0.4090605@dronecode.org.uk> Date: Thu, 27 Jun 2013 14:18:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: matt@codespunk.com Subject: Re: Font rendering is different when using -multiwindow References: <51B6CE42.5020904@codespunk.com> <51B76669.3060807@dronecode.org.uk> <51B783A5.2020101@codespunk.com> <51B7B03D.7040305@codespunk.com> In-Reply-To: <51B7B03D.7040305@codespunk.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg00055.txt.bz2 On 11/06/2013 21:08, Matt D. wrote: > To add some additional information, I am having the font rendering issue > when connecting my X session to a remote CentOS 6.4 machine. I cannot > duplicate the issue when running applications locally through Cygwin. > I'm having some trouble narrowing this down but here are the results of my tests: > > Remote X font rendering changed: > gedit 2.28.4 (Consolas) > gedit 2.28.4 (DejaVu Sans Mono) > Eclipse 4.2 (Consolas) > gtk-demo (GTK2) > > Local font rendering unchanged: > gedit 3.6.2 (Consolas) > gtk3-widget-factory > gtk-demo (GTK2) > Attached are the results from xdpyinfo. > multi > screen #0: > dimensions: 4480x1080 pixels (1185x286 millimeters) > resolution: 96x96 dots per inch > rootless > screen #0: > dimensions: 1920x1040 pixels (508x275 millimeters) > resolution: 96x96 dots per inch It might be that the implicit -multimonitors with -multiwindow is doing is throwing things off somehow (rounding?), so you might want to test with -rootless -multimonitors and -multiwindow -nomultimonitors and see if that changes anything? On 12/06/2013 00:18, Matt D. wrote: > I'm unfamiliar with X but I've been digging around the source code to see if I > can find anything. > > It seems like all of the text drawing is done by functions in dixfont.c, is > this correct? Is there a different rasterizer between normal and multiwindowed > mode? No and yes. That is the legacy (core) font rendering. Modern applications will use client-side font rendering and just send an image to the server using fontconfig/Xft/XRENDER. This would tend to suggest there is something in the font rendering on the Centos host which doesn't respond well to something about multiwindow mode, but I don't know what... -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/