|
Re: Weird Font Bug?: msg#00007xfree86.fonts
From: Chisato Yamauchi <cyamauch@xxxxxxxxxxxxxxxxxxxxx> Subject: Re: [Fonts] Weird Font Bug? Date: Tue, 02 Mar 2004 20:31:08 +0900 (JST) > if (!pfont->fpe) > pfont->fpe = fpe; > pfont->refcnt++; > if (pfont->refcnt == 1) { > UseFPE(pfont->fpe); > for (i = 0; i < screenInfo.numScreens; i++) { > pScr = screenInfo.screens[i]; > if (pScr->RealizeFont) > { > if (!(*pScr->RealizeFont) (pScr, pfont)) xnestRealizeFont() in xnest/Font.c is substituted for (*pScr->RealizeFont)(). It seems that xnestRealizeFont() function depends on installed fonts of parent X server. Although I add new font path on Xnest, xset +fp $HOME/fonts/ the fonts in $HOME/fonts/ cannot be displayed, and I got the BadAlloc error. So I add the font path on parent X server, the Xnest can display the fonts in $HOME/fonts/. By the way, the Xnest uses statically linked FreeType backend. One of them depends on parent X server and the other does not... I think that this may be strange implementation. > root@tor:~# xterm -fn 10x20 -display :1 > X Error of failed request: BadAlloc (insufficient resources for operation) This error may be caused by another problem. ------------------------------------------------------------ Chisato Yamauchi |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Fw: ?: 00007, Marvin Minor |
|---|---|
| Next by Date: | Bachelor's Diploma, Master's, or PhD - No Classes Necessary, Thu, 04 Mar 2004 22:15:14 -0500: 00007, Mel Santana |
| Previous by Thread: | Re: Weird Font Bug?i: 00007, Chisato Yamauchi |
| Next by Thread: | re [23]: 00007, Davis Luna |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |