unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: sand@blarg.net
To: Kenichi Handa <handa@m17n.org>
Cc: sand@blarg.net, emacs-devel@gnu.org
Subject: Re: Accumulated fontset definition tweaks for testing
Date: Sat, 17 May 2008 22:04:35 -0700	[thread overview]
Message-ID: <18479.47331.91979.860369@priss.frightenedpiglet.com> (raw)
In-Reply-To: <E1Jwui0-0001be-QF@etlken.m17n.org>

Kenichi Handa writes:
> Thank you for them.  I'm going reflect 1 to 3 in fontset.el.
> I think 4 and 5 is not necessary if we implement
> registry-representative-chars as I wrote in the previous
> mail.

I enabled simultaneous X and Xft backends using

  Emacs.FontBackend: xft,x

and some of the non-Unicode characters showed display problems that
didn't appear in an Xft-only configuration.  They were falling back to
other fonts even though my "normal" Neep Alt font had glyphs for them.
I was able to fix the problems with some additional fontset
definitions.

  ;; Needed to keep the non-Unicode Esperanto HELLO text from displaying
  ;; as Palladino.
  (set-fontset-font "fontset-default" 'latin
    (font-spec :registry "iso8859-3" :script 'latin) nil 'prepend)

  ;; Needed to keep the non-Unicode Russian HELLO text from displaying
  ;; as Palladino.
  (set-fontset-font "fontset-default" 'cyrillic
    (font-spec :registry "iso8859-5" :script 'cyrillic) nil 'prepend)

  ;; Needed to keep the non-Unicode Vietnamese HELLO text from displaying
  ;; in the Chinese font Ar Pl Zenkai Uni.
  (set-fontset-font "fontset-default" 'latin
    (font-spec :registry "viscii1.1-1" :script 'latin) nil 'prepend)

  ;; Needed to keep certain non-Unicode Greek HELLO text characters
  ;; from displaying in the Japanese font Sazanami Mincho (and showing
  ;; up blank on the screen).
  (set-fontset-font "fontset-default" 'greek
    (font-spec :registry "iso8859-7" :script 'greek) nil 'prepend)

Does the order in which the drivers are specified in the resource have
any effect on the behavior of Emacs?  I wasn't able to see any
difference between "x,xft" and "xft,x".

Derek

-- 
Derek Upham
sand@blarg.net




      reply	other threads:[~2008-05-18  5:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-16  4:19 Accumulated fontset definition tweaks for testing sand
2008-05-16  7:50 ` Kenichi Handa
2008-05-18  5:04   ` sand [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=18479.47331.91979.860369@priss.frightenedpiglet.com \
    --to=sand@blarg.net \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).