help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emacs do not show RU and IPA chars in monospaced font.


From: Oleksandr Gavenko
Subject: Emacs do not show RU and IPA chars in monospaced font.
Date: Mon, 09 Jul 2012 00:50:07 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

M-x version 23.4.1 on Debian Wheezy.

================================================================

I set:

  (set-frame-font "7x13")

For EN text I get:

  x:-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1 (#x28)

For RU text I get:

  xft:-Misc-Fixed-normal-normal-normal-*-13-*-*-*-c-80-iso10646-1 (#x394)

I try set:

  (set-frame-font "-misc-fixed-medium-r-normal-*-13-*-*-*-*-*-iso10646-*")

and for russian letter get (ugly bold large letters):

  xft:-Misc-Fixed-normal-normal-normal-ja-13-*-*-*-c-120-iso10646-1 (#x1FC)

After a lot of experimanting I found:

  (set-frame-font "-rfx-courier-medium-r-normal-*-14-*-75-75-*-iso10646-1")

which good exept missing 13px size. 12 too small, 14 look large.

I accept the situation and use this fornt until back to edit
dictionary with IPA letters.

Some IPA letters shown as @ instead of ə:

         to input: type "/e" with ipa
    xft:-rfx-Courier-normal-normal-normal-*-14-*-*-*-m-90-iso10646-1 (#x323)
  name: LATIN SMALL LETTER SCHWA

So I return to experimentation and found font:

  (set-frame-font "FreeMono-13")
  xft:-unknown-FreeMono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1 (#x59)

which seems have all chars I use for text: EN, RU, IPA. But text
become pale (black is gray) because of anti-aliasing.

I add:

   <match target="pattern">
    <test qual="any" name="family">
      <string>FreeMono</string>
    </test>
    <edit name="antialias" mode="assign">
      <bool>false</bool>
    </edit>
  </match>

to ~/.fonts.conf and restart X. Resulted look does not satisfy
me. For 13 px fornt size curve for small letter c was broken into
2 part but must be continuous. With size of 14 letters are too
large.

================================================================

I run old Emacs 22.2.1 on same host and after:

  (set-frame-font "7x13")

I get text which looks RIGHT. Proof for EN, RU, IPA chars:

  character: d (100, #o144, #x64, U+0064)
     -Misc-Fixed-Medium-R-Normal--13-120-75-75-C-70-ISO8859-1 (#x64)
  character: ʌ (332332, #o1211054, #x5122c, U+028C)
     -Misc-Fixed-Medium-R-Normal--13-120-75-75-C-70-ISO10646-1 (#x28C)
  character: д (332884, #o1212124, #x51454, U+0434)
     -Misc-Fixed-Medium-R-Normal--13-120-75-75-C-70-ISO10646-1 (#x434)

================================================================

After all I wrote I ask help.

Why for RU letters was not used same font as for EN letters?

Is this releted for Xft support? Can I disable it (I prefer
server side fonts and don't lie anti-aliasing)?

Do I need prepare bug report?

-- 
Best regards!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]