Lines Matching refs:text

2257 	    var encoded = inline.font.encode(inline.text);
2285 var encoded = watermark.font.encode(watermark.text);
13350 FontWrapper.prototype.encode = function(text){
13353 var charTypesInInline = _.chain(text.split('')).map(toCharCode).uniq().value();
13355 …throw new Error('Inline has more than '+ self.MAX_CHAR_TYPES + ': ' + text + ' different character…
13371 font.use(text);
13379 var encodedText = _.map(font.encode(text), function (char) {
13615 text: watermark,
13711 } else if (node.text !== undefined) {
14080 node = { text: node };
14099 } else if (node.text !== undefined) {
14220 var data = this.textTools.buildInlines(node.text, this.styleStack);
14615 TextTools.prototype.sizeOfString = function(text, styleContextStack) {
14616 text = text.replace('\t', ' ');
14628 width: font.widthOfString(removeDiacritics(text), fontSize),
14637 function splitWords(text) {
14639 text = text.replace('\t', ' ');
14641 var array = text.match(WORD_RE);
14651 results.push({text: item});
14657 results.push({ text: '', lineEnd: true });
14696 words = splitWords(item.text);
14702 text: words[i2].text
14722 function removeDiacritics(text) {
14723 return text.replace(/[^A-Za-z0-9\[\] ]/g, function(a) {
14767 item.width = font.widthOfString(removeDiacritics(item.text), fontSize);
14770 var leadingSpaces = item.text.match(LEADING);
14771 var trailingSpaces = item.text.match(TRAILING);
22682 put_byte(s, (s.gzhead.text ? 1 : 0) +
24929 state.head.text = ((hold >> 8) & 1);
29191 PDFFont.prototype.encode = function(text) {
29194 return this.font.encodeText(text);
29196 return ((_ref = this.subset) != null ? _ref.encodeText(text) : void 0) || text;
29946 var count, entries, entry, format, i, name, stringOffset, strings, text, _i, _j, _len, _name;
29966 text = data.readString(entry.length);
29967 name = new NameEntry(text, entry);
31412 AFMFont.prototype.encodeText = function(text) {
31415 …for (i = _i = 0, _ref = text.length; 0 <= _ref ? _i < _ref : _i > _ref; i = 0 <= _ref ? ++_i : --_…
31416 char = text.charCodeAt(i);
31477 Subset.prototype.encodeText = function(text) {
31480 …for (i = _i = 0, _ref = text.length; 0 <= _ref ? _i < _ref : _i > _ref; i = 0 <= _ref ? ++_i : --_…
31481 char = this.unicodes[text.charCodeAt(i)];
31639 _text: function(text, x, y, options, lineCallback) {
31642 text = '' + text;
31644 text = text.replace(/\s{2,}/g, ' ');
31654 wrapper.wrap(text, options);
31656 _ref = text.split('\n');
31664 text: function(text, x, y, options) {
31665 return this._text(text, x, y, options, this._line.bind(this));
31673 heightOfString: function(text, options) {
31682 this._text(text, this.x, this.y, options, (function(_this) {
31804 _line: function(text, options, wrapper) {
31809 this._fragment(text, this.x, this.y, options);
31812 return this.x += this.widthOfString(text);
31817 _fragment: function(text, x, y, options) {
31819 text = '' + text;
31820 if (text.length === 0) {
31829 textWidth = this.widthOfString(text.replace(/\s+$/, ''), options);
31836 words = text.trim().split(/\s+/);
31837 textWidth = this.widthOfString(text.replace(/\s+/g, ''), options);
31842 …tions.textWidth + (wordSpacing * (options.wordCount - 1)) + (characterSpacing * (text.length - 1));
31869 this._font.use(text);
31881 words = text.trim().split(/\s+/);
31900 encoded = this._font.encode(text);
31996 LineWrapper.prototype.eachWord = function(text, fn) {
31998 breaker = new LineBreaker(text);
32002 word = text.slice((last != null ? last.position : void 0) || 0, bk.position);
32033 LineWrapper.prototype.wrap = function(text, options) {
32067 this.eachWord(text, (function(_this) {
65620 var chunkSize, colors, i, index, key, section, short, text, _i, _j, _ref;
65626 this.text = {};
65675 text = this.read(chunkSize);
65676 index = text.indexOf(0);
65677 key = String.fromCharCode.apply(String, text.slice(0, index));
65678 this.text[key] = String.fromCharCode.apply(String, text.slice(index + 1));
66004 textAnnotation: function(x, y, w, h, text, options) {
66009 options.Contents = new String(text);