[Jprogramming] screen font size granularity
bill lam
bbill.lam at gmail.com
Sat Aug 12 18:57:57 HKT 2006
Oleg Kobchenko wrote:
> Looking on how Wordpad does Preview, I got another idea
> that may improve glyph positioning.
>
> If you zoom or scale the window of Wordpad Preview, you
> notice that the ratio of glyphs does not change as opposed
> to what we saw with changing the point size. This means that they
> are not redrawing the picture at scale, but rather
> have the same vector image, which is drawn at different
> sizes. So they use the Metafile, which is available in
> J for Windows: glfile, glemfopen, glemfclose, glemfplay.
>
> So you could populate the Metafile with larger font sizes,
> which do not have the artifacts and then play it at reduced
> sizes for zooming, etc.
>
I tested fontmeta.ijs, it's much faster than scalex2 method but the text does
not look so nice.
when I try to use J504 metafile cmd, glplayext and glplayxywh are very difficult
to use, Could you also provide a fontmeta.ijs in J504?
Also I notice file size of the temp metafile is much bigger in J601, eg.
J504 12kb
J601 100kb
Is this expected?
--
regards,
bill
More information about the Programming
mailing list