Files
mcde/programs/dtsession/sys.font.src
T
lotherk d43e9881b1 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.
2026-11-22 19:00:31 +01:00

74 lines
3.8 KiB
Plaintext

! $XConsortium: sys.font.src /main/4 1996/04/21 19:51:16 drk $
!#################################################################
!#
!# sys.font: The default session font resource file
!#
!# placed in: CDE_INSTALLATION_TOP/config/C/sys.fonts
!#
!# (c) Copyright 1993, 1994 Hewlett-Packard Company
!# (c) Copyright 1993, 1994 International Business Machines Corp.
!# (c) Copyright 1993, 1994 Sun Microsystems, Inc.
!# (c) Copyright 1993, 1994 Novell, Inc.
!#################################################################
!###
!#
!# Font Resource Specifications
!#
!# Font resource values must be a valid font alias name.
!#
!# Font resource values must match exactly the default font resources
!# specified in CDE_INSTALLATION_TOP/app-defaults/%L/Dtstyle
!###
XCOMM if WIDTH > 1175
!###
!# High Resolution Displays
!#
!###
*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-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-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