Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions chapter6.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ PDF采用中间立场 - 保留了字体和小尺寸文本布局的思想,

举个例子,我们回到第2章中的“Hello,World!”文件:
```
1. 0. 0. 1. 50. 700. cm Position at (50, 700)
BT Begin text block
/F0 36. Tf Select /F0 font at 36pt
(Hello, World!) Tj Place the text string
ET End text block
1. 0. 0. 1. 50. 700. cm % Position at (50, 700)
BT % Begin text block
/F0 36. Tf % Select /F0 font at 36pt
(Hello, World!) Tj % Place the text string
ET % End text block
```

在这里,我们使用带有字体名称和大小运算符的Tf运算符来选择字体,使用Tj运算符来显示文本字符串。
Expand Down