[webkit-dev] Design change request for Font

David Hyatt hyatt at apple.com
Sat Mar 18 13:02:59 PST 2006

You are not intended to initialize the native binding in the Font  
constructor.  The "native" side is created lazily when the properties  
of the font are queried.  Font is still in flux though (there are  
more changes coming to the Mac side that will make the design a bit  
more clear).


On Mar 18, 2006, at 9:33 AM, Mike Emmel wrote:

> I was working with the current Font implementation and realized that
> there was no way to initialize the native binding since the
> constructor was defined in the platform independent file.
> In fact stack allocation seems to be used to bind the native font at
> each drawText request in the Mac impl. Can we move the constructor to
> the platform dependent implementations like you have done for most of
> the plaf objects ?
> Mike
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at opendarwin.org
> http://www.opendarwin.org/mailman/listinfo/webkit-dev

More information about the webkit-dev mailing list