Lines Matching refs:chunks
457 baseline = bri->rects[trec].yll - tpi->chunks[trec].boff;
458 fsp = &(fti->fonts[tpi->chunks[trec].fi_idx]);
461 tmp = tpi->chunks[trec].fs * ((double)fsp->face->bbox.yMax/yheight);
465 tmp = tpi->chunks[trec].fs * ((double)-fsp->face->bbox.yMin/yheight); /* yMin in face is negative */
472 fsp = &(fti->fonts[tpi->chunks[trec].fi_idx]);
475 tmp = tpi->chunks[trec].fs * (((double)fsp->face->bbox.yMax)/yheight);
483 baseline = bri->rects[trec].yll - tpi->chunks[trec].boff;
487 tmp = tpi->chunks[trec].fs * (((double)-fsp->face->bbox.yMin)/yheight); /* yMin in face is negative */
490 baseline = bri->rects[trec].yll - tpi->chunks[trec].boff;
549 if(tpi->chunks[trec].vadvance){
554 if(fabs(1.0 - (tpi->chunks[trec].vadvance/newV)) > 0.01){
559 tpi->chunks[trec].vadvance = tpi->chunks[trec].vadvance*(1.0-weight) + newV*weight;
563 tpi->chunks[trec].vadvance = newV;
1041 \param type TR_TEXT (index is for tpi->chunks[]) or TR_LINE (index is for cxi->kids[])
1059 \param type TR_LINE (src is an index for tpi->chunks[]) or TR_PARA (src is an index for cxi->kids[]).
1078 \param type TR_LINE (src is an index for tpi->chunks[]) or TR_PARA (src is an index for cxi->kids[]).
1138 i, j, k, tpi->chunks[k].ldir, tpi->chunks[k].rt_tidx,
1140 tpi->chunks[k].x, tpi->chunks[k].y,
1141 tpi->chunks[k].xkern, tpi->chunks[k].ykern,
1142 tpi->chunks[k].string, tpi->chunks[k].decoration );
1197 tmp = (TCHUNK_SPECS *) realloc(tpi->chunks, tpi->space * sizeof(TCHUNK_SPECS) );
1199 tpi->chunks = tmp;
1200 memset(&tpi->chunks[tpi->used],0,(tpi->space - tpi->used)*sizeof(TCHUNK_SPECS));
1221 ltsp = &(tpi->chunks[tpi->used]);
1240 free(tpi->chunks[i].string); }
1241 free(tpi->chunks); /* release the array */
1776 x = tpi->chunks[current].x - tri->x; /* convert to internal orientation */
1777 y = tpi->chunks[current].y - tri->y;
1778 tpi->chunks[current].x = x * cos(escapement) - y * sin(escapement); /* coordinate transformation */
1779 tpi->chunks[current].y = x * sin(escapement) + y * cos(escapement);
1830 bsp.xll = tpi->chunks[current].x;
1831 bsp.xur = tpi->chunks[current].x + xe;
1834 bsp.xll = tpi->chunks[current].x - xe/2.0;
1835 bsp.xur = tpi->chunks[current].x + xe/2.0;
1838 bsp.xll = tpi->chunks[current].x - xe;
1839 bsp.xur = tpi->chunks[current].x;
1841 tpi->chunks[current].ldir = tsp->ldir;
1851 /* From this point forward y is on the baseline, so need to correct it in chunks. The asc/dsc are the general
1853 if( taln & ALIVERT & ALITOP ){ tpi->chunks[current].y += fasc; }
1856 if(flags & TR_EMFBOT){ tpi->chunks[current].y -= 0.35 * tsp->fs; } /* compatible with EMF implementations */
1857 else { tpi->chunks[current].y += fdsc; }
1859 tpi->chunks[current].boff = -dsc;
1863 bsp.yll = tpi->chunks[current].y - dsc;
1864 bsp.yur = tpi->chunks[current].y - asc;
1866 tpi->chunks[current].rt_tidx = bri->used - 1; /* index of rectangle that contains it */
1965 tsp = &tpi->chunks[kdx];
2052 tsp = &tpi->chunks[kdx];
2112 tsp = &tpi->chunks[kdx]; /* text chunk for this k */
2311 tspi = &(tpi->chunks[i]);
2324 tspj = &(tpi->chunks[j]);
2380 tspi = &(tpi->chunks[ kidp->members[kidp->used - 1] ]); /* here, the last text element in preceding complex */
2381 tspj = &(tpi->chunks[ kidc->members[0 ] ]); /* here, tge first text element in current complex */
2430 tspi = &tpi->chunks[csp->kids.members[0]]; /* used here as last tsp. no kerning is applied to the first element */
2434 tspj = &tpi->chunks[csp->kids.members[j]];
2448 if(tpi->chunks[csp->kids.members[k]].ldir == ldir){ tspRevEnd = &tpi->chunks[csp->kids.members[k]]; }