TL;DR; When running e.g.
$ urxvt -hold -g 20x2 \
-fn -adobe-courier-bold-o-normal--25-180-100-100-m-150-iso8859-1 \
-e printf 'WXW DXD MXM mp\n\033[47mWXW DXD MXM mp '
(on ubuntu 16.04 `sudo apt-get install xfonts-100dpi`, then
`xset fp+ /usr/share/fonts/X11/100dpi` and `xset fp rehash`)
or
$ urxvt -hold -g 20x2 \
-fn '-misc-liberation mono-bold-i-normal--16-0-0-0-m-0-iso10646-1' \
-e printf 'WXW DXD MXM mp\n\033[47mWXW DXD MXM mp '
(worked on fedora 25 out-of the box for me -- there is some (mystic?) font
configuration which makes this liberation .ttf font as XLFD bitmap font work)
I see (upper right corner of) some of the glyphs in first line clippped and
in second not. If I try xterm, glyphs on both lines are clipped similarly
(so this doesnt't just happen with urxvt...)
(on dark background, using '[40m' instead of '[47m' in last line may be better)
Both lines should look the same, but for me those doesn't...
(I also don't know why second line looks better; for me it just does)
Can anyone reproduce -- intel integrated graphics may be needed (see below) ?
end of TL;DR;
For me this has happened since I upgraded from Fedora 20 to Fedora 21
(i.e. since around 2014-12), and every now and then I've tried to figure
out various ways to know why this happens (but without success). In the
above cases the problem is not so bad, but I have a font of my own where
italics font is much less readable than above (minimal screenshot below).
First I thought this is just a temporary hiccup and it will be resolved
soon, but this has been on in all Fedoras since 21 and I've experiencing
also on Ubuntu 14.04.4 and 16.04.
I've always thought it has to do something with X server of how it now
handles bitmap fonts, and tried search and configure it to these fonts
work better, but just a while ago when I installed Fedora 25 to a new
machine things got more interesting...
... since at first, when I run urxvt there, this font clipping problem
seemed to go away... just to reappear after a few days...
What I did in between was that as I had some installation problems, I
installed Fedora 25 in some kind of 'safe display' mode, and eventually
I got out of it by removing 'nomodeset' from kernel boot parameters.
And, sure enough, when I re-added 'nomodeset' during grub boot, these italics
font renderings were OK again!
The next thing I realized, I've had this problem (only?) on systems with
Intel i5 CPU, and with Integrated Graphics Controller, 1st, 4th and 5th
generation of i5.
With this 'nomodeset' revelation after rebooting to "fully functional" X
(e.g. again w/o 'nomodeset' kernel parameter)
I've tried quite a few ways to see working fonts, with some success:
1) ssh -Y remotehost and then opening urxvt X window over tcp connection:
font rendering problem exists! (xvinfo prints adaptor information)
2) Xnest :1 -geometry 800x600 and then opening urxvt window there:
font rendering problem exists! (xvinfo prints 'no adaptors present')
3) Xvnc :1 -geometry 800x600 -localhost -PasswordFile .vnc/passwd ...
¡¡¡ FONTS RENDER OK !!!
4) xpra start :7; xpra attach :7 :; and opening urxvt window there
¡¡¡ FONTS RENDER OK !!!
(when I had 'nomodeset' in kernel parameters, xvinfo (also) printed this
'no adaptors present' -- so there is something else than XVideo that
is different in these working and non-working cases).
Almost forgot:
fedora25$ ssh -Y ubuntu1604 emacs --eval '(org-mode)' --eval '(insert "/WXW/")'
font rendering problem exists!
fedora25$ emacs --eval '(org-mode)' --eval '(insert "/WXW/")'
¡¡¡ FONTS RENDER OK !!!
ubuntu1604$ ssh -Y fedora25 emacs --eval '(org-mode)' --eval '(insert "/WXW/")'
¡¡¡ FONTS RENDER OK !!!
I.e. With (fedora) Emacs 25.1.1, italics font rendering works, with (ubuntu)
Emacs 24.5.1, there is italics font rendering problem.
Based on this information (I hope you read this far :) can anyone come
up with good hints how could I make these font renderings work for me
(and possibly for others if there is anyone else suffering this) See the
attached image why this is a problem for me.
Tomi
The attached image is 312x56 pixel png image, 918 bytes. The image was
grabbed with gimp, saved as png and then `optipng --strip all -o9` it.
The image shows how bad the font I use breaks when it is italicised;
If there is more interest for the font, the font is available at
https://github.com/domo141/fatty-bitmap-font
The glyphs in the image are 'regular'; 'bold' is even bolder (and uglier)
(but contrast is good). There is example image on the above github page...
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode