all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How does set-fontset-font work on overlapped regions?
@ 2016-09-26 21:07 Oleksandr Gavenko
  2016-09-27 14:48 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Oleksandr Gavenko @ 2016-09-26 21:07 UTC (permalink / raw)
  To: help-gnu-emacs

How does set-fontset-font work on overlapped regions?

  (set-fontset-font NAME TARGET FONT-SPEC &optional FRAME ADD)

TARGET can be cons (FROM . TO), script name symbol or charset.

Is latest settings have larger priority?

-- 
http://defun.work/




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How does set-fontset-font work on overlapped regions?
  2016-09-26 21:07 How does set-fontset-font work on overlapped regions? Oleksandr Gavenko
@ 2016-09-27 14:48 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2016-09-27 14:48 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Oleksandr Gavenko <gavenkoa@gmail.com>
> Date: Tue, 27 Sep 2016 00:07:36 +0300
> 
> How does set-fontset-font work on overlapped regions?
> 
>   (set-fontset-font NAME TARGET FONT-SPEC &optional FRAME ADD)
> 
> TARGET can be cons (FROM . TO), script name symbol or charset.
> 
> Is latest settings have larger priority?

Please read the documentation of set-fontset-font, it explains this,
and points you to the ADD argument as the device to define priority if
needed.

In general, though, I recommend to set up fonts such that regions of
their character codepoints don't overlap.  It's easier to maintain.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-27 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-26 21:07 How does set-fontset-font work on overlapped regions? Oleksandr Gavenko
2016-09-27 14:48 ` Eli Zaretskii

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.