Jump to content

Talk:Yongning Temple Stele

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Fonts and templates

[edit]

Regarding "don't use the mongolian template because text needs to be laid out horizontally", is there an equivalent of {{MongolUnicode}} that displays the Mongol text horizontally (as opposed to vertical text), but uses the correct fonts? Because whilst I have proper Mongol fonts installed, I'm seeing things such as [OBJ] and other symbols that don't belong. -- 李博杰  | Talk contribs email 01:32, 17 October 2011 (UTC)[reply]

Well, there ought to be. In my opinion the MongolUnicode template should have an option to layout horizontally or vertically, as there are cases like this where vertical layout would look bad. BabelStone (talk) 07:15, 17 October 2011 (UTC)[reply]
Well, I'm guessing within the template, the <span style="layout-flow:vertical-ideographic;writing-mode:vertical-lr and vertical-align:top; parts are responsible for vertical display. Now, I'm not familiar with tinkering too much into templates, but I think that it would be good to have an option to write {{MongolUnicode|Sample text|vertical=no}} or something to have the text displayed horizontal, whilst having the template display vertically by default. I guess this is something that could be brought up at a noticeboard or something. -- 李博杰  | Talk contribs email 11:31, 17 October 2011 (UTC)[reply]
Done ... add param 'h' after the Mongolian text to not layout vertically (see Template:MongolUnicode/doc). Seems to work OK on Windows 7 with IE9. BabelStone (talk) 19:33, 17 October 2011 (UTC)[reply]
Good job, thanks for that. I'm sure there's plenty of other places that need horizontal text with the proper fonts too. -- 李博杰  | Talk contribs email 06:44, 18 October 2011 (UTC)[reply]