编辑“︁
Pango
”︁(章节)
跳转到导航
跳转到搜索
Template:Editnotice load/content
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
== 对OpenType功能的支持 == [[Image:Pango locl demo.png|thumb|250px|上为默认的渲染效果,下为罗马尼亚文的本地化渲染效果。(使用Verdana)]] Pango 1.17及更新版本支持使用'''locl'''标签允许同一Unicode码点的本地化字符的使用。<!--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: <source lang="bash"> for lang in en ro; do pango-view \ --font="Verdana 64" \ --text "şţ vs. șț in $lang" \ --language=$lang; done </source> For an explanation of the substitutions rules for Romanian, see this [[Romanian alphabet#Comma-below .28.C8.99 and .C8.9B.29 versus cedilla .28.C5.9F and .C5.A3.29|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 [http://library.gnome.org/devel/pango/unstable/PangoMarkupFormat.html Pango markup], e.g.: <source lang="bash"> pango-view \ --font="Verdana 24" \ --markup \ --text 'In the same text: <span lang="en">şţ</span>(en) and <span lang="ro">şţ</span>(ro).' </source> The official showcase of Pango's script-aware features is [http://www.pango.org/ScriptGallery here].--> 从1.37.1版开始,Pango添加了更多属性来提供处理OpenType功能的完整支持。<ref>{{cite web |url = http://ftp.gnome.org/pub/GNOME/sources/pango/1.37/pango-1.37.1.news |title = Overview of changes between 1.37.0 and 1.37.1 |accessdate = 18 August 2015 |archive-date = 2015-12-25 |archive-url = https://web.archive.org/web/20151225010904/http://ftp.gnome.org/pub/GNOME/sources/pango/1.37/pango-1.37.1.news |dead-url = no }}</ref><ref>{{cite web |url = https://bugzilla.gnome.org/show_bug.cgi?id=738505 |title = Bug 738505 - Add fontfeatures support in PangoAttributes and markup |publisher = GNOME Bugzilla |accessdate = 18 August 2015 |archive-date = 2018-11-16 |archive-url = https://web.archive.org/web/20181116152759/https://bugzilla.gnome.org/show_bug.cgi?id=738505 |dead-url = no }}</ref><ref>{{cite web |url = http://tavmjong.free.fr/blog/?p=1442 |title = Font Features Land in Inkscape Trunk |publisher = Tavmjong Bah's Blog |date = 23 June 2015 |accessdate = 18 August 2015 |archive-date = 2015-09-06 |archive-url = https://web.archive.org/web/20150906134647/http://tavmjong.free.fr/blog/?p=1442 |dead-url = no }}</ref>
摘要:
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
页面
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息