Pango

本页使用了标题或全文手工转换,现处于中国大陆简体模式
求闻百科,共笔求闻
Pango
原作者Owen Taylor[1]
Raph Levien
开发者Behdad Esfahbod
首次发布1999年7月11日,​24年前​(1999-07-11[2]
稳定版本1.48.10(2021年9月11日,​2年前​(2021-09-11[±][3]
编程语言C语言
操作系统类Unix系统Microsoft Windows及其他
类型文字渲染
许可协议LGPL

PangoΠαν語)是一个开放源代码自由文本布局库,通过使用HarfBuzz文本塑形库渲染多语种的文字。[4]全功能文本渲染和跨平台支持在Pango与各平台的API或诸如UniscribeFreeType作为文本渲染后端的第三方库使用时呈现。Pango处理的文本会表现出在不同平台之下运行时的相近效果。

Pango是一种特定用途的文本函数库,而不是像同样能被Pango所用的通用图形渲染库Cairo只具备最简单的文本渲染。实际上Cairo技术文档推荐使用Pango来渲染文本。

Pango的名称出自希腊语παν”(pan,所有)和日语”(go语言)。[5]

应用

Pango已经被集成到多数Linux发行版中,并在Fedora Core 6被用于Firefox网页浏览器和Thunderbird邮件客户端的文字渲染。虽然在Mozilla的源代码里并没有包含Pango,但Fedora Core得到了Mozilla基金会的特别许可[6]。同样,Debian的Iceweasel、IceDove和IceApe也使用了Pango。

对OpenType功能的支持

上为默认的渲染效果,下为罗马尼亚文的本地化渲染效果。(使用Verdana)

Pango 1.17及更新版本支持使用locl标签允许同一Unicode码点的本地化字符的使用。

从1.37.1版开始,Pango添加了更多属性来提供处理OpenType功能的完整支持。[7][8][9]

历史

2000年1月,GScript和GnomeText计划合并后命名为Pango。[10][11][12][13][14][15]

Pango 1.0.0 版于2002年3月11日发布。[16][17]

参见

参考文献

  1. Interview: Red Hat's Owen Taylor on GTK+ , also known for his contributions on Pango., by Eugenia Loli, 19th Dec 2003
  2. Pango , Made version 0.2, Owen Taylor, redhat.com
  3. Tags - GNOME / pango. [2021-09-11]. 
  4. Pango website. [2011-07-07]. 
  5. The Pango connection: Part 1. [2011-07-07]. 
  6. Fedora Project. "Fedora Core 6 Release Notes". [2008-03-07] (英语). 
  7. Overview of changes between 1.37.0 and 1.37.1. [2015-08-18]. 
  8. Bug 738505 - Add fontfeatures support in PangoAttributes and markup. GNOME Bugzilla. [2015-08-18]. 
  9. Font Features Land in Inkscape Trunk. Tavmjong Bah's Blog. 2015-06-23 [2015-08-18]. 
  10. Pango - Status - 14 January 2000 , Owen Taylor, Redhat
  11. GNOMEs in Paris: A Report from GUADEC , The most impressive part of their presentation was the discussion on Pango (the result of the GScript and GnomeText merger), 2000/03/21, By Chuck Toporek - O'Reilly Media
  12. Pango proposal, rev 0.1 , Raph Levien, 28 July 1999
  13. GScript - Unicode and Complex Text Processing, The GScript project has been merged with the GnomeText project. For information about the result, named Pango, see: http://www.pango.org If you have trouble accessing that site, there is a mirror here. By Owen Taylor
  14. Gnome-Text API documentation , Raph Levien, 10 Jul 1999, Owen Taylor is working on gscript, which has some overlap with the functions described in this interface. We're working on unifying the two api's as much as possible.
  15. Abdin, Ali. GNOME Developer's Interview Follow-up. beast.testbit.eu. 27 December ???? [2015-10-17].  Pango (which is the code name for a merger of my Gscript project and Raph Levien's GnomeText project) is a modular set of libraries for doing layout and rendering of international text. It's a bit similar to Microsoft's Uniscript or Apple's ATSUI.
  16. 存档副本. [2015-10-17]. , Pango 1.0.0 released
  17. GTK+ user interface libraries, version 2.0. [2015-10-17]. 

外部链接