dtsession: the session UI is the IRIX Helvetica, not the wider CDE face

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.
This commit is contained in:
lotherk committed 2026-11-22 19:00:31 +01:00
1 parent ab00c2186c
commit d43e9881b1
3 files changed
+77 -66

No files matched your search

+7
View File
@@ -371,6 +371,13 @@ narratives and test notes, is `docs/reference/mcde-agents-history-2026-11-13.txt
on, and `0010.language` gives a session without a language
`LC_CTYPE=C.UTF-8`: XCreateFontSet builds for the locale, and in C the set
had only ASCII (font set test: "Grüße" 17 px instead of 43).
- **The session UI is IRIX Helvetica**, not the wider CDE `-dt-interface
system` face: `programs/dtsession/sys.resources.src` and `sys.font.src`
select Adobe Helvetica 14 px on screens wider than 1175 pixels, 12 on a
medium one and 10 on a small one, for `*FontList`, buttons, labels, text and
the editor -- the CDE face read one size too big. The title and the menus
stay at the 4DWm reference, 14 px bold oblique (`Dtwm.defs.src`, 8a0a5ac3);
the panel is the same face at 14/13/10.
- **Windows**: dtwm places and maximizes below the bar; the title sits at the
left of the bar (`Dtwm*titleLeft: True`, the 4Dwm `SG_titleLeft`; the CDE
default is centred) and the frame is 7 pixels wide, as the reference's
+33 -33
View File
@@ -26,48 +26,48 @@ XCOMM if WIDTH > 1175
!# High Resolution Displays
!#
!###
*FontList: %|nls-1-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*FontList|
*buttonFontList: %|nls-1-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*FontList|
*labelFontList: %|nls-1-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*FontList|
*textFontList: %|nls-2-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*XmText*FontList|
*XmText*FontList: %|nls-2-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*XmText*FontList|
*XmTextField*FontList: %|nls-3-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*XmText*FontList|
*systemFont: %|nls-4-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*FontList|
*userFont: %|nls-5-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*XmText*FontList|
*DtEditor*textFontList: %|nls-6-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*DtEditor*textFontList|
*Font: %|nls-7-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-iso8859-1^*Font|
*FontSet: %|nls-8-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-iso8859-1^*FontSet|
*FontList: %|nls-1-adobe-helvetica-medium-r-normal--14-*:^*FontList|
*buttonFontList: %|nls-1-adobe-helvetica-medium-r-normal--14-*:^*FontList|
*labelFontList: %|nls-1-adobe-helvetica-medium-r-normal--14-*:^*FontList|
*textFontList: %|nls-2-adobe-helvetica-medium-r-normal--14-*:^*XmText*FontList|
*XmText*FontList: %|nls-2-adobe-helvetica-medium-r-normal--14-*:^*XmText*FontList|
*XmTextField*FontList: %|nls-3-adobe-helvetica-medium-r-normal--14-*:^*XmText*FontList|
*systemFont: %|nls-4-adobe-helvetica-medium-r-normal--14-*:^*FontList|
*userFont: %|nls-5-adobe-helvetica-medium-r-normal--14-*:^*XmText*FontList|
*DtEditor*textFontList: %|nls-6-adobe-helvetica-medium-r-normal--14-*:^*DtEditor*textFontList|
*Font: %|nls-7-adobe-helvetica-medium-r-normal--14-iso8859-1^*Font|
*FontSet: %|nls-8-adobe-helvetica-medium-r-normal--14-iso8859-1^*FontSet|
XCOMM else
XCOMM if WIDTH > 850
!###
!# Medium Resolution Displays
!###
*FontList: %|nls-9-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*FontList|
*buttonFontList: %|nls-9-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*FontList|
*labelFontList: %|nls-9-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*FontList|
*textFontList: %|nls-10-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*XmText*FontList|
*XmText*FontList: %|nls-10-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*XmText*FontList|
*XmTextField*FontList: %|nls-11-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*XmText*FontList|
*systemFont: %|nls-12-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*FontList|
*userFont: %|nls-13-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*XmText*FontList|
*DtEditor*textFontList: %|nls-14-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*DtEditor*textFontList|
*Font: %|nls-15-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-iso8859-1^*Font|
*FontSet: %|nls-16-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-iso8859-1^*FontSet|
*FontList: %|nls-9-adobe-helvetica-medium-r-normal--12-*:^*FontList|
*buttonFontList: %|nls-9-adobe-helvetica-medium-r-normal--12-*:^*FontList|
*labelFontList: %|nls-9-adobe-helvetica-medium-r-normal--12-*:^*FontList|
*textFontList: %|nls-10-adobe-helvetica-medium-r-normal--12-*:^*XmText*FontList|
*XmText*FontList: %|nls-10-adobe-helvetica-medium-r-normal--12-*:^*XmText*FontList|
*XmTextField*FontList: %|nls-11-adobe-helvetica-medium-r-normal--12-*:^*XmText*FontList|
*systemFont: %|nls-12-adobe-helvetica-medium-r-normal--12-*:^*FontList|
*userFont: %|nls-13-adobe-helvetica-medium-r-normal--12-*:^*XmText*FontList|
*DtEditor*textFontList: %|nls-14-adobe-helvetica-medium-r-normal--12-*:^*DtEditor*textFontList|
*Font: %|nls-15-adobe-helvetica-medium-r-normal--12-iso8859-1^*Font|
*FontSet: %|nls-16-adobe-helvetica-medium-r-normal--10-iso8859-1^*FontSet|
XCOMM else
!###
!# Low Resolution Displays
!###
*FontList: %|nls-17-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*FontList|
*buttonFontList: %|nls-17-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*FontList|
*labelFontList: %|nls-17-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*FontList|
*textFontList: %|nls-18-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*XmText*FontList|
*XmText*FontList: %|nls-18-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*XmText*FontList|
*XmTextField*FontList: %|nls-19-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*XmText*FontList|
*systemFont: %|nls-20-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*FontList|
*userFont: %|nls-21-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*XmText*FontList|
*DtEditor*textFontList: %|nls-22-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*DtEditor*textFontList|
*Font: %|nls-23-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-iso8859-1^*Font|
*FontSet: %|nls-24-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-iso8859-1^*FontSet|
*FontList: %|nls-17-adobe-helvetica-medium-r-normal--10-*:^*FontList|
*buttonFontList: %|nls-17-adobe-helvetica-medium-r-normal--10-*:^*FontList|
*labelFontList: %|nls-17-adobe-helvetica-medium-r-normal--10-*:^*FontList|
*textFontList: %|nls-18-adobe-helvetica-medium-r-normal--10-*:^*XmText*FontList|
*XmText*FontList: %|nls-18-adobe-helvetica-medium-r-normal--10-*:^*XmText*FontList|
*XmTextField*FontList: %|nls-19-adobe-helvetica-medium-r-normal--10-*:^*XmText*FontList|
*systemFont: %|nls-20-adobe-helvetica-medium-r-normal--10-*:^*FontList|
*userFont: %|nls-21-adobe-helvetica-medium-r-normal--10-*:^*XmText*FontList|
*DtEditor*textFontList: %|nls-22-adobe-helvetica-medium-r-normal--10-*:^*DtEditor*textFontList|
*Font: %|nls-23-adobe-helvetica-medium-r-normal--10-iso8859-1^*Font|
*FontSet: %|nls-24-adobe-helvetica-medium-r-normal--10-iso8859-1^*FontSet|
XCOMM endif
XCOMM endif
+37 -33
View File
@@ -28,53 +28,57 @@
!# and Motif, and with the charset left open the server's first match for
!# the dt-interface alias is gb2312.1980-0: ASCII was drawn two bytes per
!# glyph as Chinese in every menu (measured 2026-11-18).
!# MCDE: the UI face of the reference (4DWm app-defaults): Adobe Helvetica
!# at 14 px on a wide screen, 12 on a medium one, 10 on a small one --
!# not the wider CDE "-dt-interface system" face, which read one size
!# too big in buttons, labels and dialogs (measured 2026-11-22).
XCOMM if WIDTH > 1175
!###
!# High Resolution Displays
!#
!###
*FontList: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
*buttonFontList: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
*labelFontList: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
*textFontList: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
*XmText*FontList: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
*XmTextField*FontList: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
*systemFont: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
*userFont: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
*DtEditor*textFontList: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
*Font: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-iso8859-1
*FontSet: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-iso8859-1
*FontList: -adobe-helvetica-medium-r-normal--14-*:
*buttonFontList: -adobe-helvetica-medium-r-normal--14-*:
*labelFontList: -adobe-helvetica-medium-r-normal--14-*:
*textFontList: -adobe-helvetica-medium-r-normal--14-*:
*XmText*FontList: -adobe-helvetica-medium-r-normal--14-*:
*XmTextField*FontList: -adobe-helvetica-medium-r-normal--14-*:
*systemFont: -adobe-helvetica-medium-r-normal--14-*:
*userFont: -adobe-helvetica-medium-r-normal--14-*:
*DtEditor*textFontList: -adobe-helvetica-medium-r-normal--14-*:
*Font: -adobe-helvetica-medium-r-normal--14-iso8859-1
*FontSet: -adobe-helvetica-medium-r-normal--14-iso8859-1
XCOMM else
XCOMM if WIDTH < 851
!###
!# Low Resolution Displays
!###
*FontList: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
*buttonFontList: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
*labelFontList: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
*textFontList: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
*XmText*FontList: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
*XmTextField*FontList: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
*systemFont: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
*userFont: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
*DtEditor*textFontList: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
*Font: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-iso8859-1
*FontSet: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-iso8859-1
*FontList: -adobe-helvetica-medium-r-normal--10-*:
*buttonFontList: -adobe-helvetica-medium-r-normal--10-*:
*labelFontList: -adobe-helvetica-medium-r-normal--10-*:
*textFontList: -adobe-helvetica-medium-r-normal--10-*:
*XmText*FontList: -adobe-helvetica-medium-r-normal--10-*:
*XmTextField*FontList: -adobe-helvetica-medium-r-normal--10-*:
*systemFont: -adobe-helvetica-medium-r-normal--10-*:
*userFont: -adobe-helvetica-medium-r-normal--10-*:
*DtEditor*textFontList: -adobe-helvetica-medium-r-normal--10-*:
*Font: -adobe-helvetica-medium-r-normal--10-iso8859-1
*FontSet: -adobe-helvetica-medium-r-normal--10-iso8859-1
XCOMM else
!###
!# Medium Resolution Displays (always default if no cpp present on system)
!###
*FontList: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
*buttonFontList: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
*labelFontList: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
*textFontList: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
*XmText*FontList: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
*XmTextField*FontList: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
*systemFont: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
*userFont: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
*DtEditor*textFontList: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
*Font: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-iso8859-1
*FontSet: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-iso8859-1
*FontList: -adobe-helvetica-medium-r-normal--12-*:
*buttonFontList: -adobe-helvetica-medium-r-normal--12-*:
*labelFontList: -adobe-helvetica-medium-r-normal--12-*:
*textFontList: -adobe-helvetica-medium-r-normal--12-*:
*XmText*FontList: -adobe-helvetica-medium-r-normal--12-*:
*XmTextField*FontList: -adobe-helvetica-medium-r-normal--12-*:
*systemFont: -adobe-helvetica-medium-r-normal--12-*:
*userFont: -adobe-helvetica-medium-r-normal--12-*:
*DtEditor*textFontList: -adobe-helvetica-medium-r-normal--12-*:
*Font: -adobe-helvetica-medium-r-normal--12-iso8859-1
*FontSet: -adobe-helvetica-medium-r-normal--12-iso8859-1
XCOMM endif
XCOMM endif