Fonts with CDE / Solaris 8 and width > 1024 (19" screen)

Andre LATTIER-NONST andre.lattier-nonst "at" st.com
Tue Apr 26 09:55:02 2005


Hello,

We are testing configuration with dedicated X port ; we have added lines in : /etc/dt/config/Xservers

:5   Local local_uid "at" none root /usr/local/bin/dtstartXvnc :5 1280x1024 xxxxxx

The dtstartXvnc script is customized with local font path :

...
stmArgs="-desktop ${lsname}${disp} -DisconnectClients=1 -NeverShared -fp tcp/localhost:7100"

# Exec Xvnc into this process under the uid of the given user;
# password-protect the new desktop with the user's Xvnc password.
exec su - "$user" -fc \
  "cd /tmp; \
   exec /usr/local/bin/Xvnc $disp -rfbauth $userHome/.vnc/passwd $stmArgs $userArgs $*" 


The Xresources files is uptdated (/etc/dt/config/C/Xresources) with :

!!#if WIDTH < 1024
Dtlogin*labelFont:     -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
Dtlogin*textFont:      -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
Dtlogin*greeting.fontList:  -dt-interface system-medium-r-normal-xl*-*-*-*-*-*-*-*-*:
!!#else
!!Dtlogin*labelFont:     -dt-interface system-medium-r-normal-l*-*-*-*-*-*-*-*-*:
!!Dtlogin*textFont:      -dt-interface user-medium-r-normal-l*-*-*-*-*-*-*-*-*:
!!Dtlogin*greeting.fontList: -dt-interface system-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:
!!#endif

This update enforce smaller fonts for the dtlogin screen, but we did not find a way to have the same behaviour
After logged in ; fonts used for workspace name and windows title are not very 'smart' when screen geometry is higher than 1024x768

Regards,

Andre