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 Professional Discussion / a little font problem !

Author
Message
Orbital219
22
Years of Service
User Offline
Joined: 3rd Aug 2003
Location:
Posted: 3rd Aug 2003 23:09
Hello

- First excuse me for my bad english :p – but I’ve a little problem with DBpro : When we use the text function of DBpro (for a text with a font called “Arabolical.ttf”, 24 point) we can see that the font is not clean


(>>>picture : 1 is DBpro and 2 is Photoshop ) the function used are : “set text font”, “set text size” and “text”… what can we do to have a nice smoothed font ?

Thanx
Mentor
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 3rd Aug 2003 23:51
change your screen resolution and antialias the font, print it out to a bitmap, make an image of the bitmap area with the text on it and set the antialias on to smooth it and display it on the screen, in that top image your screen resolution is so low it makes the font blocky, it can`t display just 1/2 a pixel , try drawing lines and you will get the same thing, try

set display mode 1024,768,32

that should give you a smoother font, if you don`t want to go to that high a resolution then you will have to antialias the font in some way, you could blur the bitmap with

blur bitmap 1,3

to provide a crude antialias, first number is the bitmap and second is the amount of blur from 1 to 6, photoshop will look neat since it is probably at a higher resolution (like your desktop) and it`s meant to make things look good anyway, take a look at the font under zoom in photoshop, it wont be so smooth then, cheers.

Mentor.

Login to post a reply

Server time is: 2026-07-23 00:36:35
Your offset time is: 2026-07-23 00:36:35