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

外部連結