This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Steve, Under Xwin32 -> XUtil32 -> Fonts -> Path we selected "Include MS fonts" and that did the trick. Apparently, a particular font in Nsharp was only available to the PC through the MS fonts. Thanks again for your help. Regards, Chris On Fri, 14 Jan 2000, Unidata Support wrote: > > Chris, > > The fonts used for various widgets in Nsharp are defined in > $NAWIPS/resource/Nsharp > along with data directories etc. There are also 2 routines: > show_text.c and acars_status.c that have font names hardcoded in for popup > text display (doesn't sound like you are getting that far) so it probably > starts with the fonts named in the resource file.. > > The XLoadQueryFont is supposed to return NULL if the font doesn't exist, but > it sounds like that isn't being the case in your X client. The diagnostic: > DIAGNOSTICS > BadAlloc The server failed to allocate the requested > resource or server memory. > > BadFont A value for a Font or GContext argument does not > name a defined Font. > > BadName A font or color of the specified name does not > exist. > > Sounds like they aren't properly handling the situation. > You might have to pick another font. > > Steve Chiswell > Unidata User SUpport > > > > >From: "C. Vandersip" <address@hidden> > >Organization: . > >Keywords: 200001141912.MAA15258 > > >Steve, > > > >We're having a problem getting Nsharp to diplay on a Windows95 PC using > >Xwin32. All other ntl programs display fine. Here is the error: > > > >X Error of failed request: BadName (named color or font does not exist) > > Major opcode of failed request: 45 (X_OpenFont) > > Serial number of failed request: 896 > > Current serial number in output stream: 898 > > > >I've seen this question asked in the archives (with no response): > > > >************************************** > >Subject: > >Garp Question > >Date: > >Tue, 09 Feb 1999 10:34:42 -0800 > >From: > >Brian Brong <address@hidden> > >Organization: > >To: address@hidden > > > >Hello Support, > > > >My name is Brian Brong and I'm a graduate student at the University of > >Nevada @ Reno. > > > >We've installed N-AWIPS/GEMPAK 5.4 on a Silicon Graphics Machine with > >IRIX 6.5. We have no problems starting GARP, our problems occur when we > >display data (surface obs., gridded data, etc.) GARP crashes and we get > >the following error message. > > > >fire:~ 29 > graphic, satellite, radar -- 33 128 16 > > Invoke ... /opt/nawips-5.4/bin/irix/garp G A R P - v2.01 starting... > >X Error of failed request: BadName (named color or font does not exist) > > > > Major opcode of failed request: 45 (X_OpenFont) > > Serial number of failed request: 4671 > > Current serial number in output stream: 4673 > > > >Do you have any ideas as to how this error is occurring? > >**************************************************** > > > > > >Not exactly the same situation, but same error. Are add'l colors/fonts > >used in nsharp the PC might not recognize that are not used in the other > >programs? Any help is greatly appreciated. > > > >Thanks, > > > >Chris > > ############################################################### > > # Chris Vandersip # > > # Computer Research Specialist/Asst. Sysadmin # > > # Dept. of Meteorology # > > # Florida State University # > > # address@hidden (850)644-2522 # > > #"There's no reason to become alarmed, and we hope you'll # > > # enjoy the rest of your flight. By the way, is there # > > # anyone on board who knows how to fly a plane?" -- 'Airplane'# > > ############################################################### > > > > > > **************************************************************************** < > Unidata User Support UCAR Unidata Program < > (303)497-8644 P.O. Box 3000 < > address@hidden Boulder, CO 80307 < > ---------------------------------------------------------------------------- < > Unidata WWW Service http://www.unidata.ucar.edu/ < > **************************************************************************** < > ############################################################### # Chris Vandersip # # Computer Research Specialist/Dept. Sysadmin # # Rm. 024, Dept. of Meteorology, Florida State University # # address@hidden (850)644-2522 # ###############################################################