The global Xresources used -dt-interface system at 14 px for *FontList,
buttons, labels, text and the editor; in buttons, dialogs and lists that
read one size too big next to the IRIX look. The session fonts are Adobe
Helvetica now -- 14 px on a screen wider than 1175 pixels, 12 on a medium
one, 10 on a small one -- the face of the 4DWm reference.
The title and the menus are untouched: 14 px bold oblique, as the 4DWm
app-defaults say (Dtwm.defs.src, 8a0a5ac3). The panel keeps its 14/13/10.
sys.font.src carries the same defaults for dtsession's sys.fonts.
Measured: cpp -P -DXCOMM=# -DWIDTH=1280 sys.resources.src selects
-adobe-helvetica-medium-r-normal--14-* for FontList/button/label/text;
make -C programs/dtwm rc=0 and make -C programs/dtsession rc=0, 0 errors.
sys.resources/sys.font gave *Font and *FontSet as
'-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*'. The first match the
server lists for that alias is ...-gb2312.1980-0, a two-byte font: Motif drew
ASCII two bytes per glyph and every menu bar, label and the dtbar status read
as Chinese ('Fi' = 0xC6E9 = GB2312 '崎'). With iso8859-1 named, dtfile's labels
read 'Back', 'Forward', 'DEVICES' (xrdb -merge in the installed VM,
2026-11-18).
A monitor below the bar is three columns by two rows; dragging a window to
an edge shows a zone (or a half), sliding along the edges joins zones, and
release takes it; dropped elsewhere it gets its size back. f.mcde_snap and
f.mcde_fullscreen, the window menu's Full Screen and Alt+Ctrl keys in all
locales. The move loop polled the pointer without end when the server was
not grabbed (177 CPU ticks in 3 s with a window held still), now it waits.
Focus follows the pointer without raising by default, as session
resources the Style Manager changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fonts:
- fonts/hack: Hack 3.003 (Expat + Bitstream Vera, from Debian fonts-hack),
installed to dt/fonts; config/fonts.conf (the system's fontconfig plus
that directory) exported by Xsession.d/0070.dtfonts and
Dtlogin*environment.
- sys.resources and dtlogin Xresources: Xft render tables in Hack 10 for
renderTable, textRenderTable, labelRenderTable, buttonRenderTable (a
render table wins over sys.font's *FontList; dtterm and text fields read
the text table).
dtterm (ported from MakroDE -- setlocale and the Xft renderer -- then fixed):
- configure: Xft on by default, --disable-xft for machines without it.
- TermPrimRenderXft.c: reads wchar_t in multibyte locales (it read the
buffer as UTF-8 bytes: three boxes after every character), places every
character in its cell on the baseline, fills the background, draws
underline/overstrike/secure, wcwidth for wide and combining characters,
borrows glyphs from fontconfig fallbacks (check mark, CJK), and makes its
XftDraw at the first drawing (made in Initialize it was window 0, and the
first string a BadDrawable that ended dtterm).
- TermPrim.c AdjustWindowUnits: the cell from the renderer's extents when
there is no XFontStruct (crashed with Xft); _DtTermPrimRenderFontExtents.
- TermPrimRenderFont.c: with setlocale the buffer is wchar_t in UTF-8, the
single-font renderer draws it as XChar2b (it drew boxes too).
Screenshots: build/mcde-shots/dtterm-utf8b-crop.png, dtterm-classic-crop.png.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cde-2.5.3.tar.gz, SHA512 a01b413b... as in pkgsrc distinfo; recipe from
pkgsrc 3c1118e94432. Added with -f: CDE's .gitignore hides 612 files of
the archive.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>