翻訳と辞書
Words near each other
・ "O" Is for Outlaw
・ "O"-Jung.Ban.Hap.
・ "Ode-to-Napoleon" hexachord
・ "Oh Yeah!" Live
・ "Our Contemporary" regional art exhibition (Leningrad, 1975)
・ "P" Is for Peril
・ "Pimpernel" Smith
・ "Polish death camp" controversy
・ "Pro knigi" ("About books")
・ "Prosopa" Greek Television Awards
・ "Pussy Cats" Starring the Walkmen
・ "Q" Is for Quarry
・ "R" Is for Ricochet
・ "R" The King (2016 film)
・ "Rags" Ragland
・ ! (album)
・ ! (disambiguation)
・ !!
・ !!!
・ !!! (album)
・ !!Destroy-Oh-Boy!!
・ !Action Pact!
・ !Arriba! La Pachanga
・ !Hero
・ !Hero (album)
・ !Kung language
・ !Oka Tokat
・ !PAUS3
・ !T.O.O.H.!
・ !Women Art Revolution


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

pango : ウィキペディア英語版
pango

Pango (stylized as Παν語) is a text layout engine library which works with HarfBuzz shaping engine for displaying multi-language text.〔(【引用サイトリンク】title = Pango website )〕 Full-function rendering of text and cross-platform support is had when Pango is used with platform APIs or 3rd 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. Indeed, the Cairo documentation recommends Pango be used to "render" text rather than Cairo for all but the simplest text "rendering".〔(【引用サイトリンク】title=Cairo: A Vector Graphics Library: text )
The name pango comes from Greek ''pan'' (παν, "all") and Japanese ''go'' (語, "language").
== Support for OpenType features ==

Pango 1.17 and newer support the locl feature tag that allows alternate 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 şţ(ro).'

The official showcase of Pango's script-aware features is (here ).
Since 1.37.1, Pango added more attributes to provide completely support for processing OpenType feature.〔(【引用サイトリンク】title = Overview of changes between 1.37.0 and 1.37.1 )〕〔(【引用サイトリンク】title = Bug 738505 - Add fontfeatures support in PangoAttributes and markup )

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「pango」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.