Re: Render glyphs in foreground?
David Crawshaw <[email protected]>
| Newsgroups | gmane.comp.java.xwt.core |
|---|---|
| Message-ID | <[email protected]> |
On 04/03/2004, at 10:37 PM, Adam Megacz wrote: > - Setting box.font=foo is a blocking operation. It doesn't return > until the stream is completely downloaded. > > - When you render a box, Ibex *synchronously* acquires the bounding > box of all the glyphs used. This should be really super fast. > The box is then sized correctly. This avoids the ugliness where a > background rendering task can trigger a reflow. > > - The bitmaps of glyphs are created *asynchronously*. For > simplicity we still probably want to do this in the rendering > thread, but limit the amount of work we do to 100ms. This would work well. How do you plan on counting the time, System.currentTimeMillis()? -- d