|
|
Home » Community » Newbie corner » Clipped text in theIDE
|
|
Re: Clipped text in theIDE [message #25448 is a reply to message #25447] |
Wed, 24 February 2010 11:51 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
OK, try this patch, I believe it should solve the problem:
Draw/Font.cpp
void Font::InitStdFont()
{
ONCELOCK {
DrawLock __;
List();
AStdFont = Arial(12);
String name;
int height = 0;
GetStdFontSys(name, height);
int q = FindFaceNameIndex(name);
if(q <= 0)
q = FindFaceNameIndex("Tahoma");
if(q <= 0)
q = FindFaceNameIndex("Microsoft Sans Serif");
if(q <= 0)
q = FindFaceNameIndex("MS Sans Serif");
if(q > 0)
AStdFont = Font(q, max(height, 1));
SyncStdFont();
}
}
(According to
http://msdn.microsoft.com/en-us/library/dd374112%28VS.85%29. aspx
Shell Dlg fonts are actually pretty much fixed, so we can just fetch the best one...)
Mirek
[Updated on: Wed, 24 February 2010 11:52] Report message to a moderator
|
|
|
|
|
Re: Clipped text in theIDE [message #25464 is a reply to message #25463] |
Wed, 24 February 2010 21:12 |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
I just installed 2127.
The problem is still in theIDE.
edit: These are the two versions I have of XP
Windows XP Home Edition Service Pack 3 (build 2600) - Problem
Windows XP Media Center Edition Service Pack 3 (build 2600) - OK
[Updated on: Wed, 24 February 2010 21:21] Report message to a moderator
|
|
|
|
Re: Clipped text in theIDE [message #25468 is a reply to message #25467] |
Thu, 25 February 2010 00:30 |
|
2147 SVN does not compile Core.cpp under Wine,
although in 2145 all compile normally, and all the above identified problems in ArrayCtrl and GridCtrl recovered.
Now everything is OK!
All the controls work just fine, and under Windows and on Wine.
Many thanks!
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
|
|
|
|
Re: Clipped text in theIDE [message #25543 is a reply to message #25470] |
Mon, 01 March 2010 04:47 |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
With 2161 all text/pull down problems in theIDE and an app made with Upp have been fixed.
edit: I would have tried that earlier from the svn but that is above my abilities now.
Great Work!
Thanks
[Updated on: Fri, 05 March 2010 13:54] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Apr 27 09:06:28 CEST 2024
Total time taken to generate the page: 0.03896 seconds
|
|
|