Pango

本頁使用了標題或全文手工轉換
維基百科,自由的百科全書
Pango
原作者Owen Taylor[1]
Raph Levien
開發者Behdad Esfahbod
首次發布1999年7月11日,​24年前​(1999-07-11[2]
當前版本
  • 1.52.2 (2024年3月31日;穩定版本)[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. ^ Release 1.52.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). 

外部連結