xfontselector-list Mailing List for xfontselector
Status: Beta
Brought to you by:
kubus
You can subscribe to this list here.
| 2002 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|
|
From: Jacek P. <pl...@fu...> - 2002-01-09 18:16:46
|
On Wed, 9 Jan 2002, Carl Wyles wrote: > I think it a need. It seems that all the fonts that that are scalable, use > '0' as the size. I think then there should be a extra field for these to > indicate the size you want. eg 300 points, or 240 pixels. Hmm, i will have to think about it. I will probably add a small window where you can add such sizes. > > sizes -> append(tmpString.setNum(50)); > > sizes -> append(tmpString.setNum(100)); > > sizes -> append(tmpString.setNum(150)); > > also this - It adds a option to select all scalable fonts like TrueType:: > sizes -> append(tmpString.setNum(0)); This tells what font sizes should be presented in the sizes list. Fonts with 0 should be selected by marking 'Scalable' option. BR, Jacek |
|
From: Jacek P. <pl...@fu...> - 2002-01-09 18:13:11
|
On Wed, 9 Jan 2002, Carl Wyles wrote: > I noticed that a lot of fonts use a '0' to indicate they are sizeable. > Most of the fixed fonts use the specific size they are created for. Hmm, doesn't it work with the scalable switch I put in the program? > Adding TrueType fonts is fairly easy with xfstt (font server), and I used > it to add the default fonts from Win9x as well. Possibly. I simply do not have Windows at all as well as I do not need TT fonts. BR, Jacek |
|
From: Carl W. <cw...@ny...> - 2002-01-09 18:02:22
|
> 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)
>
> I am not using True Type fonts at all so there might be problems with
> them.
So far I have found only some slight problems with specific fonts but so
far no prob.
> > 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 think it a need. It seems that all the fonts that that are scalable, use
'0' as the size. I think then there should be a extra field for these to
indicate the size you want. eg 300 points, or 240 pixels.
> > 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.
see next.
> > 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));
also this - It adds a option to select all scalable fonts like TrueType::
sizes -> append(tmpString.setNum(0));
BR,
Carl
|
|
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
|
|
From: Carl W. <cw...@ny...> - 2002-01-09 17:51:27
|
(note I am reposting this to the mailing list for completeness) I have added TrueType fonts in my linux box. I am using xfstt (ver1.1) to share all the fonts to my other systems. I tried using xfontsel but found it did not work correctly all the time. Xfontsel behaves badly when picking fonts specific to the font foundry (-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) 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. I also tried your program and found that you need a '*' option for all your option boxes. (set as default) I found that it would not pick any fonts I had added using xfstt. also it would not pick the large fonts (50,100,150 pt sizes) Note: I did see that your program did indeed get a entire list of fonts. Must be due to the xlsfonts (I think). btw. here is an excerpt of my output of xlsfont and all are truetype: -2000p1-adam's apple 8-medium-r-normal-regular-0-0-0-0-p-0-iso8859-1 -2000p1-affair 1-medium-i-normal-italic-0-0-0-0-p-0-iso8859-1 -2000p1-airliner 1-medium-r-normal-regular-0-0-0-0-p-0-iso8859-1 -2000p1-airliner 2-medium-r-normal-regular-0-0-0-0-p-0-iso8859-1 -2000p1-airliner 3-medium-r-normal-regular-0-0-0-0-p-0-iso8859-1 -2000p1-alembic 1-medium-r-normal-regular-0-0-0-0-p-0-iso8859-1 -2000p1-alien 1-medium-r-normal-plain-0-0-0-0-p-0-iso8859-1 -2000p1-all night 1-medium-r-normal-regular-0-0-0-0-p-0-iso8859-1 (2000p1 is a directory of 2000 tt fonts - ala xlstt, 'p' = proporitonal) The xlsfonts list of mine is over 9000 lines long. Addition: I noticed that a lot of fonts use a '0' to indicate they are sizeable. Most of the fixed fonts use the specific size they are created for. Adding TrueType fonts is fairly easy with xfstt (font server), and I used it to add the default fonts from Win9x as well. Thnaks for your time. Carl |