I think I'm probably misunderstanding your question here, but here
goes.
My guess is that if you are seeing the System font, then the font
you chose is not available or not being processed properly. You could
try running something like xlsfonts xfontsel on the HP box and have it
display on the NT box
I was able to change the font by having the following in my .Xdefaults
file:
Vem.label.fonts: -adobe-helvetica-medium-r-normal--8-80-75-75-p-46-iso8859-1
I did
xrdb -merge ~/.Xdefaults
on an HP running HPUX 10.20 and displayed it under NT with Hummingbird
Exceed 6.0
Choosing the font can be tricky, if the font size is too small, then
it is unreadable, if it is too large, then the font will not be
displayed unless you zoom in.
/users/ptolemy/src/octtools/vem/main/defaults.c sets the default:
NEWDEFAULT("label.fonts",
"*-helvetica-medium-r-normal-*-iso8859-*",
DEF_FONTLIST, toFList);
You might find it easier to test the fonts while sitting at the HP
machine and then try them on the NT box. Another thing to try is
to bring up an X client such as xclock before starting vem. Exceed
had problems with X resources if vem was the first client that
was brought up.
-Christopher
Zoltan Kemenczy writes:
--start--
I have downloaded the prebuilt binaries and the src/other package with
X11R6 to our HPUX 10.20. We are using NTs with the X-Win32 (with all
hp/sco/misc/75/100 and some other fonts available and loaded) as
workstations accepting X clients from HPUX.
My problem is that I can't get the Vem.label.fonts spec to work. It does
have an effect on the size of the label display area, but within that area
vem seems to be finding and using the same default font (I suspect it is
the "system" font of NT). On the other hand, the vem console window takes
all the font specs tried including the default 6x10, any *iso8859, etc.
and displays the font correctly.
I wonder if there is a simple answer to this. Resizing (zooming) in on
schematics doesn't change the size of the label font (as I surmize it
should based on a quick glance through the vem source code), just displays
the label in the same size (system?) font.
The relevant portion of my .Xdefault is below (showing some of the font
specs I tried)
#Vem*font: *-times-medium-r-normal--*-140-*-*-*-*-iso8859-1
#Vem*font: *-helvetica-medium-r-normal--*-120-*-*-*-*-iso8859-1
Vem*font: 6x10
Vem.label.fonts: 6x10 # not the same displayed as for Vem*font
above
# Vem.label.fonts: *-helvetica-medium-r-normal--*-*-*-*-*-*-iso8859-1 #
should be resizable", doesn't work
# Vem.label.font: 9x15
# Vem.boundbox.font: 9x15
At this point I'm the only one here evaluating Ptolemy, we maybe end up
using it for some simulation/test-vector generation for some of our DSP
code. It is very hard to read the labels unless the icons are resized
(enlarged).
Any response would be appreciated. With some pointers, if need be, I
could rebuild the binaries with gcc -g (2.8.1)/ gas and attempt to debug
the code and let you know my findings.
Thanks,
Zoltan Kemenczy
Senior Staff Engineer
Motorola Internet and Networking Group, Network Systems Division
400 Matheson Boulevard West
Mississauga, Ontario Canada L5R 3M1
[EMAIL PROTECTED] Phone:(905) 507-7207 Fax:(905) 507-7353
---end---
----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]