CharClass as char-set CharMap - Printable Version +- Curl Global Community (https://communities.curl.com) +-- Forum: Blogs (https://communities.curl.com/forumdisplay.php?fid=17) +--- Forum: Tech blog (https://communities.curl.com/forumdisplay.php?fid=18) +---- Forum: Robert blog (https://communities.curl.com/forumdisplay.php?fid=20) +---- Thread: CharClass as char-set CharMap (/showthread.php?tid=510) |
CharClass as char-set CharMap - RobertShiplett - 05-29-2012 Over at http://www.aule-browser.com/kanji/kana-charts.html the Punctuation view required {let upunct3:CharClass = {CharClass '\u2329', '\u232A', '\u226A', '\u226B' } } for later testing using elseif {upunct3.member? val.upunc} then set fontFamily="DejaVu Sans" This proved essential because to display all punctuation listed at ja.wikipedia.org/wiki/括弧 required 3 different font families on my Windows XP (using the local font test player at www.fileformat.info to "play" individual characters "by local installed font".) The final font families as "first choice" were
{let upunct:CharClass={CharClass '\u27E8','\u27E9','\u27EA','\u27EB','\u0000','\u0001'}} {let upunct2:CharClass = {CharClass '\uFF5F', '\uFF60' } } {let upunct3:CharClass = {CharClass '\u2329', '\u232A', '\u226A', '\u226B' } } You can see the result here: http://lcurlr.blogspot.ca/2012/05/japanese-punctuation-unicode.html |