DescriptionLinux: plumb fontconfig call out to the sandbox host.
This is hopefully the last step before our renderers can run cleanly
in a chroot.
WebKit needs to be able to ask for the correct font to use in the case
that the current font doesn't include glyphs for certain code points.
Currently we make a fontconfig call in our WebKit port to handle this.
This patch changes this so that the call is sent our via
ChromiumBridge. Since we are at ChromiumBridge, we could make a sync
IPC to the browser. However, fontconfig is a single threaded library
and we are already using it on the UI thread in the browser, so the
sync IPC would have to terminate on the UI thread. Even if this
doesn't deadlock, it causes huge spikes in latency.
So, instead, we send the IPC to the sandbox host process which is
already setup to handle fontconfig requests from Skia. See:
http://code.google.com/p/chromium/wiki/LinuxSandboxIPC
Patch Set 1 #Patch Set 2 : ... #Patch Set 3 : ... #
Total comments: 1
Patch Set 4 : Change to use SandboxSupport #
Total comments: 19
Patch Set 5 : refactor #Patch Set 6 : Forgot to change a define to enable sandboxSupport in the renderer #Patch Set 7 : Probably screwed up that last upload #Patch Set 8 : forgot files #
Total comments: 9
Patch Set 9 : ... #
Messages
Total messages: 9 (0 generated)
|