Update of bug #62941 (project groff):
Status: Confirmed => In Progress
_______________________________________________________
Follow-up Comment #4:
I have a fix.
diff --git a/src/roff/troff/env.cpp b/src/roff/troff/env.cpp
index 160c1378a..3e49a36da 100644
--- a/src/roff/troff/env.cpp
+++ b/src/roff/troff/env.cpp
@@ -567,8 +567,10 @@ void environment::set_family(symbol fam)
(0 != "font family dictionary lookup"));
if (0 /* nullptr */ == f)
return;
- if (f->make_definite(fontno) < 0)
+ if (f->make_definite(fontno) < 0) {
+ error("no font family named '%1' exists", fam.contents());
return;
+ }
prev_family = family;
family = f;
}
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62941>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/