Collections.sort(queuedGlyphs, heightComparator);
// Add to existing pages.
for (Iterator iter = glyphPages.iterator(); iter.hasNext();) {
GlyphPage glyphPage = (GlyphPage)iter.next();
maxGlyphsToLoad -= glyphPage.loadGlyphs(queuedGlyphs, maxGlyphsToLoad);
if (maxGlyphsToLoad == 0 || queuedGlyphs.isEmpty())
return true;
}
// Add to new pages.