🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1760

Minor X problem with x-set-font (& x-set-kfont in nemacs-3.2)

#1760
From: Mark Leisher
Date: Wed, 28 Feb 1990 06:10
25 lines
1724 bytes
We encountered a small problem recently that involves switching
between fonts using x-set-font and x-set-kfont in nemacs.

We were switching between three sizes of Kanji fonts when nemacs
locked up, dumped core, and dumped us out of X. We know that part of
the problem was the number of users on the machine(limited memory).

The x-set-font (x-set-kfont) functions only call XLoadQueryFont. What
happens if the font is already loaded? Does XLoadQueryFont simply
return the XFontStruct* ? I'm thinking, "probably not", because of the
time delay(above and beyond the expected delay due to machine load) in
loading the new Kanji font. These fonts range from about 500k (14 point
font) to somwhere in the neighborhood of about 975k (24 point font).
Not small!

Is this an X (R3) bug or should the x11fns.c file be fiddled to check to
see if the font is cached already before doing the load?

--
-----------------------------------------------------------------------------
mleisher@nmsu.edu                      "I laughed.
Mark Leisher                                I cried.
Computing Research Lab                          I fell down.
New Mexico State University                        It changed my life."
Las Cruces, NM                     - Rich [Cowboy Feng's Space Bar and Grille]
Technical Details
Message-ID: <MLEISHER.90Feb27231051@aigyptos.nmsu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!lanl!opus!mleisher

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!lanl!opus!mleisher
From: mleisher@nmsu.edu (Mark Leisher)
Newsgroups: gnu.utils.bug
Subject: Minor X problem with x-set-font (& x-set-kfont in nemacs-3.2)
Message-ID: <MLEISHER.90Feb27231051@aigyptos.nmsu.edu>
Date: 28 Feb 90 06:10:51 GMT
Sender: news@nmsu.edu
Distribution: gnu.utils.bug
Organization: NMSU Computer Science
Lines: 25