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: 14265 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
|
|
|
 |
|
Clipped text in theIDE
|
 |
|
Re: Clipped text in theIDE
By: fudadmin on Mon, 15 February 2010 08:05
|
 |
|
Re: Clipped text in theIDE
By: fudadmin on Mon, 15 February 2010 08:08
|
 |
|
Re: Clipped text in theIDE
By: fudadmin on Mon, 15 February 2010 08:11
|
 |
|
Re: Clipped text in theIDE
By: mirek on Mon, 15 February 2010 11:59
|
 |
|
Re: Clipped text in theIDE
By: fudadmin on Mon, 15 February 2010 13:44
|
 |
|
Re: Clipped text in theIDE
|
 |
|
Re: Clipped text in theIDE
By: fudadmin on Mon, 15 February 2010 22:50
|
 |
|
Re: Clipped text in theIDE
|
 |
|
Re: Clipped text in theIDE
|
 |
|
Re: Clipped text in theIDE
|
 |
|
Re: Clipped text in theIDE
By: mirek on Mon, 22 February 2010 09:57
|
 |
|
Re: Clipped text in theIDE
|
 |
|
Re: Clipped text in theIDE
|
 |
|
Re: Clipped text in theIDE
|
 |
|
Re: Clipped text in theIDE
By: mirek on Tue, 23 February 2010 10:57
|
 |
|
Re: Clipped text in theIDE
|
 |
|
Re: Clipped text in theIDE
By: mirek on Tue, 23 February 2010 15:46
|
 |
|
Re: Clipped text in theIDE
|
 |
|
Re: Clipped text in theIDE
By: mirek on Wed, 24 February 2010 08:33
|
 |
|
Re: Clipped text in theIDE
|
 |
|
Re: Clipped text in theIDE
By: mirek on Wed, 24 February 2010 11:40
|
 |
|
Re: Clipped text in theIDE
By: mirek on Wed, 24 February 2010 11:51
|
 |
|
Re: Clipped text in theIDE
|
 |
|
Re: Clipped text in theIDE
By: mirek on Wed, 24 February 2010 20:58
|
 |
|
Re: Clipped text in theIDE
|
 |
|
Re: Clipped text in theIDE
By: mirek on Wed, 24 February 2010 23:09
|
 |
|
Re: Clipped text in theIDE
|
 |
|
Re: Clipped text in theIDE
By: mirek on Thu, 25 February 2010 08:08
|
 |
|
Re: Clipped text in theIDE
|
Goto Forum:
Current Time: Tue Jul 08 10:04:41 CEST 2025
Total time taken to generate the page: 0.02550 seconds
|