0

我正在为 CFF(PostScript Type 2)字体编写转换器,我想知道转换器可以删除哪些字段而不会在 PDF 文件中使用该字体时产生任何视觉差异。

我认为可以删除或更改这些字段:

  • /FontName
  • /PostScript.FSType
  • /PostScript.OrigFontType
  • /PostScript.OrigFontName
  • /PostScript.OrigFontStyle
  • /FontInfo.version
  • /FontInfo.Notice
  • /FontInfo.Copyright
  • /FontInfo.FullName
  • /FontInfo.FamilyName
  • /FontInfo.Weight
  • /FontInfo.isFixedPitch
  • /UniqueID
  • /XUID

我认为必须保留这些字段,因为它们会影响渲染:

  • /StrokeWidth
  • /PaintType
  • /CharstringType
  • /FontMatrix
  • /Encoding
  • /CharStrings
  • /Private.BlueValues
  • /Private.OtherBlues
  • /Private.FamilyBlues
  • /Private.FamilyOtherBlues
  • /Private.BlueScale
  • /Private.BlueShift
  • /Private.BlueFuzz
  • /Private.StdHW
  • /Private.StdVW
  • /Private.StemSnapH
  • /Private.StemSnapV
  • /Private.Subrs
  • /Private.GlobalSubrs
  • /Private.defaultWidthX
  • /Private.nominalWidthX

我不确定这些字段:

  • /FontInfo.ItalicAngle
  • /FontInfo.UnderlinePosition
  • /FontInfo.UnderlineThickness
  • /FontBBox
  • /BaseFontName
  • /BaseFontBlend
  • /Private.ForceBold
  • /Private.LanguageGroup
  • /Private.ExpansionFactor
  • /Private.initialRandomSeed
  • /Private.unknown12015

那么,当在 PDF 文件中使用字体时,上面的哪些字段会,哪些不会在渲染中产生视觉差异?

4

0 回答 0