[Xfontselector-list] Re: Can your program (xfontselector) handle large amounts of fonts? (fwd)
Status: Beta
Brought to you by:
kubus
|
From: Carl W. <cw...@ny...> - 2002-01-09 17:52:27
|
(forwarded for completeness)
---------- Forwarded message ----------
Date: Wed, 9 Jan 2002 09:25:25 +0100 (CET)
From: Jacek Pliszka <Jac...@fu...>
To: Carl Wyles <cw...@ny...>
Cc: Jacek Pliszka <pl...@fu...>
Subject: Re: Can your program (xfontselector) handle large amounts of fonts?
Hi!
On Wed, 9 Jan 2002, Carl Wyles wrote:
> I have found that xfontsel behaves badly when picking fonts specific to
> the font family (-2000p1-*...) It goes from first page of fonts to
> last page with no intermediate pages. If I specify * for 'fndry' it
> works with no problems. (note: 2000p1 is one set of my tt fonts)
You mean xfontsel (not mine) or xfontselector (mine) here ?
I am not using True Type fonts at all so there might be problems with
them.
> So I wonder how well your program can handle large amounts of fonts. eg
> 4023 for me so far. I got these from two disk of 2000 fonts each of True
> Type fonts sets.
Should be fine. At the moment the limit is 10000. If you need more - just
change the source code - at the line where list of fonts is read from
X-server. Further QT lists are used so the only limit is your PC memory
and speed.
> I also tried your program and found that you need a '*' option for all
> your option boxes. (set as default)
This is not needed. The option boxes are generated dynamically from the
list of fonts obtained from the font server.
If you want all of them - just select all optios with Ctrl-left mouse
button. so there is no need for *
> I found that it would not pick any fonts I had added using xfstt.
This is strange but as I wrote, I do know nothing about Truetype.
> also it would not pick the large fonts (50,100,150 pt sizes)
For large sizes it is my fault. there is a line:
for(int i=5;i<37;i++){
sizes -> append(tmpString.setNum(i));
}
which makes 36 the maximum shown size. If you need 50,100,150, add:
sizes -> append(tmpString.setNum(50));
sizes -> append(tmpString.setNum(100));
sizes -> append(tmpString.setNum(150));
If you have any fixes/patches, please check them against latest
CVS source from sourceforge and then send them to me.
BR,
Jacek
|