> Regarding Re: some utf8 chars are terrible small.; "Stephen
J. Turnbull" <stephen(a)xemacs.org> adds:
Uwe Brauer writes:
> Value: #<font-instance
> "-adobe-courier-bold-r-normal--18-180-75-75-m-110-iso8859-1" on
> #<x-device on ":0.0" 0x2b228> font id: 0x4600074, 0x30302>
I think you must have missed the character. Please try again, if
you
did not miss, there is probably a bug in XEmacs here.
Ok again.
∞
^cursor on the symbol
#<font-instance
#"-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
#on #<x-device on ":0.0" 0x2b228> font id: 0x460026b,
#0x293919>
∞
^cursor behind the symbol
#<font-instance "-adobe-courier-bold-r-normal--18-180-75-75-m-110-iso8859-1"
on #<x-device on ":0.0" 0x2b228> font id: 0x4600074, 0x30302>
I presume the first font is the font in question. And right
via xfontsel I can see the tiny infty symbol.
Note the --18. This says that the character cell is 18 pixels high
(that normally includes a couple of pixels of padding, and of course
the lemniscate is likely to be less than half the total height.
> I tried a little around when I use
> (set-face-font 'default
> "-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-7"))
Greek?
Yes for greek symbols such as α
This font is good:
#<font-instance
#"-microsoft-georgia-medium-r-normal--19-140-100-100-p-0-iso8859-7"
#on #<x-device on ":0.0" 0x2b228> font id: 0x4600736,
#0x1bacbcb>
This is not bad neither
#<font-instance "-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-7"
on #<x-device on ":0.0" 0x2b228> font id: 0x4600743, 0x1bb2189>
> It is still not clear to me how to enhance the size of the
> symbol.
Try using "xlsfonts -fn -*-iso10646-1" to see if you have
other
fonts. If you see a series of 0-0-0 in the middle of a font name,
then it's scalable. However, there's no guarantee that it contains
the needed characters.
Ok I found a solution. I am ashamed to tell you that it is a
MS font. So the following works:
(cond ((and (string-match "XEmacs\\|Lucid" emacs-version)
(= emacs-major-version 21)
(>= emacs-minor-version 5))
(let ((basic "-*-courier-bold-r-*-*-18-180-*-*-*-*-*-*")
;; this font is better for the symbols
;; (fallback
"-microsoft-verdana-medium-r-normal--0-0-0-0-p-0-iso10646-1"))
;; that font is better for greek
(fallback
"-microsoft-verdana-medium-r-normal--0-0-0-0-p-0-iso10646-1"))
(set-specifier
(face-font 'default)
`(((tty) . "normal") ((x) . ,basic) ((x encode-as-utf-8 initial
x-coverage-instantiator) . ,fallback) ((x two-dimensional initial) . ,fallback)
((x two-dimensional initial) . ,fallback)
((x two-dimensional initial) . ,fallback)
((x one-dimensional final x-coverage-instantiator) . ,fallback)
((x two-dimensional final x-coverage-instantiator) . ,fallback)
((x) . "*"))
nil nil 'remove-tag-set-prepend))))
> I think I will try to compile xemacs with xft support.
That's probably the shortest route to a better display.
I have to try this later since I need to reinstall my
Kubuntu version for this. KDE3 is in conflict with
freetype-dev......:'(
Uwe
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta