mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 00:01:33 -08:00
(font_load_for_face): Handle the case that the font in
face->lface is a string.
This commit is contained in:
parent
55d6c8ac6e
commit
c8ea71f686
1 changed files with 4 additions and 0 deletions
|
|
@ -2753,6 +2753,10 @@ font_load_for_face (f, face)
|
|||
if (! NILP (entity))
|
||||
font_object = font_open_for_lface (f, entity, face->lface, Qnil);
|
||||
}
|
||||
else if (STRINGP (font_object))
|
||||
{
|
||||
font_object = font_open_by_name (f, SDATA (font_object));
|
||||
}
|
||||
|
||||
if (! NILP (font_object))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue