Mongolian Free Font. The Mongolian Font The Mongolian is the script used by Mongolain Peoples from 13th Century. It is actually an alphabetic script, but the.
How do you make vertical (with left-to-right line wrapping) Mongolian script TextViews for Android apps? Background Android has fairly good support for many of the world's languages, even RTL languages like Arabic and Hebrew.
However, there is no built in support for top-to-bottom languages like (which is still very much alive in Inner Mongolia and not to be confused with ). The following graphic shows the text direction with English added for clarity. Since this functionality is not built into Android, it makes almost every single aspect of app development extremely difficult. There is also very, very little information available online. (One of the does not even have a good answer.) There are a number of app developers for traditional Mongolian, but whether it is for commercial reasons or otherwise, they do not seem to make their code open source. Because of these difficulties I would like to make a series of StackOverflow questions that can serve as a central place to collect answers for some of the more difficult programming problems related to traditional Mongolian app development. Even if you are not literate in Mongolian, your help reviewing the code, making comments and questions, giving answers or even up-voting the question would be appreciated.
Mongolian Vertical TextView A Mongolian TextView needs to have the following requirements:. Supports a traditional Mongolian font.
![Fonts Fonts](http://www.typophile.com/sites/default/files/old-images/mongcurs_6700.jpg)
Displays text vertically from top to bottom. Line wrapping goes from left to right.
Line breaks occur at a space (same as English) (Having the TextView support the Mongolian font is not an absolute requirement since the TypeFace can be set later, but it is a convenience when many TextViews are being used.) My answer is below but I welcome other ways of solving this problem. Other related questions in this series:. More to come. (Toast, Dialog, Menu) iOS:.
ᠣᠢᠷᠠ ᠵᠢᠨ ᠡᠳᠦᠷ᠂ ᠦᠪᠦᠷ ᠮᠣᠩᠭᠣᠯ ᠦᠨ ᠰᠢᠯᠢ ᠵᠢᠨ ᠭᠣᠣᠯ ᠠᠢᠮᠠᠭ ᠦᠨ ᠰᠢᠯᠣᠭᠣᠨ ᠬᠦᠬᠡ ᠬᠣᠰᠢᠭᠣᠨ ᠦ ᠰᠢᠭᠦᠬᠦ ᠬᠣᠷᠢᠶᠠ ᠨᠢᠭᠡᠨ ᠬᠦᠴᠦᠷᠬᠡᠭᠯᠡᠨ ᠨᠦᠵᠢᠳᠯᠡᠭᠰᠡᠨ ᠶᠠᠯᠠᠲᠣ ᠬᠡᠷᠡᠭ ᠲᠦ ᠰᠢᠭᠦᠯᠲᠡ ᠬᠢᠪᠡ᠃ The result is a container (here with pink background) that floats to the right and expands to accommodate texts of varying lengths. This particular layout works fine for placing short snippets of Mongolian text in a box. HTML Mongolian text For more complex layouts in a fully Mongolian-language page, the reader is advised to refer to Mongolian-language sites on the Internet. A collection of links to such sites can be found. Many of them are based on other rendering systems, but the layout principles should be the same. When putting Mongolian traditional font in tables, try to avoid putting the class (bichig, bichigw, etc.) on the tag as it could result in the text rendering horizontally.
Always try with one font first before going on to add others. It is easier to find problems if you are only dealing with one font. It's important to test with various browsers and systems since behaviour can be different. Some pages where I have included Mongolian traditional font on my websites are:. Individual pages in. Not all of these pages consistently use the same method. The method I outline above is the one that seems safest following the many difficulties I've experienced.
Troubleshooting Troubleshooting is tedious. Whatever you do, try to keep it simple. This will help when you need to troubleshoot. Some problems you may encounter include: 1.
Check whether the fonts you require have all been placed in the right folder, both locally and on your host server. If some are missing, problems will occur. Check that you have linked to all necessary style sheets in the header of your web page. If you are making modifications to a live file on the host server, do not trust the browser refresh function.
Some browsers will keep the original css sheet settings no matter how many times you refresh the page. Try a different browser. Try your site on as many different systems and browsers as you can. Sometimes the problem is with the browser, not with your site.
If you do put Mongolian Traditional Script on your site, let me know and I will link to you if have any substantial content!