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++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » Look of the IDE on kubuntu 6.10
Look of the IDE on kubuntu 6.10 [message #7975] Fri, 02 February 2007 02:17 Go to next message
mr_ped is currently offline  mr_ped
Messages: 799
Registered: November 2005
Location: Czech Republic - Praha
Contributor

Help please with the look of the IDE.

I downloaded the upp_2007.1-beta3_i386.deb and installed it on kubuntu 6.10 (just needed installation of some more packages from dependencies, worked without any problem).

I'm adding screenshot how it *LOOKS*.

I can't use such thin fonts, also I would love +2 size (ok, maybe I should get finally glasses again, but for now...).
No other application so far had this look, and I don't see any way how to configure it inside upp.

Any chance to change the font of menus to something usable?
Those fonts are so thin, that the subpixel font rendering doesn't work correctly and I see colorful characters instead of normal black ones.
(I have this problem with Firefox too, but there's certainly not as visible, and it's due to their own font rendering engine embedded in Firefox binaries)

The font settings for editor looks rich enough to set it up to my liking, no problem there.

I can try it again under Gnome later, because I had both managers installed, but under Gnome I have some stability issues and I got already used to KDE since than.

edit: change of GUI theme doesn't help. Background of menus does change to something weird, but the fonts remain absolutely the same.
  • Attachment: uppide.png
    (Size: 135.23KB, Downloaded 538 times)

[Updated on: Fri, 02 February 2007 02:23]

Report message to a moderator

Re: Look of the IDE on kubuntu 6.10 [message #7976 is a reply to message #7975] Fri, 02 February 2007 02:18 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 799
Registered: November 2005
Location: Czech Republic - Praha
Contributor

And this is example how the Kdevelop IDE looks on my system (fonts do look quite normally even in default settings).
Re: Look of the IDE on kubuntu 6.10 [message #7977 is a reply to message #7976] Fri, 02 February 2007 03:16 Go to previous messageGo to next message
zsolt is currently offline  zsolt
Messages: 588
Registered: December 2005
Location: Budapest, Hungary
Contributor
I use a trick in KDE, that I start gnome font setup app. It starts gconfd and it sets up gtk correctly.
But it is possible, that you have to play with Gnome's sub-pixel rendering setup as well.
This trick makes firefox better looking also.
Re: Look of the IDE on kubuntu 6.10 [message #7979 is a reply to message #7975] Fri, 02 February 2007 08:42 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12050
Registered: November 2005
Ultimate Member
Well, U++ appearance is now ruled by gnome settings.

Please check how other gnome apps look on your Kubuntu.

Ubuntu 610/Gnome in both x86-32 and x86-64 flavors is the main Linux development platform for U++. I have KDE installed and TheIDE looks OK there.

Mirek
Re: Look of the IDE on kubuntu 6.10 [message #7980 is a reply to message #7979] Fri, 02 February 2007 11:56 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 799
Registered: November 2005
Location: Czech Republic - Praha
Contributor

luzr wrote on Fri, 02 February 2007 08:42

Please check how other gnome apps look on your Kubuntu.


Usually they looks absolutely same as KDE apps, only Firefox has a slightly different font rendering on web pages.
Haven't seen anything as bad as TheIDE, so far everything else did look ok.

This leaves me puzzled what's going on and how other gnome apps are getting their settings. Maybe they are not following my gnome settings which are just what TheIDE shows?? And they somehow import my KDE settings?
I have no idea how this works under the hood, sorry.

Here is look of Firefox a gthumb on the same machine.
  • Attachment: gnomelook.png
    (Size: 252.08KB, Downloaded 251 times)
Re: Look of the IDE on kubuntu 6.10 [message #7982 is a reply to message #7980] Fri, 02 February 2007 12:30 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12050
Registered: November 2005
Ultimate Member
Please try this:

Draw/DrawTextXft.cpp line 186 and 196

XFT_WEIGHT, XftTypeInteger, int(font.IsBold() ? 200 : 0),


to

XFT_WEIGHT, XftTypeInteger, int(font.IsBold() ? 200 : 100),


Mirek

[Updated on: Fri, 02 February 2007 12:30]

Report message to a moderator

Re: Look of the IDE on kubuntu 6.10 [message #7985 is a reply to message #7982] Fri, 02 February 2007 17:58 Go to previous messageGo to next message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member
luzr wrote on Fri, 02 February 2007 12:30

Please try this:

Draw/DrawTextXft.cpp line 186 and 196

XFT_WEIGHT, XftTypeInteger, int(font.IsBold() ? 200 : 0),


to

XFT_WEIGHT, XftTypeInteger, int(font.IsBold() ? 200 : 100),


Mirek



A lot better, but still clearly distinct from gtk apps.
Thicker, slighly more blurry.

Guido
Re: Look of the IDE on kubuntu 6.10 [message #7986 is a reply to message #7985] Fri, 02 February 2007 18:21 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12050
Registered: November 2005
Ultimate Member
Ok, there is another fix to consider:

Comment out section of code at line 114:

/*	static const char *replacements[] = {
		"Bitstream Vera Sans",
		"Times New Roman;Bitstream Vera Serif",
		"Bitstream Vera Sans;Arial",
		"Courier New;Bitstream Vera Sans Mono",
		"Times New Roman;Bitstream Vera Serif",
		"Arial;Bitstream Vera Sans",
		"Courier New;Bitstream Vera Sans Mono",
	};
	for(int i = 0; i < 7; i++) {
		Vector<String> f = Split(replacements[i], ';');
		for(int q = 0; q < f.GetCount(); q++)
			if(XFTFontFace().Find(f[q]) >= 0) {
				basic_fonts[i] = PermanentCopy(f[q]);
				XFTFontFace()[i].compose = sCheckComposed(basic_fonts[i]);
				break;
			}
	}*/


Mirek
Re: Look of the IDE on kubuntu 6.10 [message #7987 is a reply to message #7986] Fri, 02 February 2007 19:07 Go to previous messageGo to next message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member
luzr wrote on Fri, 02 February 2007 18:21

Ok, there is another fix to consider:

Comment out section of code at line 114:

/*	static const char *replacements[] = {
		"Bitstream Vera Sans",
		"Times New Roman;Bitstream Vera Serif",
		"Bitstream Vera Sans;Arial",
		"Courier New;Bitstream Vera Sans Mono",
		"Times New Roman;Bitstream Vera Serif",
		"Arial;Bitstream Vera Sans",
		"Courier New;Bitstream Vera Sans Mono",
	};
	for(int i = 0; i < 7; i++) {
		Vector<String> f = Split(replacements[i], ';');
		for(int q = 0; q < f.GetCount(); q++)
			if(XFTFontFace().Find(f[q]) >= 0) {
				basic_fonts[i] = PermanentCopy(f[q]);
				XFTFontFace()[i].compose = sCheckComposed(basic_fonts[i]);
				break;
			}
	}*/


Mirek


No difference.
It was using the right font already.
It's the antialising mode that it doesn't pick up from system settings.

Guido
Re: Look of the IDE on kubuntu 6.10 [message #7988 is a reply to message #7987] Fri, 02 February 2007 19:30 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12050
Registered: November 2005
Ultimate Member
I see. What is your system settings btw?

Mirek
Re: Look of the IDE on kubuntu 6.10 [message #7989 is a reply to message #7988] Fri, 02 February 2007 20:03 Go to previous messageGo to next message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member
luzr wrote on Fri, 02 February 2007 19:30

I see. What is your system settings btw?

Mirek


In XSettings it reads as:

Xft/Antialias: 1
Xft/Hinting: 1
Xft/HintStyle: hintfull
Xft/RGBA: none

Guido
Re: Look of the IDE on kubuntu 6.10 [message #7990 is a reply to message #7989] Fri, 02 February 2007 20:08 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12050
Registered: November 2005
Ultimate Member
Well, the problem is that I have only a little control about this.

AFAIK, Xft uses fontconfig settings to do antialiasing. Unless explicitly set, I am not changing default settings (AFAIK).

Mirek
Re: Look of the IDE on kubuntu 6.10 [message #7999 is a reply to message #7982] Sat, 03 February 2007 14:30 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 799
Registered: November 2005
Location: Czech Republic - Praha
Contributor

luzr wrote on Fri, 02 February 2007 12:30

Please try this:

Draw/DrawTextXft.cpp line 186 and 196
...



It helped a lot, looks just like other gnome applications on first sight. I will post a magnified screenshot later to see if they are exact or just similar.

luzr


I see. What is your system settings btw?



I'm not sure if I found the correct ones, but I can't find it elsewhere:

~/.fonts.conf

and the settings are:

rgba rgb
hinting true
hintstyle hintfull
antialias true
Re: Look of the IDE on kubuntu 6.10 [message #8000 is a reply to message #7987] Sat, 03 February 2007 17:02 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12050
Registered: November 2005
Ultimate Member
guido wrote on Fri, 02 February 2007 13:07

No difference.
It was using the right font already.
It's the antialising mode that it doesn't pick up from system settings.



Do you think you could post a screenshot with another gnome app running?

Mirek
Re: Look of the IDE on kubuntu 6.10 [message #8001 is a reply to message #7975] Sat, 03 February 2007 18:02 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 799
Registered: November 2005
Location: Czech Republic - Praha
Contributor

Mine looks identical after the non-Bold = 100 fix.

index.php?t=getfile&id=446&private=0

Another bug: what about hot keys in menu being not underlined?

edit BTW:
notice different "i" padding in File, I think TheIDE is nicer.

Than again, I'm sort of missing some tool to check out the subpixel rendering, when I use gimp to magnify it, I get whole pixels (colors) magnified so it's hard to check the true quality of render. Smile
  • Attachment: theide2.png
    (Size: 20.64KB, Downloaded 464 times)

[Updated on: Sat, 03 February 2007 18:05]

Report message to a moderator

Re: Look of the IDE on kubuntu 6.10 [message #8003 is a reply to message #8000] Sat, 03 February 2007 20:54 Go to previous messageGo to next message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member
luzr wrote on Sat, 03 February 2007 17:02

guido wrote on Fri, 02 February 2007 13:07

No difference.
It was using the right font already.
It's the antialising mode that it doesn't pick up from system settings.



Do you think you could post a screenshot with another gnome app running?

Mirek



Sure.

theide vs leafpad.

  • Attachment: uppfont.png
    (Size: 7.58KB, Downloaded 507 times)
Re: Look of the IDE on kubuntu 6.10 [message #8004 is a reply to message #8001] Sat, 03 February 2007 21:15 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12050
Registered: November 2005
Ultimate Member
mr_ped wrote on Sat, 03 February 2007 12:02

Mine looks identical after the non-Bold = 100 fix.

index.php?t=getfile&id=446&private=0

Another bug: what about hot keys in menu being not underlined?



Well, I follow WinXP behaviour here (underlines appear when you press Alt). Seems nicer to me.

Mirek
Re: Look of the IDE on kubuntu 6.10 [message #8005 is a reply to message #8003] Sat, 03 February 2007 21:18 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12050
Registered: November 2005
Ultimate Member
guido wrote on Sat, 03 February 2007 14:54


theide vs leafpad.




Really weird, looks like U++ uses, for some reason "Best shapes" setting while rest of system "Best contrast".

Any idea?

Mirek
Re: Look of the IDE on kubuntu 6.10 [message #8015 is a reply to message #8004] Sun, 04 February 2007 13:30 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 799
Registered: November 2005
Location: Czech Republic - Praha
Contributor

luzr wrote on Sat, 03 February 2007 21:15


Well, I follow WinXP behaviour here (underlines appear when you press Alt). Seems nicer to me.



I don't like it, can you please consider to check if the IDE is run XP, and use it only there? (and have option to force it elsewhere in options)
Re: Look of the IDE on kubuntu 6.10 [message #8026 is a reply to message #8015] Mon, 05 February 2007 07:42 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 12050
Registered: November 2005
Ultimate Member
mr_ped wrote on Sun, 04 February 2007 07:30

luzr wrote on Sat, 03 February 2007 21:15


Well, I follow WinXP behaviour here (underlines appear when you press Alt). Seems nicer to me.



I don't like it, can you please consider to check if the IDE is run XP, and use it only there? (and have option to force it elsewhere in options)



Well, in the library, option is already there.

Mirek
Previous Topic: Problems installing in Ubuntu 6.06
Next Topic: Crash when using Microsoft's Virtual Desktop Manager [BUG]
Goto Forum:
  


Current Time: Wed Oct 16 18:41:06 CEST 2019

Total time taken to generate the page: 0.01210 seconds