Загвар:MongolUnicode/doc
Харагдац
Usage
[кодоор засварлах]- 1st parameter is the Mongolian (Todo, Manchu, Sibe) text to display
- 2nd parameter is optional; if it is 'h' then the text is laid out horizontally; if it is any other value (e.g. 'v'), or if it is omitted then the text is laid out vertically (if the browser supports vertical layout)
- lang parameter: defines the language of the text, e.g. mn for Mongolian, mnc for Manchu, and sjo for Sibe; also used for switching font families by language
- style parameter: defines extra style of the text area, e.g. height:50px; limits the height as 50px, if the length of text is over than 50px, the rest of contents will align at the next column(s).
Examples
[кодоор засварлах]{{MongolUnicode|ᠮᠣᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ}}
produces: ᠮᠣᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ{{MongolUnicode|ᠮᠣᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ|v}}
produces: ᠮᠣᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ{{MongolUnicode|ᠮᠣᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ|h}}
produces: ᠮᠣᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ{{MongolUnicode|ᠮᠣᠩᠭᠣᠯ<br/>ᠪᠢᠴᠢᠭ|v}}
produces: ᠮᠣᠩᠭᠣᠯ
ᠪᠢᠴᠢᠭ
Issues
[кодоор засварлах]Currently only Internet Explorer 8 and above, Edge, Firefox 41 and above, and Webkit browsers (Chrome, Safari, Opera 15.0+, Android native browser) support rendering the text in top-to-bottom, left-to-right format. Other browsers will render the text as left-to-right, top-to-bottom. See also:
- http://dev.w3.org/csswg/css3-writing-modes/
- https://bugzilla.mozilla.org/show_bug.cgi?id=145503
- https://developer.mozilla.org/en-US/docs/Web/CSS/writing-mode
For users of Firefox version 38.0–40.0 and Firefox 38 ESR based browsers, you need to open the about:config
page, and set layout.css.vertical-text.enabled
as true
to enable it.
For MediaWiki issues regardring this: bugzilla:9436
Non-Font
[кодоор засварлах]When Daicing font set to be the EUDC,
- ZERO WIDTH JOINER at the head-place does not work.
- NIRUGU does not work.
- NARROW NO-BREAK SPACE deos not work.
Font issues
[кодоор засварлах]- MB=Founder's Mongolian Baiti, is a font for Hudum, Todo, Manchu and Sibe;
- MU=Monotype Drawing Office's Mongol Usug, is a font for Hudum and Todo;
- MS=Myatav Erdenechimeg's MongolianScript, is a font for Hudum only;
- DW=Daicing White, also known as Abkai Xanyan, is a font for Manchu, Sibe and Daur.
- MB 5.00 does not match Unicode Standard, please upgrade it to MB 5.01 (KB929763);
- Under certain situations ᠶ is incorrectly rendered as ᠢ or ᠵ in MB 5.01 and MU 2.37;
- ᡓ is incorrectly rendered as ᠴ in MU 2.37;
- MB 5.01 does not render ᡯᡳ correctly (we may use ᡯᡳ᠌ instead in MB).