Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2026267
  • 博文数量: 414
  • 博客积分: 10312
  • 博客等级: 上将
  • 技术积分: 4921
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-31 01:49
文章分类

全部博文(414)

文章存档

2011年(1)

2010年(29)

2009年(82)

2008年(301)

2007年(1)

分类: LINUX

2008-06-24 11:07:13

     Pango is a library for laying out and rendering of text, with an emphasis on internationalization. Pango can be used anywhere that text layout is needed, though most of the work on Pango so far has been done in the context of the GTK+ widget toolkit. Pango forms the core of text and font handling for GTK+-2.x.

    Pango is designed to be modular; the core Pango layout engine can be used with different font backends. There are three basic backends, with multiple options for rendering(翻译, 表现)with each.

  • Client side fonts using the FreeType and fontconfig libraries. Rendering can be with with Cairo or Xft libraries, or directly to an in-memory buffer with no additional libraries.

  • Native fonts on Microsoft Windows using Uniscribe for complex-text handling. Rendering can be done via Cairo or directly using the native Win32 API.
  • Native fonts on MacOS X using ATSUI for complex-text handling, rendering via Cairo.

   The integration(综合, 与环境协调的行为, 集成)of Pango with Cairo () provides a complete solution with high quality text handling and graphics rendering.

    Dynamically loaded modules then handle text layout for particular combinations of script and font backend. Pango ships with a wide selection of modules, including modules for Hebrew, Arabic, Hangul, Thai, and a number of Indic scripts. Virtually all of the world's major scripts are supported.

    As well as the low level layout rendering routines, Pango includes PangoLayout, a high level driver for laying out entire blocks of text, and routines to assist in editing internationalized text.

    Pango depends on 2.x series of the GLib library; more information about GLib can be found at .


附:

    Pango是国际化文本处理库。它围绕使用段落表达文本的 PangoLayout 对象。Pango 为 GtkTextView,GtkLabel, GtkEntry,以及其他 需要显示文本的 GTK+ 元件 提供文本处理引擎。

    下载pango的软件包  

    下载cario软件包  

    下载pixman    

    下载pycairo软件包

阅读(2138) | 评论(0) | 转发(0) |
0

上一篇:PERL splice函数的用法

下一篇:2008--2--A--t1

给主人留下些什么吧!~~