Operating System - HP-UX
1848680 Members
7773 Online
104035 Solutions
New Discussion

how to check the default fonts for HPUX10.20 and HPUX11i

 
Tay David
New Member

how to check the default fonts for HPUX10.20 and HPUX11i

Hi

My application was loaded in HPUX10.20 and it required "-adobe-helvetica-bold-r-normal--10-200-75-75-p-60-iso8859-1" but it cannot find it in the fonts server, therefore it grep a default fonts.

We load the same application to a HPUX11i machine, same problem. But HPUX11i now grep a different default fonts. How can I know what is the default fonts use for these two different OS version. Thanks
5 REPLIES 5
Dave Olker
Neighborhood Moderator

Re: how to check the default fonts for HPUX10.20 and HPUX11i

Hi,

I'm not sure if this is what you're looking for, but you can use the /usr/bin/X11/xlsfonts command to list out the available fonts on the system.

Also, are you using a font server? Perhaps using a system as a font server that has the fonts installed for your applications would be a way to make sure all systems can access the necessary fonts, even if they are not located locally.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Dave Olker
Neighborhood Moderator

Re: how to check the default fonts for HPUX10.20 and HPUX11i

Also, there is a -l option to the xlsfonts command that prints out more information about the available fonts. One of the columns in the -l output is DFLT, which may give you more details about which are the default fonts.

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Steve Steel
Honored Contributor

Re: how to check the default fonts for HPUX10.20 and HPUX11i

Hi


Open a window and type

appres hpterm

appres is in /usr/local/bin/X11/


Steve Steel

If you want truly to understand something, try to change it. (Kurt Lewin)
Tay David
New Member

Re: how to check the default fonts for HPUX10.20 and HPUX11i

How can I reading the output from the command xlsfont -l as there are lots of information listed. Would want to know how to interprete these results. thanks
Alex Glennie
Honored Contributor

Re: how to check the default fonts for HPUX10.20 and HPUX11i

xlsfonts | grep -i eg

xlsfont | grep -i adobe.

list all fonts installed and available to the Xserver.

xset -q will show the default font paths .... also see the /etc/X11/fs/config file (this is where the paths are configured).