unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Per-buffer font settings for non-ASCII characters
@ 2023-04-24  7:43 RangHo Lee
  0 siblings, 0 replies; only message in thread
From: RangHo Lee @ 2023-04-24  7:43 UTC (permalink / raw)
  To: help-gnu-emacs

Hello, everyone.

I am in the process of ditching word processors altogether to use Emacs
full-time.
Now I am trying to set up proper serif font handing with Emacs, but the CJK
font
got in the way. Following Dennis Ogbe's guide[1], I was able to set up
proper ASCII
font handling. However, this does not change the Korean text I am working
with.

I've read some Reddit posts[2] that mentions the difference between
`set-fontset-font`
and `set-face-attribute`, but I can't get rid of the suspicion that I can
*somehow* get
around this issue.

Is there any way to achieve "per-buffer" CJK font switching in Emacs?
My current `init.el` can be seen in the link below:
https://github.com/RangHo/dotfiles/blob/e14c77333184aa8e3c3dab4bf282bd3676c9e027/emacs/.config/emacs/rangho-theme.el#L45-L129

Thanks in advance!

--------

[1]: https://ogbe.net/blog/toggle-serif
[2]:
https://www.reddit.com/r/emacs/comments/mo0cc8/whats_the_relation_between_setfontsetfont_and/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-24  7:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-24  7:43 Per-buffer font settings for non-ASCII characters RangHo Lee

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).