Help:Extension:WebFonts/ja

これは、Web フォント機能についての利用者ドキュメントです. WebFonts 拡張機能についての技術文書も利用できます.

Many scripts for languages do not have proper fonts easily available. This may be because the operating systems does not have the fonts installed and the user does not know how to install them, or because the user is reading the wiki from a shared computer without the needed fonts installed. Because of all these reasons, providing the content in certain languages is facing issues. Web fonts solves this by embedding the fonts in wiki pages. The fonts are downloaded automatically so that the reading experience is complete and the reader doesn't see gibberish, questions marks or squares instead of letters.

Usage


When the extension is installed and enabled, along with the login, preferences link in the wiki page, a menu will appear to select a font for the page. By default, the first font in that menu will be applied to the wiki. A user can change the font and it will be remembered across the pages. Optionally user can disable the font embedding too, this choice will also remembered across pages, even for next visits, for 30 days. The menu will not appear if there is no text in the page in a language WebFonts extension supports.

If the font is available in user's local system, font will not be downloaded from the MediaWiki server. It will be taken from the user's computer. Otherwise, the font will be downloaded from the server the first time it is needed. Next time onwards, the font will be taken from the local cache.

Disable web fonts
To disable WebFonts when you are not logged in: open the WebFonts menu and choose the bottom option "" (see screenshot). This disables the functionality using a cookie for 30 days. Cached font files may remain rendered for "font-family" styles.

To disable WebFonts when you are logged in: "" ""  Uncheck option ""  Click "" to save your settings.

対応している文字体系、言語、フォントの一覧
There is web fonts support for many scripts. Below you can find an exhaustive list of all scripts that are currently supported and the languages they are active for by default.

アラビア文字体系

 * Iranian Sans

アッサム文字体系およびベンガル文字体系
対応言語：ベンガル語(bn)、アッサム語(as)、Bishnupriya マニプリ語(bpy)


 * Lohit Bengali（既定）
 * Lohit Assamese

デバナーガリ文字体系
対応言語：ヒンディー語(hi)、マラーティー語(mr)、マイティリー語(mai)、ボジュプリー語(bh、bho)、ゴア・コンカン語(gom)、Ahirani(ahr)


 * Lohit Devanagari
 * Samyak Devanagari（レンダリングの問題のためメニューでは利用できません）
 * Madan（レンダリングの問題のためメニューでは利用できません）

エチオピア（ギーズ）文字体系
対応言語：アムハラ語(am)、ティグリニャ語 (ti)


 * AbyssinicaSIL

グジャラート文字体系

 * Lohit Gujarati
 * Samyak Gujarati

グルームキー文字体系

 * Lohit Punjabi
 * Saab

ヘブライ文字体系

 * Miriam CLM
 * Taamey Frank CLM

クメール文字体系
対応言語：クメール語(km)


 * KhmerOSbattambang
 * KhmerOSbokor
 * KhmerOSfreehand
 * KhmerOSmuol
 * KhmerOSmuollight
 * KhmerOSmuolpali
 * KhmerOSsiemreap

カンナダ文字体系
対応言語：カンナダ語(kn)、トゥル語(tcy)
 * Lohit Kannada
 * Kedage

ラテン文字体系

 * Charis SIL – 中国語の閩東語に対応
 * Perizia
 * RufScript
 * Ubuntu – Ubuntu が作成したフォント

マラヤラム文字体系

 * AnjaliOldLipi
 * Meera
 * RaghuMalayalam

ミャンマー（ビルマ）文字体系

 * Masterpiece Uni Sans
 * Myanmar3
 * Padauk-Regular
 * Yunghkio

オリヤ文字体系

 * Lohit Oriya
 * Utkal

サウラシュトラ文字体系

 * Pagul

タミル文字体系

 * Lohit Tamil
 * Thendral
 * Thenee

テルグ文字体系

 * Lohit Telugu
 * Pothana2000
 * Vemana2000

Advanced use
There are two ways in wiki text to trigger web fonts functionality. Text can be tagged with a language code and with a specific font style. When language tagging is used, the default web font for that language will be used. Language tagging is necessary when the language is different from the language of a page. Language tagging is encouraged, because it will also lead to improved search engine results, spell-checking, speech synthesis, speech recognition, etc.

To mark a paragraph of text as Hindi and load the default web font for it:

To mark a paragraph of text as Hindi and load the non-standard web font "Samyak Devanagari" for it:

制限と既知の問題
Even if a browser supports web fonts, there is no guarantee that it can render the text correctly. This is often a problem for example in Indic scripts, where the glyphs are not just placed one after another without any changes, like in Latin and Cyrillic scripts. The correct rendering and rendering quality also depend on the browser and the operating system that is used. Modern web browsers and operating systems like recent Linux desktop distributions, Mac OS X and Windows 7 perform pretty well, but older web browsers (like Internet Explorer 6) and operating systems like Windows XP may provide a sub-optimal user experience.

Because of the flash of unstyled text (FOUT) that happens on first load, this technology gets unpractical if the font files grow very big. This currently prevents adding fonts for Chinese for example. The WebFonts extension does not support partial font downloading, where only those glyphs that are used in the page would be loaded.

Web fonts are currently not supported for Internet Explorer 6 on any Windows version or Internet Explorer 8 on Windows XP because of known issues.

既知の問題の一覧は MediaWiki バグ追跡にあります.

新しい文字体系、言語、翻訳
Only free fonts can be used for web fonts. The font license must allow redistributing the font and converting it to another formats. SIL Open Font License is preferred. Bugs or bad rendering caused by missing hinting information in the font may prevent using a font as a web font. If you are aware of a suitable font, please request it to be added in the the bug tracker.

問題点はすべて、バグ追跡と、translatewiki.net のこの機能を翻訳に報告してください.