Sorry, I got that wrong. Bill pointed out that "fixfont" and "profont" are permitted in wd, so
wd 'set textbuf font fixfont' will set the current session fixed font, and similarly for profont. Which fonts they are can be found with wd 'qtstate all' On Tue, Nov 27, 2018 at 5:53 PM Ian Clark <[email protected]> wrote: > Thanks, Chris, that answers my immediate questions. > > I take it you're saying: "fixfont" is deprecated for JAL use. > Or can I assume "fixfont" will always be supported > …and is defined to be the fontspec currently specified in Configure > for > the Term window? > > (… https://code.jsoftware.com/wiki/Guides/Window_Driver/Fontspec doesn't > make this clear.) > > Why does it matter? > > Once upon a time there was a "FixFont" attribute in Configure… > https://code.jsoftware.com/wiki/System/Config/J701 > …see near bottom. Retrieve this info from J wiki by typing "fixfont" in the > Search box. > > This was good because it allowed me to distribute a cross-platform app to > non-J-savvy users > (…indeed, non-programmer users) > which passed the choice of the right fixed-font for a given platform to > where it belongs: the J vendor. > The user was able to control which font got used (typically under > instruction from the helpline) > but didn't need to know anything about it, provided it looked okay. > As a result, "fixfont" got used extensively in TABULA code. > > BUT… > > Not all fixed-fonts look good (on the Mac). With some the box-drawing > characters don't join up, but leave gaps. > The result looks clunky: suggestive of an amateurish app. > (Example: Courier.) > > Jsoftware has changed its recommended (session) fixed-font for Darwin since > J701. > ++ Back then it was Andale Mono 16 > ++ Now wd'qtstate fixfont' says it is Menlo 14 > …which I admit shows good-enough boxes (/vertical arrows) on my machine… > == they join up in the Term window > == but don't quite join up in the editm widget. > > SO… > > If "fixfont" has since become deprecated/undocumented, can I make a case > for it to be reinstated as a viable end-user option? > > > > On Wed, 28 Nov 2018 at 00:49, chris burke <[email protected]> wrote: > > > You need to set a real font, not just "fixfont", e.g. try: > > > > wd 'pc abc;cc ok button;pshow' > > > > wd 'set ok font courier 30' > > > > > > See https://code.jsoftware.com/wiki/Guides/Window_Driver/Fontspec > > > > If you want the fixed font used in the session: > > > > wd 'qtstate fixfont' > > > > > > On Tue, Nov 27, 2018 at 4:41 PM Ian Clark <[email protected]> wrote: > > > > > If I code (say): > > > > > > wd 'set textbuf font fixfont' > > > > > > what font / fontspec does it actually use? > > > > > > Is it hard-coded? If not, where is it specified in menu: Edit > > > Configure… > > > ? > > > > > > Where is fixfont documented in J wiki? Is it deprecated? > > > > > > JVERSION > > > Engine: j807/j64nonavx/darwin > > > Release: commercial/2018-10-05T11:56:35 > > > Library: 8.07.19 > > > Qt IDE: 1.7.9/5.9.6 > > > Platform: Darwin 64 > > > Installer: J807 install > > > InstallPath: /applications/j64-807 > > > Contact: www.jsoftware.com > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
