|
From: | Raja R Harinath |
Subject: | Re: No malayalam glyphs in language/mlm-util.el |
Date: | Sat, 15 Feb 2003 12:29:22 -0600 |
User-agent: | Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 |
Hi, Benjamin Riefenstahl <address@hidden> writes: > (let ((fontset (query-fontset (frame-parameter nil 'font)))) > (when (not fontset) > (setq fontset "fontset-default") > (set-default-font fontset)) Or use the following (totally untested): (let* ((frame-font (frame-parameter nil 'font)) (current-fontset (query-fontset frame-font))) (unless current-fontset (setq current-fontset (create-fontset-from-ascii-font frame-font)) (set-default-font current-fontset)) ;; ... rest of code using current-fontset ) - Hari -- Raja R Harinath ------------------------------ address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |