gpt4 book ai didi

pdf - "font type"14种标准的PDF字体是什么?

转载 作者:行者123 更新时间:2023-12-05 05:09:39 27 4
gpt4 key购买 nike

pdf 1.7 reference提到有 14 种字体不需要嵌入。

PDF prescribes a set of 14 standard fonts that can be used without prior definition. These include four faces each of three Latin text typefaces (Courier, Helvetica*, and Times*), as well as two symbolic fonts (Symbol and ITC Zapf Dingbats ® ). These fonts, or suitable substitute fonts with the same metrics, are required to be available in all PDF consumer applications

同一引用文档另外列举了PDF中定义的不同“字体类型”(/Subtype/Type0,/Type1,/Type3,/CIDFontType0,/CIDFontType2,/MMType1,/TrueType)。

问题是字体类型对 text string data 映射到相应的 glyphs 的方式有影响字体。引用文档大致分为“简单”和“复合”字体。只有“复合”字体被描述为能够具有多字节字符编码。 “简单”字体类型基本上是通过单字节 1byte = 1glyph 编码的。

因此,如果知道 14 种基本/标准字体是否应该是简单字体,或者它们是否可以用作 CID 键控字体,那将是一件非常有趣的事情?或者说白了,那 14 种标准字体是什么“字体类型”?

已链接的引用列出了以下字体类型

  • Type0 (PDF 1.2) A composite font—a font composed of glyphs from a descendant CIDFont (see Section 5.6, “Composite Fonts”)
  • Type 1 Type1 A font that defines glyph shapes using Type 1 font technology (see Section 5.5.1, “Type 1 Fonts”).
  • MMType1 A multiple master font an extension of the Type 1 font that allows the generation of a wide variety of typeface styles from a single font (see “Multiple Master Fonts” on page 416)
  • Type 3 Type3 A font that defines glyphs with streams of PDF graphics operators (see Section 5.5.4, “Type 3 Fonts”)
  • TrueType TrueType A font based on the TrueType font format (see Section 5.5.2, “TrueType Fonts”)
  • CIDFont CIDFontType0 (PDF 1.2) A CIDFont whose glyph descriptions are based on Type 1 font technology (see Section 5.6.3, “CIDFonts”)
  • CIDFontType2 (PDF 1.2) A CIDFont whose glyph descriptions are based on TrueType font technology (see Section 5.6.3, “CIDFonts”)

最佳答案

标准的 14 种 PDF 字体是 Type1 字体。获取必要的元信息(如字形宽度)所需的 AFM 文件可以从 Adob​​e 免费获得。至于编码:大多数应用程序使用MacRomanEncodingWinAnsiEncoding

关于pdf - "font type"14种标准的PDF字体是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57443300/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com