Content deleted Content added
→Under the hood: too much trouble to copy the template source code every time it's modified |
BabelStone (talk | contribs) Added explanatory note about glyph mirroring in rtl mode, which only works with font support (rtlm OT feature) in Chrome and Firefox browsers |
||
Line 36:
=== RTL example ===
In order to display runic text with right-to-left directionality add an "rtl" parameter '''after''' the runic script:
{{tlx|script|Runr|ᚠᚢᚦᚨᚱᚲ|rtl}}
Result is that the runic script should display reading from right
: {{script|Runr|ᚠᚢᚦᚨᚱᚲ|rtl}}
Note that runic letters should be mirrored in right-to-left (RTL) layout, but glyph mirroring is done at the font level using OpenType technology (''rtlm'' feature), and very few fonts support glyph mirroring in RTL contexts. Even if using a runic font that supports mirrored glyphs in RTL contexts, some browsers (e.g. IE and Edge) do not apply the ''rtlm'' feature so mirroring does not happen in RTL text. With fonts that support the ''rtlm'' feature, runic text is correctly displayed with mirrored glyphs in RTL layout in the latest versions of the Firefox and Chrome browsers (see [http://www.babelstone.co.uk/Fonts/AngloSaxon.html#Mirroring here] for details).
==See also==
|