Article View: comp.windows.news
Article #696Font problem
From: Chris Webster
Date: Thu, 01 Oct 1992 21:23
Date: Thu, 01 Oct 1992 21:23
28 lines
1431 bytes
1431 bytes
ControlButton[OP_CTL_IMAGES]=xv_create(ControlPanel, PANEL_CHOICE,
XV_SHOW, TRUE,
PANEL_LABEL_STRING, "Print Image:",
PANEL_CHOICE_STRINGS, "Color","B/W",NULL,
PANEL_EVENT_PROC, panel_event_proc,
XV_X, xv_get(ControlButton[OP_CTL_ATTRS],XV_X)+
xv_get(ControlButton[OP_CTL_ATTRS],XV_WIDTH)+
CTL_ITEMS_XGAP,
XV_Y, CTL_VAROPS_Y,
PANEL_NOTIFY_PROC, select_image_type,
NULL);
Inherited font is: "-adobe-courier-bold-r-*-*-*-190-*-*-*-*-*-*"
Under OpenWindows this all works fine. Under X11R5 the
PANEL_LABEL_STRING comes out a larger size of the same font.
It's almost like the xv_create is parsing off the foundry.
We have noticed that OpenWin & X11R5 choose different foundries
if left up to the server. So we now set the fonts with
xv_find(..., FONT_NAME, ...) making sure to explicitly set
the foundry. Everything works great except for
PANEL_LABEL_STRINGS & MENU_TITLES.
Anyone have any clues?
--Chris
Technical Details
Message-ID:
<1992Oct1.212337.9384@ncar.ucar.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!destroyer!ncar!sauvage!chrisShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.news Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!ncar!sauvage!chris From: chris@chinook.atd.ucar.edu (Chris Webster) Subject: Font problem Message-ID: <1992Oct1.212337.9384@ncar.ucar.edu> Sender: news@ncar.ucar.edu (USENET Maintenance) Reply-To: chris@chinook.atd.ucar.edu Organization: Research Aviation Facility, NCAR, Boulder, CO Date: Thu, 1 Oct 1992 21:23:37 GMT Lines: 28