13 Sep 04:35
Re: Re: emacs-bidi: arabic
TAKAHASHI Naoto <ntakahas <at> m17n.org>
2002-09-13 02:35:00 GMT
2002-09-13 02:35:00 GMT
Alex Schroeder writes: > Perhaps the correct question to ask is "How do I check wether the > characters in the given range are really in font X?" AFAIK, you can't. It is beyond the ability of (the current) Emacs Lisp. > When I do this, composition results in glyphs being displayed -- yay! Congratulations. > One other problem pops up then, however. Something with the frame > size and font positioning is wrong. The resulting frame is 227 normal > (latin number) characters long. For each lating character, there is a > lot of whitespace above and below, such that latin text seems to be > double spaced. I can provide screenshots if you are interested. 1. Emacs calculates the frame size based on the FONTBOUNDINGBOX of its ASCII font. 2. You requested Emacs to use the m17n font not only for Arabic but for all characters, including ASCII. 3. The m17n fonts are proportional fonts. Some glyphs are very wide and some glyphs are very tall. Therefore its FONTBOUNDINGBOX is very big. > Perhaps I did something wrong when installing the m17n fonts, or there > is some bad interaction with my X?(Continue reading)

RSS Feed