all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Takanori MATSUURA <t.matsuu@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#4129: Support for dual spacing fonts
Date: Wed, 12 Aug 2009 10:55:30 +0900	[thread overview]
Message-ID: <6f27515e0908111855l2b4c9d48i12c62c88e6e999cd@mail.gmail.com> (raw)

When I use IPAGothic font with emacs-23.1, ASCII characters are shown
as character itself and extra space (ie. "A ", "t ").  The font have
the spacing value of "90" which means dual spacing. If I explicitly
define the spacing to "0", this font-width issue is solved.

Other software which use fontconfig can treat IPAGothic fonts
properly.  So I'm afraid that emacs doesn't handle it.


Fonts are shown with wrong spacing:
Add ~/.emacs to
(set-frame-font "IPAGothic")

Fonts are shown properly:
Add ~/.emacs to
(set-frame-font "IPAGothic:spacing=0")

And add the following fontconfig configuration
<match target="font">
  <test name="family">
     <string>IPAGothic</string>
  </test>
  <edit name="spacing">
     <int>0</int>
  </edit>
  <edit name="globaladvance">
     <bool>false</bool>
  </edit>
</match>


IPAGothic font is available from:
http://ossipedia.ipa.go.jp/ipafont/
(Both Japanese and English contents included in one page. same meaning)


Regards,
Takanori






             reply	other threads:[~2009-08-12  1:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-12  1:55 Takanori MATSUURA [this message]
2010-04-21  1:28 ` bug#4129: Support for dual spacing fonts Takanori MATSUURA
2010-06-25 17:10 ` bug#4129: Emacs still have font spacing problem Naohiro Aota
2010-06-30  6:57   ` Kenichi Handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6f27515e0908111855l2b4c9d48i12c62c88e6e999cd@mail.gmail.com \
    --to=t.matsuu@gmail.com \
    --cc=4129@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.