Follow-up Comment #13, bug #64155 (project groff):
[comment #12 comment #12:] > [comment #11 comment #11:] > > + * src/roff/troff/env.cpp (is_family_valid): New function checks > > + for all text styles (R, I, B, BI) and returns true only if the > > + given family supports them all. > > + (family_change): Call `is_family_valid()` on given argument. > > + If invalid, throw diagnostic and ignore `fam` request. > > If comment #9 is correct, wouldn't this disallow a CJK family? Or do those fonts not use the family concept? They don't, yet. If they're going to, we need to make the "styles" concept considerably more flexible, and probably have it driven by new directives in the device and/or font description files. I've had a couple of different ideas along these lines, and I don't like either one. So I reckon we can cross that bridge later. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?64155> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/