[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fonts displaying strangely
From: |
Sebastian Reitenbach |
Subject: |
Re: fonts displaying strangely |
Date: |
Sun, 11 Dec 2011 10:27:40 +0100 |
User-agent: |
SOGoMail 1.3.10 |
On Monday, October 31, 2011 20:46 CET, Eric Wasylishen <ewasylishen@gmail.com>
wrote:
> Hi Sebastian,.
> I see something similar if I increase the UI scale factor with GSScaleFactor,
> except text has gaps in it instead of being bunched together.
>
> I tracked that problem to the method -[NSLayoutManager
> drawGlyphsForGlyphRange:atPoint:] which is hard to understand and seems to be
> buggy. I started a rewrite of that method a while ago but never finished it.
> If you want, you could try applying the attached patch and see if it fixes
> your problem.
>
> The patch fixes the spacing problems I observed, but it is incomplete; it may
> not properly change styles when drawing an attributed string (and it's also
> slow) - so it's not ready to apply.
Whatever prevented me to test this patch earlier I don't know, but yes after
testing, it helps, looking much better now, but not perfect. Without the patch,
some letter were shown nearly completely at the same spot. Now, this is not the
case anymore, but some letters still have no space between each other. In the
AClock preferences, there is a checkbox stating Increasing Volume. The "ea" and
the "si", in Increasing, and the "ol" in Volume touching each other, but its
better than before, since they are not on the same place anymore.
I just came across the patch, since I tested the following:
Installed the same openbsd snapshot on two notebooks, one with a 4:3, and one
with a wide screen. The problem only showed up with the 4:3 screen. xdpyinfo
showed same resolution for both displays.
Also ssh -Y from one box to the other, the problem only shows up on the 4:3
screen.
On the wide screen, above touching letters in the Increasing Volume don't touch
each other.
hope its clear what I wanted to say, and that the observed difference between
4:3 and wide screen tells someone something.
cheers,
Sebastian
>
> Eric
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: fonts displaying strangely,
Sebastian Reitenbach <=