Pango

本页使用了标题或全文手工转换
维基百科,自由的百科全书
Pango
原作者Owen Taylor[1]
Raph Levien
開發者Behdad Esfahbod
首次发布1999年7月11日,​24年前​(1999-07-11[2]
当前版本
  • 1.51.2 (2024年2月10日;穩定版本)[3]
編輯維基數據鏈接
源代码库 編輯維基數據鏈接
编程语言C语言
操作系统类Unix系统Microsoft Windows及其他
类型文字渲染
许可协议LGPL
网站pango.gnome.org/ 编辑维基数据

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. ^ Tag 1.51.2. 
  4. ^ Pango website. [7 July 2011]. (原始内容存档于2008-01-07). 
  5. ^ The Pango connection: Part 1. [7 July 2011]. (原始内容存档于2009年6月27日). 
  6. ^ Fedora Project. "Fedora Core 6 Release Notes". [2008-03-07]. (原始内容存档于2008-03-12) (英语). 
  7. ^ Overview of changes between 1.37.0 and 1.37.1. [18 August 2015]. (原始内容存档于2015-12-25). 
  8. ^ Bug 738505 - Add fontfeatures support in PangoAttributes and markup. GNOME Bugzilla. [18 August 2015]. (原始内容存档于2018-11-16). 
  9. ^ Font Features Land in Inkscape Trunk. Tavmjong Bah's Blog. 23 June 2015 [18 August 2015]. (原始内容存档于2015-09-06). 
  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]. (原始内容存档于2013-06-02).  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]. (原始内容存档于2002-04-02). , Pango 1.0.0 released
  17. ^ GTK+ user interface libraries, version 2.0. [2015-10-17]. (原始内容存档于2014-12-20). 

外部連結