如何全局替换PDF中的字体 [英] how to globally replace font in a PDF

查看:801
本文介绍了如何全局替换PDF中的字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用Adobe Acrobat或其他工具全局替换PDF中的字体?

Is it possible, using Adobe Acrobat or another tool, to globally replace a font in a PDF?

我该怎么做?

推荐答案

没有看到您的特定文件,很难说这肯定可以.但是,通常,字体是这样定义的:

Without seeing your particular file it is hard to say that this would definitely work. But, typically a font is defined like this:

/Resources << 
  /Font << /F13 1 0 R >> 
>>

1 0 obj << 
  /Type /Font
  /Subtype /Type1 
  /BaseFont /Helvetica
>> endobj

然后,无论在何处绘制字体,字体资源都将用作/F13 12 Tf.

The font resource is then used as /F13 12 Tf wherever text is drawn with it.

如果要更改定义中的/BaseFont,将影响该字体资源的所有使用.

If you were to change the /BaseFont in the definition, it would affect all uses of that font resource.

这篇关于如何全局替换PDF中的字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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