这个字符串语法在 PDF 中是什么意思? [英] What does this string syntax mean in PDF?

查看:35
本文介绍了这个字符串语法在 PDF 中是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

0.0014 Tc 0.0433 Tw 1.9352 -1.153 Td
[(In his )6(first y)9(ear of tradin)5(g he bought)6( 2000 radio)5(s)-1(, of which)5( )6(1000 were shipped to h)5(i)5(s agent Su)5(mit )]TJ
0.0015 Tc -0.0005 Tw 0 -1.153 TD

出于目的,这是我想阅读的 PDF 文件的片段.我理解第一行和最后一行,以及第二行的大部分内容,它们只是在页面上显示文本.字符串的 PDF 语法是括号内的文本() ",就是这样.在第 2 行,文本在一个数组中,我理解.我不明白的是字符串后面的整数是什么.例如 6, 9, 5 放在第 2 行的字符串之后,甚至没有空格,这通常是数组中对象的分隔符.如果有人能在字符串之后指定这些数字的作用,我将不胜感激.

This is a snippet from a PDF file I want to read, for purposes. I understand the first and last line, and most of the second line, which is just showing the text on the page. The PDF syntax for a string is the text placed within brackets " () ", which it is. On line 2 the text is in an array, which I understand. What I do not understand is what the integers are right after the strings. Such as 6, 9, 5 placed right after the strings on line 2, without even a space, which would normally be the separator for objects in an array. I'd appreciate it if someone could specify what these numbers do right after a string.

推荐答案

我不明白字符串后面的整数是什么.

What I do not understand is what the integers are right after the strings.

请参阅 TJ 运算符,其中每个数字都从文本矩阵中调整(减去).例如,此语法可用于对文本运行进行字距调整.

See the TJ operator, where each number adjusts (subtracts) from the text matrix. For example, this syntax can be used to do Kerning on the text runs.

参见表 109 第 258 页(在此处的底部 250 处编号:https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf

See Table 109 page 258 (numbered at the bottom 250 here : https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf

这篇关于这个字符串语法在 PDF 中是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆