Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CharClass as char-set CharMap
05-29-2012, 09:07 PM, (This post was last modified: 05-29-2012, 09:48 PM by RobertShiplett.)
CharClass as char-set CharMap
Over at 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括弧 required 3 different font families on my Windows XP (using the local font test player at to "play" individual characters "by local installed font".)

The final font families as "first choice" were
  1. "DejaVu Sans"
  2. "Kozuka Gothic Pro B"
  3. "Arial Unicode MS"
  4. "HanaMinA, ..." || default list
and the CharClass 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:

Robert Shiplett, Curlr
Fredericton NB


Possibly Related Threads...
Thread Author Replies Views Last Post
  CharClass RobertShiplett 0 2,326 08-04-2012, 03:21 AM
Last Post: RobertShiplett
Forum Jump:

Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
INSERT INTO mybb_threadviews (tid) VALUES('510')