Lines Matching refs:textState
31718 var textState;
31725 var font = textState.font;
31738 …var tsm = [textState.fontSize * textState.textHScale, 0, 0, textState.fontSize, 0, textState.textR…
31740 …if (font.isType3Font && textState.fontSize <= 1 && !(0, _util.isArrayEqual)(textState.fontMatrix, …
31744 tsm[3] *= glyphHeight * textState.fontMatrix[3];
31748 … var trm = _util.Util.transform(textState.ctm, _util.Util.transform(textState.textMatrix, tsm));
31762 var a = textState.textLineMatrix[0];
31763 var b = textState.textLineMatrix[1];
31765 a = textState.ctm[0];
31766 b = textState.ctm[1];
31771 var spaceWidth = font.spaceWidth / 1000 * textState.fontSize;
31818 textState.font = translated.font;
31819 textState.fontMatrix = translated.font.fontMatrix || _util.FONT_IDENTITY_MATRIX;
31824 var font = textState.font;
31848 var charSpacing = textState.charSpacing;
31851 var wordSpacing = textState.wordSpacing;
31863 var w0 = glyphWidth * textState.fontMatrix[0];
31864 tx = (w0 * textState.fontSize + charSpacing) * textState.textHScale;
31867 var w1 = glyphWidth * textState.fontMatrix[0];
31868 ty = w1 * textState.fontSize + charSpacing;
31872 textState.translateTextMatrix(tx, ty);
31957 textState = stateManager.state;
31967 … if (textState.font && fontNameArg === textState.fontName && fontSizeArg === textState.fontSize) {
31972 textState.fontName = fontNameArg;
31973 textState.fontSize = fontSizeArg;
31979 textState.textRise = args[0];
31984 textState.textHScale = args[0] / 100;
31989 textState.leading = args[0];
31993 …var isSameTextLine = !textState.font ? false : (textState.font.vertical ? args[0] : args[1]) === 0;
31997 textState.translateTextLineMatrix(args[0], args[1]); field
32006 textState.translateTextLineMatrix(args[0], args[1]);
32007 textState.textMatrix = textState.textLineMatrix.slice();
32012 textState.leading = -args[1];
32013 textState.translateTextLineMatrix(args[0], args[1]);
32014 textState.textMatrix = textState.textLineMatrix.slice();
32019 textState.carriageReturn();
32023 …advance = textState.calcTextLineMatrixAdvance(args[0], args[1], args[2], args[3], args[4], args[5]…
32026 textState.translateTextLineMatrix(advance.width, advance.height); field
32035 textState.setTextMatrix(args[0], args[1], args[2], args[3], args[4], args[5]);
32036 textState.setTextLineMatrix(args[0], args[1], args[2], args[3], args[4], args[5]);
32040 textState.charSpacing = args[0];
32044 textState.wordSpacing = args[0];
32049 textState.textMatrix = _util.IDENTITY_MATRIX.slice();
32050 textState.textLineMatrix = _util.IDENTITY_MATRIX.slice();
32062 advance = items[j] * textState.fontSize / 1000;
32065 if (textState.font.vertical) {
32067 textState.translateTextMatrix(0, offset);
32075 offset = advance * textState.textHScale;
32076 textState.translateTextMatrix(offset, 0);
32100 textState.carriageReturn();
32106 textState.wordSpacing = args[0];
32107 textState.charSpacing = args[1];
32108 textState.carriageReturn();
32226 textState.fontName = null; field
32227 textState.fontSize = gStateFont[1];