Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » How to display utf8 graphical sign
Re: How to display utf8 graphical sign [message #42509 is a reply to message #42479] Thu, 20 March 2014 16:19 Go to previous messageGo to previous message
deep is currently offline  deep
Messages: 263
Registered: July 2011
Location: Bangalore
Experienced Member
Hi Luigi,

If you are using windows then "Arial Unicode MS" will be available. It has all characters. There is Linux equivalent available.

Enclosed sample code.

I have not set special font. It is system default StdFont().

If with stdfont you are not getting desired result then you can set font like this

        int FontIndx = Font::FindFaceNameIndex("Arial Unicode MS");
	Font MyFont = Font(FontIndx,20);
	LineEdit.SetFont(MyFont);


index.php?t=getfile&id=4473&private=0
  • Attachment: Unicode.png
    (Size: 25.82KB, Downloaded 466 times)
  • Attachment: UniCTest.7z
    (Size: 1.05KB, Downloaded 514 times)


Warm Regards

Deepak

[Updated on: Thu, 20 March 2014 16:29]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Fixed some Chinese translation in Core.t
Next Topic: On trunk some help links do not work
Goto Forum:
  


Current Time: Thu Apr 25 20:53:06 CEST 2024

Total time taken to generate the page: 0.03310 seconds