mmaping FcInit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-03-25 at 01:53 -0500, Patrick Lam wrote:

> BTW, Owen's suggested struct:
> struct FcPattern {
>     int refcount;
>     FcPatternStorage storage; /* dynamic, static */
> 
>     union {
>       FcPatternDynamic *dynamic;
>       FcPatternStatic *static;
>     } u;
>   };
> 
> still seems to be a struct, and thus requiring mallocness and a pointer. 

The point of my suggestion is that we need a single *public* structure
for:

  - Patterns retrieved from the database of fonts on disk
  - Patterns created on the fly through the FcPattern API

But that public structure can be small, lightweight, and created on
the fly.

Regards,
					Owen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20050325/46336fda/attachment.pgp

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux