GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||
GeezerVison is showing en.wikipedia.org — Pango - Wikipedia For other uses, see Pango (disambiguation).
Pango (stylized as Παν語) is a text (i.e. glyph) layout engine library which works with the HarfBuzz shaping engine for displaying multi-language text.[4] Full-function rendering of text and cross-platform support is achieved when Pango is used with platform APIs or third-party libraries, such as Uniscribe and FreeType, as text rendering backends. Pango-processed text will appear similar under different operating systems. Pango is a special-purpose library for text and not a general-purpose graphics rendering library such as Cairo, with which Pango can be used. The Cairo documentation recommends Pango be used to "render" text rather than Cairo for all but the simplest text "rendering".[5] History and namingThe name pango comes from Greek pan (παν, 'all') and Japanese go (語, 'language').[6] In January 2000, the merger of the GScript and GnomeText projects was named Pango.[7][8][9][10][11][12] Support for OpenType featuresPango 1.17 and newer support the 'locl' feature tag that allows localized glyphs to be used for the same Unicode code point. Assuming you have Verdana version 5.01 installed, which supports the 'locl' feature for the latn/ROM (Romanian) script, a quick demonstration (on Linux) is: for lang in en ro do pango-view \ --font="Verdana 64" \ --text "şţ vs. șț in $lang" \ --language=$lang done For an explanation of the substitutions rules for Romanian, see this discussion. Setting the locale via the POSIX environment variable, e.g. LANG=ro_RO.UTF-8 will also cause Pango to use 'locl' font feature. Finally, you can change the language on the fly in the same text using Pango markup, e.g.: pango-view \ --font="Verdana 24" \ --markup \ --text 'In the same text: şţ(en) and <span lang="ro">şţ(ro).</span>' Since 1.37.1, Pango added more attributes to provide complete support for processing OpenType feature.[15][16][17] Major usersPango has been integrated into most Linux distributions. The GTK UI toolkit uses Pango for all of its text rendering.[18] The Linux versions of the Mozilla Firefox web browser and Mozilla Thunderbird mail client use Pango for text rendering.[19] See also
References
External links
Retrieved from "https://en.wikipedia.org/w/index.php?title=Pango&oldid=1372802875" Hidden categories:
| ||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. | ||||||||||||||||||||||||||||