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).

dave

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
[email protected]
http://www.opendarwin.org/mailman/listinfo/webkit-dev

_______________________________________________
webkit-dev mailing list
[email protected]
http://www.opendarwin.org/mailman/listinfo/webkit-dev

Reply via email to