From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25943 invoked by alias); 11 Jun 2013 23:18:59 -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 25907 invoked by uid 89); 11 Jun 2013 23:18:55 -0000 X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_00,KHOP_DNSBL_BUMP,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RCVD_IN_MSPIKE_BL,RCVD_IN_MSPIKE_L3,TW_GT autolearn=no version=3.3.1 Received: from p3plsmtpa09-03.prod.phx3.secureserver.net (HELO p3plsmtpa09-03.prod.phx3.secureserver.net) (173.201.193.232) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 11 Jun 2013 23:18:54 +0000 Received: from [10.0.1.102] ([68.9.29.195]) by p3plsmtpa09-03.prod.phx3.secureserver.net with id nBJr1l00B4CauTG01BJsMZ; Tue, 11 Jun 2013 16:18:52 -0700 Message-ID: <51B7B03D.7040305@codespunk.com> Date: Tue, 11 Jun 2013 23:18:00 -0000 From: "Matt D." User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: Re: Font rendering is different when using -multiwindow References: <51B6CE42.5020904@codespunk.com> <51B76669.3060807@dronecode.org.uk> <51B783A5.2020101@codespunk.com> In-Reply-To: <51B783A5.2020101@codespunk.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg00020.txt.bz2 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? I tried specifying all of the various options available through the -engine parameter, such as '-engine 1' but with no change. On 6/11/2013 4:08 PM, 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) > > > Are you sure this odd rendering appears on all applications, and > > isn't tied to a particular toolkit (Qt, gtk, etc. )? > > I don't have any good candidates to test this with, as I'm only familiar > with gtk applications. > > Attached are the results from xdpyinfo. > > > > On 6/11/2013 2:03 PM, Jon TURNEY wrote: >> On 11/06/2013 08:14, Matt D. wrote: >>> When running applications with a full-screen or -rootless X session, >>> fonts >>> look fine. But when running the same application using the -multiwindow >>> switch, fonts are rendered oddly and are difficult to read. >>> >>> Here are some examples: >>> >>> Correct (full screen or rootless): >>> http://codespunk.com/files/upload/x_font.png >>> >>> Incorrect (multiwindow): >>> http://codespunk.com/files/upload/x_font_mw.png >>> >>> I prefer running as multiwindow because each application has its own >>> unique >>> window for focus. In rootless mode all of the X windows come to the >>> front when >>> one is selected. >>> >>> Does anyone know why fonts are rendering differently? Can this be fixed? >> >> Thanks for reporting this issue. >> >> This is pretty odd. I have no idea what the cause is. >> >> Are you sure this odd rendering appears on all applications, and isn't >> tied to >> a particular toolkit (Qt, gtk, etc. )? >> >> You might start by looking at the dimensions and dpi details for >> "screen #0" >> reported by xdpyinfo, and see if there is a difference between these >> two modes. >> > > > -- > 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/ -- 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/