为什么在几乎相同的文件的大小差别很大 [英] Why so big difference in sizes of almost identical documents
本文介绍了为什么在几乎相同的文件的大小差别很大的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
第一个
Verdana(嵌入子集)
类型:TrueType
编码:自定义
第二个
Verdana
类型:TrueType
编码:自定义
实际字体:Verdana
实际字体类型:TrueType
如何处理嵌入的子集?
解决方案
这是一个老问题,但我有一个类似的问题。
您是否设置libharu来压缩您的PDF?
$ C ++中的b$ b
,来自文档
HPDF_SetCompressionMode(pdf,HPDF_COMP_ALL);
Have two pdfs, first created with libharu and second created with PDF::API2. If not mention to coordinates then content is the same. But first pdf oversize second by four times. Only one distinction what i found that is type of fonts embedding showed in document properties fonts tab.
In first
Verdana (Embedded Subset)
Type: TrueType
Encoding: Custom
In second
Verdana
Type: TrueType
Encoding: Custom
Actual Font: Verdana
Actual font Type: TrueType
How to deal with that embedded subset?
解决方案
this is an old question but I had a similar issue.
Did you set libharu to compress your pdf?
in C++, from the documentation
HPDF_SetCompressionMode (pdf, HPDF_COMP_ALL);
这篇关于为什么在几乎相同的文件的大小差别很大的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文