Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / MS Reference Specialty

Author
Message
Code eater
18
Years of Service
User Offline
Joined: 17th Feb 2008
Location: Behind You!
Posted: 17th Jan 2009 13:59
For my programs I am trying to write fractions in a very small space and so I found the font "MS Reference Specialty" and I can use it in word and power point and things,,, and its there in the fonts section in control pannel. But I cant seem to get it to that font in darkbasic.



But this doesn't seem to work and it just stays as the Default font.

is there any way I can access it?


thanks,,,


codeeater
Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 17th Jan 2009 14:45
@Code eater
Two things:

1. call your command with a ,1 a the end:
SET TEXT FONT "MS REFERENCE SPECIALTY",1

2. If that still makes no difference, check out the following link:

DBC Font Dialog DLL

I wrote the DLL to help out Nanogamez Guy to over come the limits of the Perform Checklist commands. If you run the example DBC code that calls the DLL, it will open a font dialog box. If your font MS REFERENCE SPECIALTY is in the proper folder, the dialog box should pick it up. If it does, I believe it makes it available for DBC use because it is called through DBC - it becomes installed in the windows font table.

After you select a font, the font name should appear at the top of the screen when the dialog box closes. This is the name of the font with the correct spelling that should be used with DBC.

Enjoy your day.
BN2 Productions
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 18th Jan 2009 01:05
Also, just making sure, you are using the TEXT command right? I don't think that the PRINT command can use any other font.

Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose
Code eater
18
Years of Service
User Offline
Joined: 17th Feb 2008
Location: Behind You!
Posted: 18th Jan 2009 17:10
@BN2 Productions

Yeah,,, quite right to check lol. very common mistake, but yes, i am using the TEXT command rather than the PRINT command. Thanks.

@Latch

Thanks very much,,, I added the one at the end and it works,, thanks.

cheers,,,

codeeater

Login to post a reply

Server time is: 2026-07-05 01:47:17
Your offset time is: 2026-07-05 01:47:17