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.

Newcomers DBPro Corner / Font Pixelization in Window Mode?

Author
Message
luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 21st Jun 2009 23:08
Hello guys, did someone know why is this happening?And what can do to make it not picelize my text and make it small?

Where is a will, there is a way.
lucifer 1101
15
Years of Service
User Offline
Joined: 26th Jan 2009
Location: Melbourne, Australia
Posted: 22nd Jun 2009 02:56
i think there is antialiasing, and you could try out bitmap fonts also...

Come and have a look at my hobby site once your ready..
http://darkdstudio.webs.com/
Note: its still really bare..
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 22nd Jun 2009 03:25
Yes, try antialiasing:

SET DISPLAY MODE [Screen width],[Screen height],[Screen depth],0,2,0



Diggsey: I have a spine and memory, but one memorable guy says he hates me. What am I?
luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 23rd Jun 2009 16:32
BMacZero i try your code and nothing happend really.Smaller window = smaller text... Maybe i`ll use bitmap font, if there is no other alternative...

Where is a will, there is a way.
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 23rd Jun 2009 21:49
can we see some code? I think that might help us help you better

Without Music or Love the world would be a very empty place... Thank god I still have music.. --'-<@
bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 23rd Jun 2009 21:57
i think i know what you mean, altough i'm not sure. when in windowed mode, and you make the screen 800x600, you mustn't forget the borders. the screen is 800x600, which includes the borders. like, the left and right bars are 2 px wide, so that gives the screen where you draw everything 4 px smaller. which makes every pixel you color not exactly 1 pixel on the screen but 1,something. you'll see if you do set display mode desktop width(), desktop height(), 32 and set window off the font isn't pixelized anymore.

Daniel TGC
Retired Moderator
17
Years of Service
User Offline
Joined: 19th Feb 2007
Location: TGC
Posted: 25th Jun 2009 19:19 Edited at: 25th Jun 2009 19:19
How are you writing the font's to the screen?

Are you using a simple Print statement, or the Text command? Are you resizing the window while the program is running? Are you changing the font type or size?

Login to post a reply

Server time is: 2024-11-25 04:35:28
Your offset time is: 2024-11-25 04:35:28