public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: matt@codespunk.com
Subject: Re: Font rendering is different when using -multiwindow
Date: Thu, 27 Jun 2013 14:18:00 -0000	[thread overview]
Message-ID: <51CC49D0.4090605@dronecode.org.uk> (raw)
In-Reply-To: <51B7B03D.7040305@codespunk.com>

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/


      reply	other threads:[~2013-06-27 14:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-11  7:14 Matt D.
2013-06-11 18:03 ` Jon TURNEY
2013-06-11 20:08   ` Matt D.
2013-06-11 23:18     ` Matt D.
2013-06-27 14:18       ` Jon TURNEY [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51CC49D0.4090605@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=matt@codespunk.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).