On Wed, 15 Sep 2004 09:08:51 +0900 Carsten Haitzler (The Rasterman)
writes:
> On Tue, 14 Sep 2004 14:13:45 +0200 "Nemec, Bernhard" babbled:
>
> > > 1. glpyph caching,
> >
> > Doesn't the cache work automatically for any used font size?
>
> per font size instance there is a glyph cache - BUT now i'd need to
> handle per
> size AND transform (scale h AND v). i'd either need a glyph cache
> per one of
> these or change the glyph hash key to include the transform (scaling
> factors).
> the REAL problem here is the fact that truetype doesn't always like
> to scale
> linearly as u'd like - it may want to round off/align itself to a
> particular
> pixel boundary and so the text layout you chose before wont
> necessarily match :)
>
> > > 2. horizontal and vertical scaling may not
> > > match.
> >
> > Addressed in the attached draft.
> >
> > > 3 - simplicity, 4. almost never happens unless the viewport of
> > > the evas and the
> > > actual window are not 1:1 scaled.
> >
> > So, no reason preventing me from doing it :-)
> > Comments on the attached draft are much appreciated. Especially
> the new
> > invocation
> > of evas_common_font_load() may not be the smartest way of doing it
> (?).
>
> true - font loading each time would be expensive :)
>
> > BTW, I'm using this for printing, hence the buffer engine.
>
> true true :) though evas was never designed for printing - it is
> capable in
> design/theory of doing it :)
>
The buffer engine's font scaling code is slightly borked
anyway -- has been fixed in some secret work somewhere..
jose.
-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel