|
Post by bluatigro on Feb 21, 2019 5:36:50 GMT -5
i want to use the clubs hearts diamonts and spades chars that are in the low ascii numbers
|
|
|
Post by tsh73 on Feb 21, 2019 6:32:47 GMT -5
I'm afraid you can't get them. I'd rather suspect there are no glyphs in fonts at these places, at all - I saw it only on Terminal font, but it is not TrueType but bitmap font so I guess LB does not supports it (?) In graphic window you can use Symbol font (works for me under Win10) nomainwin 'WindowTop = 1 'WindowHeight = 1000 open "test" for graphics as #gr #gr "trapclose [quit]" #gr "down"
#gr "font symbol"
print #gr, "\" print #gr, "\" for i = 167 to 170 print #gr, "\";i; chr$(i) next
wait
[quit] close #gr end
EDIT 1.
I just set Editor font to Terminal - now I have chr(3)-chr(6) card symbols in a mainwin! Though it's small and ugly so I'd rather revert to Courier.
EDIT 2. I cannot set control font / graphic box font to terminal - so I cannot use it in GUI But I could set it to Symbol. (but Symbol has no normal characters)
Though having one font for normal characters AND card symbols, like in Terminal, would be handy.
|
|
|
Post by Chris Iverson on Feb 21, 2019 11:05:52 GMT -5
I'm hoping the next major release of LB supports Unicode in some fashion, because that would make including such symbols easy. Heck, Unicode 6.0 has individual symbols for a complete deck of standard playing cards.
|
|