Lines Matching refs:fontRuns
77 static le_int32 findFontRun(const pl_fontRuns *fontRuns, le_int32 offset) in findFontRun() argument
79 le_int32 runCount = pl_getFontRunCount(fontRuns); in findFontRun()
83 if (pl_getFontRunLimit(fontRuns, run) > offset) { in findFontRun()
91 static void subsetFontRuns(const pl_fontRuns *fontRuns, le_int32 start, le_int32 limit, pl_fontRuns… in subsetFontRuns() argument
93 le_int32 startRun = findFontRun(fontRuns, start); in subsetFontRuns()
94 le_int32 endRun = findFontRun(fontRuns, limit - 1); in subsetFontRuns()
100 const le_font *runFont = pl_getFontRunFont(fontRuns, run); in subsetFontRuns()
101 le_int32 runLimit = pl_getFontRunLimit(fontRuns, run) - start; in subsetFontRuns()
111 pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErro… in pf_create() argument
168 subsetFontRuns(fontRuns, pStart - flow->fChars, pEnd - flow->fChars, fr); in pf_create()
360 pl_fontRuns *fontRuns; in pf_factory() local
367 fontRuns = pl_openEmptyFontRuns(0); in pf_factory()
369 pl_addFontRun(fontRuns, font, charCount); in pf_factory()
371 result = pf_create(text, charCount, fontRuns, &status); in pf_factory()
378 pl_closeFontRuns(fontRuns); in pf_factory()