Show Unicode

Post Reply
User avatar
rbytes
Posts: 1338
Joined: Sun May 31, 2015 12:11 am
My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet
Location: Calgary, Canada
Flag: Canada
Contact:

Show Unicode

Post by rbytes »

This program will display a Unicode Character whose byte address is stored in a file named 'address.txt'.
To create the file, run the Unicode Viewer program I posted earlier today, select a character and press the Save Button. Then run Show Unicode.

Code: Select all

''
Show Unicode
by rbytes, October 2017
''
fn = "address.txt"
> m, 1..2
  temp = #.val(#.readline(fn))
  a[m] = temp
<

b = #.button
b.x = 80
b.y = 100
b.fontsize = 400
b.text = #.str(a)
#.show(b)
#.fontsize(400)
#.drawtext(660,100,#.str(a))
#.fontsize(30)
#.drawtext(130,660,"The character appears like this")
#.drawtext(130,700,"when printed or used as text")
#.drawtext(130,740,"in an interface object")
#.drawtext(720,660,"The character appears like this")
#.drawtext(720,700,"when drawn with a drawtext")
#.drawtext(720,740,"statement")

The only thing that gets me down is gravity...

Post Reply