U++ framework
Do not panic. Ask here before giving up.

Home » Community » U++ community news and announcements » Painter improvements
Re: Painter improvements [message #60385 is a reply to message #60384] Wed, 27 December 2023 14:08 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Tom1 wrote on Wed, 27 December 2023 13:42
Hi Mirek,

Thanks, this is very interesting. However, unfortunately, when built with MSBT22x64 the text rendering is very broken. It shows on PainterExamples (and elsewhere too). Can you check this?

Best regards,

Tom

EDIT: In Core/ValueCache.h add String() conversion for return fixes the text rendering issue. MSBT actually warns about automatic conversion here:

template <class K, class M>
String MakeKey_(const K& k, const M& m)
{
	StringBuffer key;
	RawCat(key, StaticTypeNo<K>());
	RawCat(key, StaticTypeNo<M>());
	key.Cat(k());
	return String(key); // << Add String() here!
}


I will do further tests...


Thank you!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TheIDE and U++ have been released on Flathub
Next Topic: Merry Christmas and Happy New Year 2024!
Goto Forum:
  


Current Time: Sun May 24 23:11:11 GMT+2 2026

Total time taken to generate the page: 0.00840 seconds