Subject: bug#15138: Font selection error on OSX

From: Jan Djärv <[email-masked]>
Date: Tue, 3 Sep 2013 17:26:31 +0200

Hello.

3 sep 2013 kl. 14:10 skrev Kenichi Handa <[email-masked]>:

> In article <[email-masked]>, Jan Djärv <[email-masked]> writes:
> 
>> For OSX the way to go is to use Core text for this.  I
>> think GNUStep is looking at implementing Core text to
>> replace their old display postscript implementation.  So
>> this is basically a temporary fix.  Anyway, if you prefer
>> OTF for some script, why not mark those scripts with
>> "prefer-otf" and check if any otf-features are available?
> 
> ?? The default fontset alreay has such a specification.  For
> devanagari script, for instance, Emacs tries to find an OTF
> font which support "rphf" OTF Feature for "deva" script.
> 
>     (devanagari ,(font-spec :registry "iso10646-1" :otf '(deva nil (rphf)))
> 		 (nil . "iso10646.indian-1"))

That is nice.  But rphf is totally ignored for HAVE_NS, it accepts any font with devanagari.

	Jan D.