Re: Render glyphs in foreground?
Adam Megacz <[email protected]>
| Newsgroups | gmane.comp.java.xwt.core |
|---|---|
| Organization | XWT |
| Message-ID | <[email protected]> |
David Crawshaw <[email protected]> writes: >> Maybe we should do away with background glyph rendering and just do >> it all in the foreground? > This is tempting, I agree, mainly because the background font rendering is an ugly hack. One interesting possibility is to do 100ms worth of font-rendering work before each render(). Then we wouldn't need a background thread. On fast machines (and assuming the developer isn't doing somethieffectively ngh stupid like trying to render 100,000 fonts) it would behave just like Brian's suggestion. Box would still need to cope with "font not rendered yet", but all that asynchronous garbage would go away. - a