Re: [dev-servo] 2/10 meeting notes (interning; embedding; beforeunload; acid2 status; testing status; parallelism status; easy bugs; rust upgrade; docs)

2014-02-11 Thread Robert O'Callahan
On Wed, Feb 12, 2014 at 5:00 PM, Patrick Walton wrote: > On 2/10/14 12:41 PM, Robert O'Callahan wrote: > >> What exactly do you mean by "font collection loading"? If you ask the >> right >> questions I can explain how it works in Gecko :-). >> > > Sure thing. Sorry for the delay here, I needed to

Re: [dev-servo] 2/10 meeting notes (interning; embedding; beforeunload; acid2 status; testing status; parallelism status; easy bugs; rust upgrade; docs)

2014-02-11 Thread Jack Moffitt
> Need to check whether these are OS objects, and if so, whether they're > thread safe on all platforms. Linux fontconfig in particular is particularly > bad, as we've discovered. (You need a lock around the whole thing unless you > have a *very* recent version, newer than the one in many distros.)

Re: [dev-servo] 2/10 meeting notes (interning; embedding; beforeunload; acid2 status; testing status; parallelism status; easy bugs; rust upgrade; docs)

2014-02-11 Thread Patrick Walton
On 2/11/14 8:04 PM, Jack Moffitt wrote: * `CTFontCollectionCreateMatchingFontDescriptors` - constructs the query used to ask the OS which fonts are available. This is ultimately called from Servo `FontContext::get_resolved_font_for_style()`, called during frame construction for text boxes. * `CT

Re: [dev-servo] 2/10 meeting notes (interning; embedding; beforeunload; acid2 status; testing status; parallelism status; easy bugs; rust upgrade; docs)

2014-02-11 Thread Jack Moffitt
> * `CTFontCollectionCreateMatchingFontDescriptors` - constructs the query > used to ask the OS which fonts are available. This is ultimately called from > Servo `FontContext::get_resolved_font_for_style()`, called during frame > construction for text boxes. > > * `CTFontManagerCopyAvailableFamilyN

Re: [dev-servo] 2/10 meeting notes (interning; embedding; beforeunload; acid2 status; testing status; parallelism status; easy bugs; rust upgrade; docs)

2014-02-11 Thread Patrick Walton
On 2/10/14 12:41 PM, Robert O'Callahan wrote: What exactly do you mean by "font collection loading"? If you ask the right questions I can explain how it works in Gecko :-). Sure thing. Sorry for the delay here, I needed to profile and re-familiarize myself with Servo's code :) I'm on a Mac,