Do you have in your Windows: Desktop right-click,
Properties, Appearence, Effects, "Use method smooth fonts..."
**Cleartype**. That could also be an imrovement,
especially for LCD.

How about such idea for print preview:
you paint the page with a larger resolution (x2)
and then scale down by 2 using average. It will also
produce the nice antialising that you are lacking.


S=: 2   NB. scale
av2=: _2&((+/ <[EMAIL PROTECTED] #)\)&.(256 256 256&#:)  NB. slow

F=: 0 : 0
pc f; pn "Font Fit";
xywh 6 20 160 200;cc g isigraph rightmove bottommove;
...

f_run=: 3 : 0
  wd F
  wd 'xywh 20 20 320 400; cc h isigraph rightmove bottommove;'
  wd 'setshow h 0;'
...

f_g_paint=: 3 : 0
  glsel 'h'
  glclear ''
...
    glrect p, S*300, i*4%3
...
  q=. (|.wh)$glqpixels 0 0,wh=: S*320 400
  q=. av2 av2&.|: q
  glsel 'g'
  glclear ''
  glpixels 0 0,(|.$q),,q
  glpaint ''
)

NB. =========================================================
NB. faster grayscale

av2=: _2&((+/ <[EMAIL PROTECTED] #)\)
...
  q=. 16b010101*av2 av2&.|: 256|q


--- bill lam <[EMAIL PROTECTED]> wrote:

> Oleg Kobchenko wrote:
> > OK. There is an artifact in default font
> > rendering. For precise glyph positioning,
> > an advanced rendering engine of setting is
> > needed, which is found in applications like
> > Acrobat Reader or Word. All other Windows
> > applications show default uneven redering.
> > 
> > See more at
> > http://www.jsoftware.com/jwiki/Scripts/Font_Fit
> 
> Thank you for confirmation. Originally I wish to add preview function before
> printing, but now it seems screen preview is non-trivial without the help of a
> good rendering engine.
> 
> please also refer to printerfontfit script and pdf
> http://www.jsoftware.com/jwiki/Scripts/Font_Fit
> 
> -- 
> regards,
> bill
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to