Discussion:
Fonts in Win XP
(too old to reply)
Glenn Fausel
2004-01-29 20:28:05 UTC
Permalink
Please follow the instructions in the message posted January 1, 2004,
"Guidelines for Posting Bug Reports" ... I need more help here ...
Ken
---
sdt = "Comic Sans MS,12,B,Script" // taken from getfont()
set printer on
? "This should be in Comic Sans, bold" style sdt
set printer off

In Win 98 prints as should. Win XP it looks like either Courier (old) or
Times New Roman.

Glenn
Ken Mayer [dBASE, Inc.]
2004-01-29 19:53:43 UTC
Permalink
I know this will not be popular or even acted on, but IMHO it is a bug.
Using fonts with the style method in Win XP does not produce any of the
desired fonts. Select Comic Sans, shows up as Times New Roman. Excalibur
is Courier, etc. Works fine with my Win 98 computer. The reason I
believe it is a bug is that all the fonts that were mentioned work with
all of my other Windows programs, so I think it is reasonable to expect
the same from dBase. Tested under Plus and db2K.
Please follow the instructions in the message posted January 1, 2004,
"Guidelines for Posting Bug Reports" ... I need more help here ...

Ken
---
Ken Mayer [dBASE, Inc.]
** Please respond ONLY in the newsgroups **

"Think OOP"

dBASE, Inc. website: http://www.dbase.com
Ken Mayer [dBASE, Inc.]
2004-01-29 20:43:05 UTC
Permalink
Post by Glenn Fausel
sdt = "Comic Sans MS,12,B,Script" // taken from getfont()
set printer on
? "This should be in Comic Sans, bold" style sdt
set printer off
In Win 98 prints as should. Win XP it looks like either Courier (old) or
Times New Roman.
I've posted QAID: 4681 for this.

Ken
---
Ken Mayer [dBASE, Inc.]
** Please respond ONLY in the newsgroups **

"Think OOP"

dBASE, Inc. website: http://www.dbase.com
Ken Mayer [dBASE, Inc.]
2004-01-29 20:44:11 UTC
Permalink
Post by Ken Mayer [dBASE, Inc.]
Post by Glenn Fausel
sdt = "Comic Sans MS,12,B,Script" // taken from getfont()
set printer on
? "This should be in Comic Sans, bold" style sdt
set printer off
In Win 98 prints as should. Win XP it looks like either Courier (old) or
Times New Roman.
I've posted QAID: 4681 for this.
In the meantime, you may need to take your streaming reports and
convert them to the report designer/engine built into the product, as
fonts print fine from there ...

Ken
---
Ken Mayer [dBASE, Inc.]
** Please respond ONLY in the newsgroups **

"Think OOP"

dBASE, Inc. website: http://www.dbase.com
Glenn Fausel
2004-01-29 21:01:04 UTC
Permalink
Post by Ken Mayer [dBASE, Inc.]
Post by Ken Mayer [dBASE, Inc.]
I've posted QAID: 4681 for this.
In the meantime, you may need to take your streaming reports and
convert them to the report designer/engine built into the product, as
fonts print fine from there ...
Ken
I know, but I was so hoping I would not have to. 20 years with the same
program is hard to shake. Also, they were not "reports", just straight
streaming output.

Thanks,

Glenn
Jean-Pierre Martel
2004-02-01 04:34:07 UTC
Permalink
Post by Glenn Fausel
sdt = "Comic Sans MS,12,B,Script" // taken from getfont()
set printer on
? "This should be in Comic Sans, bold" style sdt
set printer off
? "string" STYLE "FontName,FontSize,FontStyle"
is a primitive technology.

In that command, only FontSize and FontStyle are significant. For
example, the following commands will give the same result:
? "ABCDE abcde" style "Arial,10,Swiss"
? "ABCDE abcde" style "Times New Roman,10,Swiss"
? "ABCDE abcde" style "Martel,10,Swiss"

Even a font name that doesn't exist ("Martel") will be accepted.

Similarly, the following commands will give the same result:
? "ABCDE abcde" style "Arial,10,Roman"
? "ABCDE abcde" style "Times New Roman,10,Roman"
? "ABCDE abcde" style "Martel,10,Roman"

"Swiss" will use a non-serif font
"Roman" will use a serif font
"Modern" will use a slab serif font

Jean-Pierre Martel
=== A new dBASE Conference in Montréal, July 9th and 10th, 2004 ===
Glenn Fausel
2004-02-01 14:46:59 UTC
Permalink
Post by Jean-Pierre Martel
Post by Glenn Fausel
sdt = "Comic Sans MS,12,B,Script" // taken from getfont()
set printer on
? "This should be in Comic Sans, bold" style sdt
set printer off
? "string" STYLE "FontName,FontSize,FontStyle"
is a primitive technology.
Possibly primitive, but what broke?? It worked in Win 95,98.

Thanks,

Glenn
Jean-Pierre Martel
2004-02-02 10:32:56 UTC
Permalink
Post by Glenn Fausel
Possibly primitive, but what broke?? It worked in Win 95,98.
Is it possible that it stopped working perfectly with 32-bit versions of
dBASE? I did my tests with dBASE Plus under Win98.

Jean-Pierre Martel
=== A new dBASE Conference in Montréal, July 9th and 10th, 2004 ===
Glenn Fausel
2004-02-02 13:31:57 UTC
Permalink
Post by Jean-Pierre Martel
Post by Glenn Fausel
Possibly primitive, but what broke?? It worked in Win 95,98.
Is it possible that it stopped working perfectly with 32-bit versions of
dBASE? I did my tests with dBASE Plus under Win98.
Jean-Pierre Martel
=== A new dBASE Conference in Montréal, July 9th and 10th, 2004 ===
My tests were successful with db2K and dbPLus under Win98, unsuccessful
with dbPlus under Win XP.

Glenn
Jean-Pierre Martel
2004-02-02 17:01:17 UTC
Permalink
My tests were successful with db2K and dBPlus under Win98,
unsuccessful with dbPlus under Win XP.
My suggestion would be to print the text in a quite large size and to
compare carefully the shape of the letters to the ones you will get from
a Word processor. Smaller case letters would be a good choice since they
are usually more distinctive than upper case letters.

My feeling is that the "? xxx STYLE yyy" command doesn't work properly
under Win98 nor under WinXP, and that under the former, dBASE is simply
using a substitute font unavailable on the WinXP computer.

Jean-Pierre Martel
=== A new dBASE Conference in Montréal, July 9th and 10th, 2004 ===
Glenn Fausel
2004-02-02 18:44:44 UTC
Permalink
Post by Jean-Pierre Martel
My suggestion would be to print the text in a quite large size and to
compare carefully the shape of the letters to the ones you will get from
a Word processor. Smaller case letters would be a good choice since they
are usually more distinctive than upper case letters.
My feeling is that the "? xxx STYLE yyy" command doesn't work properly
under Win98 nor under WinXP, and that under the former, dBASE is simply
using a substitute font unavailable on the WinXP computer.
Jean-Pierre Martel
=== A new dBASE Conference in Montréal, July 9th and 10th, 2004 ===
No, it defintely works for Win 98. The fonts I tested were SO unique there
was no mistaking them. And the fonts I have on the XP computer are vitually
the same ones.
And I used getfont() to get them, so they have to exist. Unless I switch to
reports, I will have to use the boring fonts I am getting!

Thanks,

Glenn
Ivar B. Jessen
2004-02-02 20:38:41 UTC
Permalink
On Mon, 02 Feb 2004 13:44:44 -0500
in dbase.bug-reports Re: Fonts in Win XP
Post by Glenn Fausel
No, it defintely works for Win 98. The fonts I tested were SO unique there
was no mistaking them. And the fonts I have on the XP computer are vitually
the same ones.
And I used getfont() to get them, so they have to exist. Unless I switch to
reports, I will have to use the boring fonts I am getting!
Most laserprinters have a default primary font and a default secondary font,
maybe they are the boring fonts you see.

I can not get the "style" command to work under Win2000/Plus, it is however
possible to change the primary font to allow printing in for example wingdings
as illustrated in the code below.

The result is the nine 'hands' in wingdings. With my printer the hands
"CDEFGH" have black bands at the cuffs indicating that I see the built-in
printer fonts. The Windows wingdings font does not have the black bands.


Ivar B. Jessen

//-----
set printer to
set printer on
f = new file()
f.open("LPT1:", "W")
f.write(chr(27)+"(579L") // select wingdings
f.write(chr(27)+"(s72V") // select size 72
f.write(chr(10)+chr(13)+chr(10)+chr(13)+chr(10)+chr(13)+"ABCDEFGHI")
f.flush()
f.close()
close printer
set printer off
release object f; release f
//-----
Phillip Hansen
2004-02-03 09:13:02 UTC
Permalink
Post by Glenn Fausel
No, it defintely works for Win 98. The fonts I tested were SO unique there
was no mistaking them. And the fonts I have on the XP computer are vitually
the same ones.
Do not know if this is relative as what I know about fonts is dangerous.
If you open the fonts app in control panel a lot of what used to be TT
fonts are now Open Type in XP. Maybe there is a difference there.
FWIW
--
Phillip Hansen
Skil-Phil Solutions
Glenn Fausel
2004-02-03 15:20:50 UTC
Permalink
I did notice something, could not put my finger on it. Will have to test later.

Thanks!

Glenn
Post by Phillip Hansen
Post by Glenn Fausel
No, it defintely works for Win 98. The fonts I tested were SO unique there
was no mistaking them. And the fonts I have on the XP computer are vitually
the same ones.
Do not know if this is relative as what I know about fonts is dangerous.
If you open the fonts app in control panel a lot of what used to be TT
fonts are now Open Type in XP. Maybe there is a difference there.
FWIW
--
Phillip Hansen
Skil-Phil Solutions
Loading...