Recent

Author Topic: Display a (very) special character  (Read 8474 times)

Waco

  • Jr. Member
  • **
  • Posts: 61
Display a (very) special character
« on: February 13, 2010, 01:49:31 pm »
I was looking in the Windows CharMap for characters to express math logic such as ∩, Є, ∆, and ◊. After about half an hour playing with it I managed to get it working in Lazarus. Except for ∩. So my question is simple, is it even possible to display the intersection character (in a TStaticText)?

(I did find a character for an angle, but when I tried to paste it here or into Lazarus it changed into another one, so I'm not asking regarding that, Windows is really messed up :) )

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1946
Re: Display a (very) special character
« Reply #1 on: February 13, 2010, 02:38:19 pm »
is it even possible to display the intersection character (in a TStaticText)?

Depends on whether the chosen font can display this character.
Maybe you need some special font for this like Code2000:
http://www.code2000.net/code2000_page.htm

See also Laz-IDE:
Edit -> Insert from Character Map -> Unicode Tab -> Mathematical Operators.

Waco

  • Jr. Member
  • **
  • Posts: 61
Re: Display a (very) special character
« Reply #2 on: February 13, 2010, 03:29:18 pm »
Thanks, using Code2000 works just fine. However, when I go Edit -> Insert from Character Map I don't have there any more tabs, just one set of characters. Might it be caused by the Slovak language I have Lazarus in?

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1946
Re: Display a (very) special character
« Reply #3 on: February 13, 2010, 04:10:31 pm »
Might it be caused by the Slovak language I have Lazarus in?

No, but maybe you have an old version of Lazarus?

Should look like the attachment (Linux screenshot)
« Last Edit: February 13, 2010, 04:15:32 pm by theo »

Waco

  • Jr. Member
  • **
  • Posts: 61
Re: Display a (very) special character
« Reply #4 on: February 13, 2010, 04:36:26 pm »
Heh, I didn't even notice that a new version came out... OK, thanks again.

 

TinyPortal © 2005-2018