Commit b7d7285c authored by Kenichi Handa's avatar Kenichi Handa

(x-make-font-bold-italic): New function.

parent 9dfa30b5
......@@ -823,6 +823,12 @@ If that can't be done, return nil."
"Given an X font specification, make a non-italic version of it.
If that can't be done, return nil."
(x-frob-font-slant font "r"))
(defun x-make-font-bold-italic (font)
"Given an X font specification, make a bold and italic version of it.
If that can't be done, return nil."
(and (setq font (x-make-font-bold font))
(x-make-font-italic font)))
;;; non-X-specific interface
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment