dtsession: *Font and *FontSet name their charset (menus were Chinese)
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).
This commit is contained in:
1 parent
30c7ae32f1
commit
ecaba781e0
2 files changed
+16
-12
No files matched your search
@@ -35,8 +35,8 @@ XCOMM if WIDTH > 1175
|
||||
*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*-*-*-*-*-*-*-*-*^*Font|
|
||||
*FontSet: %|nls-8-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*^*FontSet|
|
||||
*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|
|
||||
XCOMM else
|
||||
XCOMM if WIDTH > 850
|
||||
!###
|
||||
@@ -51,8 +51,8 @@ XCOMM if WIDTH > 850
|
||||
*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*-*-*-*-*-*-*-*-*^*Font|
|
||||
*FontSet: %|nls-16-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*^*FontSet|
|
||||
*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|
|
||||
XCOMM else
|
||||
!###
|
||||
!# Low Resolution Displays
|
||||
@@ -66,8 +66,8 @@ XCOMM else
|
||||
*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*-*-*-*-*-*-*-*-*^*Font|
|
||||
*FontSet: %|nls-24-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*^*FontSet|
|
||||
*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|
|
||||
XCOMM endif
|
||||
XCOMM endif
|
||||
|
||||
@@ -24,6 +24,10 @@
|
||||
!# specified in /usr/dt/app-defaults/%L/Dtstyle
|
||||
!###
|
||||
|
||||
!# MCDE: *Font and *FontSet name iso8859-1. They are single fonts for Xt
|
||||
!# 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).
|
||||
XCOMM if WIDTH > 1175
|
||||
!###
|
||||
!# High Resolution Displays
|
||||
@@ -38,8 +42,8 @@ XCOMM if WIDTH > 1175
|
||||
*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*-*-*-*-*-*-*-*-*
|
||||
*FontSet: -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
|
||||
XCOMM else
|
||||
XCOMM if WIDTH < 851
|
||||
!###
|
||||
@@ -54,8 +58,8 @@ XCOMM if WIDTH < 851
|
||||
*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*-*-*-*-*-*-*-*-*
|
||||
*FontSet: -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
|
||||
XCOMM else
|
||||
!###
|
||||
!# Medium Resolution Displays (always default if no cpp present on system)
|
||||
@@ -69,8 +73,8 @@ XCOMM else
|
||||
*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*-*-*-*-*-*-*-*-*
|
||||
*FontSet: -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
|
||||
XCOMM endif
|
||||
XCOMM endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user