emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Re: ftfont ISO10646-1 font bug found (was Re: 23.0.60; Heav


From: sand
Subject: Re: [PATCH] Re: ftfont ISO10646-1 font bug found (was Re: 23.0.60; Heavy display problems with new font backend)
Date: Mon, 12 May 2008 23:04:00 -0700

address@hidden writes:
> The font-backend branch has the same problem, and essentially the same
> patch works for it.  It's not worth constructing a separate patch for
> that branch.  Plus, it looks like the patch itself, while useful, is
> fixing secondary problems rather than root problems.  I decided to try
> attacking the issues at the Lisp level.
> 
> Most of the problems seem to be caused by bad configuration in
> "fontset.el".  I have appended the Lisp code I came up with to get my
> environment (almost) working.  The exception is Korean syllabics,
> which show up fine with the old backend (using Daewoo Mincho
> KSC5601.1987) but don't show up at all with the new one.  The fontset
> declaration looks okay, so I'm going to keep digging.

I got Hangul working after adding another declaration for ISO-10646
with a :script parameter:

;; 'hangul script has a :language restriction for iso10646-1, but also
;; needs :script restriction as alternative.
(set-fontset-font "fontset-default" 'hangul
                  (font-spec :registry "iso10646-1" :script 'hangul) nil 
'prepend)

It looks like any time we have an :otf or a :language declaration for
a script, we need a :script declaration as a backup for safety.

Derek

-- 
Derek Upham
address@hidden




reply via email to

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