Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reports with *******
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00915680
Message ID:
00916298
Vues:
9
---
FWIW, Tahoma gives the same results as Arial. Verdana and Comic Sans also give the same results as Arial under ReportBehavior 90, but in addition the 9-pt size of Verdana and Comic Sans is problematic in the detail band under ReportBehavior 80 as well.
-----

Yes, I was misremembering, had no way to look this up earlier. It's TNR not Arial that has the problem.

Please run the code below in VFP 9 -- notice it has *nothing* to do with the report engine -- and you will see what I am talking about.

Meanwhile the reason you are seeing what you have diagnosed as a "problemmatic" point size of 9 is probably not what you think. I will respond to your report issue separately.

>L<
* runnable code starts here

#DEFINE FONTONE "Arial"
#DEFINE FONTTWO "Times New Roman"

#DEFINE SIZEONE 10
#DEFINE SIZETWO 9
#DEFINE SIZETHREE 8


CLEAR

? "** " + FONTONE
_screen.fontname = FONTONE

ShowResults(SIZEONE)
ShowResults(SIZETWO)
ShowResults(SIZETHREE)


? "** " + FONTTWO
_screen.fontname = FONTTWO

ShowResults(SIZEONE)
ShowResults(SIZETWO)
ShowResults(SIZETHREE)


RETURN


PROC ShowResults(tSize)

?  "* Textwidth numbers for size " +TRANSFORM(tSize)
 _screen.fontsize = tSize 
? _screen.textwidth("$99,999,999.99")
? _screen.textwidth("9.99")

ENDPROC
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform