Recent

Author Topic: Emoji components  (Read 1960 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2259
    • Lazarus and Free Pascal italian community
Emoji components
« on: April 17, 2020, 08:56:29 am »
Hi, I have a question. In lazarus exists emoji components? Like forum message. Thanks
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

jamie

  • Hero Member
  • *****
  • Posts: 7413
Re: Emoji components
« Reply #1 on: April 17, 2020, 11:55:03 pm »

http://unicode.org/emoji/charts/full-emoji-list.html


Book mark those..
They are Unicode characters..
Maybe you can make a component for the users ;)

« Last Edit: April 17, 2020, 11:57:30 pm by jamie »
The only true wisdom is knowing you know nothing

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12571
  • FPC developer.
Re: Emoji components
« Reply #2 on: April 17, 2020, 11:56:38 pm »
They are characters so a TLabel with whatever Full unicode font your system has?

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: Emoji components
« Reply #3 on: April 18, 2020, 12:13:58 am »
Hi!

In case of Windows:

Set the font of the Label to the latest version of Arial - that from Win10.

In case of Linux:

The Liberation font family has a lot of emojis implemented.

Winni

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: Emoji components
« Reply #4 on: April 18, 2020, 12:22:02 am »
Hi!

In the attachment:

Forrm1.Canvas.TextOut (x,y,MyEmojiString);

Lin64, gtk2, Font: Liberation sans


Winni

xinyiman

  • Hero Member
  • *****
  • Posts: 2259
    • Lazarus and Free Pascal italian community
Re: Emoji components
« Reply #5 on: April 18, 2020, 11:16:37 am »
Thank you very much
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

 

TinyPortal © 2005-2018