什么是“字体类型"? 14种标准PDF字体是什么? [英] What "font type" are the 14 standard PDF fonts?

查看:1090
本文介绍了什么是“字体类型"? 14种标准PDF字体是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

pdf 1.7参考提到有14种不需要嵌入的字体.

The pdf 1.7 reference mentions that there are 14 Fonts that do not require embedding.

PDF规定了一组14种标准字体,可以在不使用的情况下使用 事先定义.这些包括三个拉丁文字中的每个的四个面孔 字体(Courier,Helvetica *和Times *)以及两个符号 字体(Symbol和ITC Zapf Dingbats®).这些字体,还是合适的 必须使用具有相同度量的替代字体 在所有PDF消费类应用程序中

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) .

The same reference document additionally enumerates different "font types" defined in PDF (/Subtype being /Type0,/Type1,/Type3,/CIDFontType0,/CIDFontType2,/MMType1,/TrueType).

问题和因此引起这个问题的原因是字体类型对text string data映射到字体的相应glyphs的方式有影响.参考文档将"简单"和"复合"字体大致分类.仅将"复合"字体描述为能够具有多字节字符编码. "简单"字体类型基本上通过单字节1byte = 1glyph进行编码.

The problem, and hence reason for this question, is that the font type, has implications to the way the text string data is mapped to the corresponding glyphs of the font. The reference documents broadly categorizes "simple" and "composite" fonts. Only "composite" fonts are described as being able to have an multi-byte character encoding. The "simple" font types, are basically encoded via single byte 1byte = 1glyph.

因此,真正有趣的是要知道这14种基本/标准字体,据说是简单字体还是可以用作CID键字体? 或简单地说,这14种标准字体是什么字体类型"?

It would be hence really interesteting to know if the 14 base /standard fonts, are supposedly simple fonts, or if they can be used as as CID-keyed fonts? Or plainly, what "font type" are those 14 standard fonts?.

已链接的参考文献列出了以下字体类型

The already linked reference lists the following font types

  • Type0(PDF 1.2)一种复合字体-由后代CIDFont的字形组成的字体(请参见第5.6节复合字体")
  • Type 1 Type1一种字体,它使用Type 1字体技术定义字形形状(请参见第5.5.1节"Type 1字体").
  • MMType1一种多主字体,是Type 1字体的扩展,它允许从字体生成多种字体样式. 单一字体(请参见第416页的多种主要字体")
  • Type 3 Type3一种字体,用于定义带有PDF图形运算符流的字形(请参见第5.5.4节"Type 3字体")
  • TrueType TrueType基于TrueType字体格式的字体(请参见第5.5.2节"TrueType字体")
  • CIDFont CIDFontType0(PDF 1.2)一个CIDFont,其字形描述基于Type 1字体技术(请参见第5.6.3节"CIDFonts")
  • CIDFontType2(PDF 1.2)一个CIDFont,其字形描述基于TrueType字体技术(请参见第5.6.3节"CIDFonts")
  • 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文件可从Adobe免费获得.至于编码:大多数应用程序使用MacRomanEncodingWinAnsiEncoding.

The standard 14 PDF fonts are Type1 fonts. The AFM files needed to get the necessary meta information like glyph width can be obtained freely from Adobe. As for the encoding: Most applications use MacRomanEncoding or WinAnsiEncoding.

这篇关于什么是“字体类型"? 14种标准PDF字体是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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