Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
antialiasing off

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash
View previous topic :: View next topic  
Author Message
dblchckd



Joined: 02 Apr 2006
Posts: 106

PostPosted: 22.07.2006 19:12    Post subject: antialiasing off Add user to your forum ignore list Reply with quote

Imam textField koji je dinamicki kreiran (actionscriptom) i u njemu koristim pixel font. Ne znam kako da iskljucim fucking antialiasing. TextField property antiAliasType prima samo normal i advanced vrijednosti, ali ne daje mogucnost da nema antialiasinga. Zna li netko, pliz, hitno mi je...
Back to top
View user's profile Send private message
blackduke
mi3.crew


Joined: 08 Sep 2003
Posts: 2681
Location: Zagreb

PostPosted: 22.07.2006 19:16    Post subject: Add user to your forum ignore list Reply with quote

pa ja mislim da bi trebao koristit advanced, da ce to ok bit.

Quote:
"advanced" - Applies advanced anti-aliasing, which makes text more legible. (This feature is available as of Flash Player 8.) Advanced anti-aliasing allows for high-quality rendering of font faces at small sizes. It is best used with applications that have a lot of small text. Advanced anti-aliasing is not recommended for fonts that are larger than 48 points.
Back to top
View user's profile Send private message Visit poster's website Twitter profile
dblchckd



Joined: 02 Apr 2006
Posts: 106

PostPosted: 22.07.2006 20:05    Post subject: Add user to your forum ignore list Reply with quote

blackduke wrote:
pa ja mislim da bi trebao koristit advanced, da ce to ok bit.

Quote:
"advanced" - Applies advanced anti-aliasing, which makes text more legible. (This feature is available as of Flash Player 8.) Advanced anti-aliasing allows for high-quality rendering of font faces at small sizes. It is best used with applications that have a lot of small text. Advanced anti-aliasing is not recommended for fonts that are larger than 48 points.


Hvala na brzom odgovoru Smile
Da, to sam maloprije bio procitao u helpu ali mislim da se prednosti koje se navode ne odnose na pixel fontove koji su najbolji kad se ne koristi antialiasing. Nisam bio zadovoljan kako mi je font izgledao. A uostalom ako mogu u author-timeu iskljuciti antialiasing ne kuzim zasto ne mogu i dinamicki. Upravo sam nasao jedno rjesenje. Kad sam embedao font u library nisam chekirao bitmap text opciju pa je pixel font rendao kao obican font. Ali to nije sve. Kad chekiram bitmap text onda se font mnogo bolje izrenda bez da namjestam antiAliasType property na advanced, tj kad je ostavim na defaultnoj vrijednosti normal. Drugim rijecima mislim da je advanced namijenjen za fontove koji nisu pixel fontovi.
Primjer...
Code:
var t:TextField = this.createTextField("t", 1, 20, 60, 150, 30);
t.text = "pixel six s normal antialiasingom";
t.embedFonts = true;
//t.antiAliasType = "advanced";

var t2:TextField = this.createTextField("t1", 2, 20, 100, 150, 30);
t2.text = "pixel six s advanced antialiasingom";
t2.embedFonts = true;
t2.antiAliasType = "advanced";

var f:TextFormat = new TextFormat()
f.font = "pixel";
f.size = 8;

t.setTextFormat(f);
t1.setTextFormat(f);


Evo, ko se zeli uvjeriti neka pejsta ovaj kod u prvi frejm, u library stavi font symbol nekog pixel fonta, chekira Bitmap text i velicinu osam, a linkage name nek bude pixel.

Tekst bez advanced antialiasinga izgleda neusporedivo bolje... i izgleda identicno kao tekst kreiran "ruchno" kad mu iskljucim antialiasing...
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group