southeast-asian-languages

Can I use CSS “unicode-range” to specify a font across an entire (third party) page?

核能气质少年 提交于 2020-12-25 04:45:26
问题 I've never become fluent with CSS but I don't think I had this situation before. I'm thinking of using stylish to add CSS to a third-party site over which I have no direct control. So the HTML and CSS is not really set up for the kind of customizations I want to do. The site I wish to tweak doesn't allow good control over fonts but some of its pages (user created) make a lot of use of some exotic Unicode ranges (eg. Khmer) that my OS/browser combination choose a terrible font for: Can I make

A Viable Solution for Word Splitting Khmer?

狂风中的少年 提交于 2019-12-30 03:55:13
问题 I am working on a solution to split long lines of Khmer (the Cambodian language) into individual words (in UTF-8). Khmer does not use spaces between words. There are a few solutions out there, but they are far from adequate (here and here), and those projects have fallen by the wayside. Here is a sample line of Khmer that needs to be split (they can be longer than this): ចូរសរសើរដល់ទ្រង់ដែលទ្រង់បានប្រទានការទាំងអស់នោះមកដល់រូបអ្នកដោយព្រោះអង្គព្រះយេស៊ូវ

Alternative web-font to render Khmer

纵然是瞬间 提交于 2019-12-29 02:07:31
问题 What is web-fonts (preferably available from Google Fonts) supports Khmer UI. I have tried to define font-family:khmer ui; but it does not render even though I have the font installed on my computer. 回答1: Khmer (Cambodian) is pretty poorly supported but there is a convenient option which is as simple as Google Web Fonts. There is in fact a Google Web Font that works.. see jsFiddle Google has a little known resource called Early Access fonts which is accessible from the "More scripts"

Split string with split_part in Asian language

徘徊边缘 提交于 2019-12-24 11:37:16
问题 I have a column with Asian addresses. I want to extract the substring until the first whitespace. However, this does not work here. My suspicion is that it has to do with the Asian language, but I do not why nor how to deal with this issue. That's the code: select address, split_part(address, ' ', 1) from asian Exemplary output (no splitting has happened!). As you can see there are spaces. address "千葉県富津市新富20−1 新日本製鐵株式会社 技術開発本部内" split_part "千葉県富津市新富20−1 新日本製鐵株式会社 技術開発本部内" 回答1: you can hack

Khmer Unicode in iText

こ雲淡風輕ζ 提交于 2019-12-22 17:38:37
问题 I'm very new in iText. Now I want to display Khmer Unicode in iText, but I can't do it. Does any one know how to do it? Please advise me. Regards, LeeJava 回答1: According to you, the owner of the question in another post, iText is not support Khmer Unicode . I made summarize on this again as well on my blog: http://ask.osify.com/qa/287 Only we have to modify the source code of iText but until now no one claim that they will work on it so iText is not the right choice for us with Khmer Unicode

Khmer Unicode in iText

ぐ巨炮叔叔 提交于 2019-12-22 17:38:31
问题 I'm very new in iText. Now I want to display Khmer Unicode in iText, but I can't do it. Does any one know how to do it? Please advise me. Regards, LeeJava 回答1: According to you, the owner of the question in another post, iText is not support Khmer Unicode . I made summarize on this again as well on my blog: http://ask.osify.com/qa/287 Only we have to modify the source code of iText but until now no one claim that they will work on it so iText is not the right choice for us with Khmer Unicode

Khmer Unicode in iText

自作多情 提交于 2019-12-06 09:54:48
I'm very new in iText. Now I want to display Khmer Unicode in iText, but I can't do it. Does any one know how to do it? Please advise me. Regards, LeeJava According to you, the owner of the question in another post, iText is not support Khmer Unicode . I made summarize on this again as well on my blog: http://ask.osify.com/qa/287 Only we have to modify the source code of iText but until now no one claim that they will work on it so iText is not the right choice for us with Khmer Unicode yet until the source modify. Another alternative solution, we have to use Openoffice doc with JODConverter,

A Viable Solution for Word Splitting Khmer?

冷暖自知 提交于 2019-11-30 11:25:48
I am working on a solution to split long lines of Khmer (the Cambodian language) into individual words (in UTF-8). Khmer does not use spaces between words. There are a few solutions out there, but they are far from adequate ( here and here ), and those projects have fallen by the wayside. Here is a sample line of Khmer that needs to be split (they can be longer than this): ចូរសរសើរដល់ទ្រង់ដែលទ្រង់បានប្រទានការទាំងអស់នោះមកដល់រូបអ្នកដោយព្រោះអង្គព្រះយេស៊ូវ ហើយដែលអ្នកមិនអាចរកការទាំងអស់នោះដោយសារការប្រព្រឹត្តរបស់អ្នកឡើយ។ The goal of creating a viable solution that splits Khmer words is twofold: it

how to export Vietnamese text to PDF using iText

£可爱£侵袭症+ 提交于 2019-11-27 16:19:31
I'm facing a problem when trying to export a Vietnamese document as PDF using iText. I put Vietnamese words in .xml file like this <td fontfamily="Helvetica" fontstyle="0" fontsize="9" align="0" colspan="48" lineoccupied="1">T\u1ED5 ch\u1EE9c tham gia</td> then having java to get the phrases from xml file and convert it into Unicode using this method: public String convertToUnicode(String s) { int i = 0, len = s.length(); char c; StringBuffer sb = new StringBuffer(len); try { while (i < len) { c = s.charAt(i++); if (c == '\\') { if (i < len) { c = s.charAt(i++); if (c == 'u') { if (Character

how to export Vietnamese text to PDF using iText

早过忘川 提交于 2019-11-26 18:36:36
问题 I'm facing a problem when trying to export a Vietnamese document as PDF using iText. I put Vietnamese words in .xml file like this <td fontfamily="Helvetica" fontstyle="0" fontsize="9" align="0" colspan="48" lineoccupied="1">T\u1ED5 ch\u1EE9c tham gia</td> then having java to get the phrases from xml file and convert it into Unicode using this method: public String convertToUnicode(String s) { int i = 0, len = s.length(); char c; StringBuffer sb = new StringBuffer(len); try { while (i < len)