Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Mark Leisher
Wed, 28 Feb 1990 06:10
Minor X problem with x-set-font (& x-set-kfont in nemacs-3.2)
Author: Mark Leisher
Date: Wed, 28 Feb 1990 06:10
Date: Wed, 28 Feb 1990 06:10
25 lines
1724 bytes
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]
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads