Lines Matching defs:to
14 * its contributors may be used to endorse or promote products derived
158 // Fill in a buffer with the entire "page" of characters that we want to look up glyphs for.
215 // Now that we have a buffer full of characters, we want to get back an array
218 // Success is not guaranteed. For example, Times fails to fill page 260, giving glyph data
231 // all this casting is to ensure all the parameters to min and max have the same type,
232 // to avoid ambiguous template parameter errors on Windows
234 int to = 1 + min(static_cast<int>(range.to()) - static_cast<int>(start), static_cast<int>(GlyphPage::size) - 1);
235 if (from >= static_cast<int>(GlyphPage::size) || to <= 0)
238 // If this is a custom font needs to be loaded, do not fill
242 for (int j = from; j < to; j++) {
249 haveGlyphs |= fill(m_page.get(), from, to - from, buffer + from * (start < 0x10000 ? 1 : 2), (to - from) * (start < 0x10000 ? 1 : 2), range.fontData().get());
258 // and just copies the pointer to an already-existing page (see
261 // We want our override to be shared by all nodes that reference
262 // that page to avoid duplication, and so standardize on having the
282 // Combine the parent's glyphs and ours to form a new more complete page.
313 // ask the system for the best font to use and fill that glyph in for us.