[cairo] Cairo meeting tomorrow 13:00 EDT

Behdad Esfahbod behdad at behdad.org
Wed Apr 4 11:34:21 PDT 2007


On Thu, 2007-04-05 at 00:46 +0930, Adrian Johnson wrote:
> Behdad Esfahbod wrote:
> >>   • New, user-font API (behdad and krh)
> > 
> > We should be fast about this, as it's a piece of really useful API, and
> > there's still a lot to do.  We can start by someone (krh, you) reviewing
> > my latest branch, so we can make sure the plans are solid and go on to
> > implementing the missing bits.
> 
> I assume that the PS/PDF font subsetting can not make any assumptions
> about whether user-font glyphs have the same shape at different scales
> and will have to create separate subsets for each scale used. Is it
> worth adding an extra parameter to cairo_user_font_face_create() to
> specify whether glyphs at different scales should be merged into the one
> subset? This would avoid re-embedding user-fonts at every scaled used
> when the glyph shapes are the same for all scales.

Good question.  I don't know.  Does it make sense to reuse the glyphs if
glyph hinting and metrics hinting are both turned off?  That covers the
interesting case of PS/PDF.  Possibly needs some internal changes to the
cache layer though.
 
> >>   • Other proposed API additions (Behdad, who has been disappointed to
> >>     not get much feedback on these yet---Behdad, care to summarize
> >>     these in a single mail with links to the proposals?) 
> 
> I would also like to suggest:
> 
> • Set PS Level for the PS backend. This is required to support Level 3
>   features such as gradients.
> 
> • EPS output from the PS backend. This in the cairo TODO.

Agreed.  Will you work on these?

> • API to allow enable/disabling certain subsetters.
>   http://bugs.freedesktop.org/show_bug.cgi?id=8180#c28
>   This would also be useful feature to control via an environment
>   variable as it would allow the user to override the application
>   settings.

Yeah, an env var is a good start, and can exist even when we later add
real API for these.  Maybe make the env var take one of four values: on,
off, never, always.  The C API when we add it can override on/off, but
not never/always.  How does that sound?

> • Debug environment variable to disable compression in the PDF output.
>   http://lists.freedesktop.org/archives/cairo/2007-February/009492.html

It's not necessarily a debug feature.  The same env var approach sounds
good to me.  But we should seriously think about the compression_level
api soon.  Embedding JPGs instead of PNGs in PDF is a real need we need
to address.

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list