PC Symbol Font?

Graham Samuel livfoss at mac.com
Fri Dec 13 11:53:11 EST 2013


Thanks Richmond. I based my script on what you said (with a few tweaks) and got pi in the right place (as an example). The Unicode decimal code for this is 960 or 03C0 in Hex. So now I have two ways of doing it.

Graham


On 13 Dec 2013, at 16:26, Richmond wrote:

> On 11/12/13 21:36, Graham Samuel wrote:
>> Well, once I've mastered actually displaying Unicode characters in a LC field...
> 
> Not as difficult as it seems.
> 
> Even for those of us "stuck" pre what is meant to be coming in LC 7.0.0 :P
> 
> All one needs is a print out of the Unicode table(s) for one's writing system of choice and a calculator that will convert Hex into Decimal
> [unless you are some sort of mental whizz who can do that yourself].
> 
> Then you can do something rather like this:
> 
> put "I'm a little teapot short and stout" into fld "HOOHA"
> select after fld "HOOHA"
> set the use UnicodeText to true
>  set the unicodeText of the selected to numToChar(XXXX)
> 
> 
> where 'XXXX' is the Unicode address of the symbol you wish to use converted into decimal.
> 
> Richmond.
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list