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 » RichText,QTF,RTF... » Need help with setting RichEdit fonts in droplist [SOLVED]
Re: Need help with setting RichEdit fonts in droplist [message #42033 is a reply to message #41995] Wed, 12 February 2014 18:40 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13979
Registered: November 2005
Ultimate Member
Yes.

	Vector<int> ff;
	ff.Add(Font::ARIAL);
	ff.Add(Font::ROMAN);
	ff.Add(Font::COURIER);
	if(allfonts)
		for(int i = Font::COURIER + 1; i < Font::GetFaceCount(); i++)
			if(Font::GetFaceInfo(i) & Font::SCALEABLE)
				ff.Add(i);
	editor.FontFaces(ff);


the use ApplyFormatInfo to set initial font.
 
Read Message
Read Message
Read Message
Previous Topic: Allow line-break after '-' sign within a word?
Next Topic: [BUG] RichTextView and VCenter
Goto Forum:
  


Current Time: Mon May 13 10:55:05 CEST 2024

Total time taken to generate the page: 0.02324 seconds