| Summary: | [Graphics] Message: Couldn't load font "adobe-courier 10" falling back to "Sans 10" on Solaris 9 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Martin Oberhuber <mober.at+eclipse> | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | RESOLVED WONTFIX | QA Contact: | Felipe Heidrich <eclipse.felipe> | ||||
| Severity: | minor | ||||||
| Priority: | P3 | CC: | aniefer, avkonst, bugs.eclipse, dj.houghton, eclipse.felipe, freidin.alex, grant_gayed, jonathan, martin.gutschelhofer, olaf, pthomas, Silenio_Quarti, snorthov, timothy.w.gean, tracy | ||||
| Version: | 3.3 | Keywords: | triaged | ||||
| Target Milestone: | --- | ||||||
| Hardware: | Sun | ||||||
| OS: | Solaris-GTK | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Martin Oberhuber
Even though the problem is probably on the launcher, you might know what is going on. Martin, can you confirm that launching eclipse from a command prompt using "java - ...tons of crap ..." works? Andrew can supply the crap for you. Sorry if the description was unclear, but Eclipse runs just fine so I think the Launcher is OK. It's just producing these warning messages as a kind of by product. And I notice that the font in the editor looks different than on other platforms - apparently it's a proportional font. Ok, it's not the launcher. I have got the same problem but only for version 3.2.2 During startup eclipse prints to stdout following warnings (and some other similar warnings): ** (Eclipse:6546): WARNING **: Couldn't load font "adobe-courier Bold 14" falling back to "Sans Bold 14" And one more interesting fact. The pictures on icons are not presented correctly. I'll attach the screenshot Created attachment 73086 [details]
Screenshot with badly formed icons
Have you got any comments on this?
Please, tell me if I should change my settings somewhere...
Just to make sure this is not the launcher, please try running without it: java -jar plugins/org.eclipse.equinox.launcher_1.0.0.<version>.jar If you are running a old version of eclipse you will have to use: java -cp eclipse/startup.jar org.eclipse.core.launcher.Main If that is the case please update your Eclipse to version 3.3, thank you Andrey, the problem with images you are seing deserves a separate bug report. Please inform the version of Solaris, the depth of your screen (actually, the whole output of xdpyinfo), and gtk version. Grant knows about the badly formed icons. I believe this is a bug in the version of GTK (endian problem?). Grant? re: comments 5 and 7 There's a discussion of this interspersed with discussion about a syntax highlighting problem starting at https://bugs.eclipse.org/bugs/show_bug.cgi?id=177949#c18 . I have not tried what's described there, but it looks like two factors that may help with the icons not showing correctly are to ensure that you're running with 24-bit depth (if possible of course), and to apply the patch from http://sunsolve.sun.com/search/document.do?assetkey=1-21-115738-05-1 to your system. Re: comment 6 Bug 195620 was reported (In reply to comment #8) Icons: It looks like the Icon discussion is better continued on bug #195620, keeping this bug for the font messages only. When I read bug 177949 comment 28 right, applying the Sun GNOME patch from http://sunsolve.sun.com/search/document.do?assetkey=1-21-115738-05-1 fixed the display of icons in 8bpp mode, but did not fix it in 24bpp mode. 24bpp mode was required to get the syntax highlighting right, so it looks like the user is still trapped with bad icons - looks like this is exactly bug #195620. I did not try out those steps myself though, so I'm just reporting what there is on the bugs -- running Eclipse in a local VNC server seemed to be a workaround according to bug 177949 comment 26. (In reply to comment #10) >...the Sun GNOME patch from http://sunsolve.sun.com/search/document.do?assetkey=1-21-115738-05-1 fixed the display of icons in 8bpp mode, but did not fix it in 24bpp mode... martin oberhuber is absolutly right about that. on my system at least (sun blade 100, solaris 9 sparc, 1.5mb ram, local x windows display, etc.), that particular fix sorted out the icon issue only (not the syntax highlighting); even then, the icons were fixed only if my local display was in 8bpp mode; changing to 24 bpp mode on my local display ruins the icons, but fixes syntax highligting. Felipe, can you make the problem happen on our machine? (In reply to comment #12) > Felipe, can you make the problem happen on our machine? No, I can not. Did anyone try launching eclipse without the launcher: java -jar plugins/org.eclipse.equinox.launcher_1.0.0.<version>.jar ? > (In reply to comment #12)
> > Felipe, can you make the problem happen on our machine?
> No, I can not.
>
> Did anyone try launching eclipse without the launcher:
> java -jar plugins/org.eclipse.equinox.launcher_1.0.0.<version>.jar
> ?
>
i'm running eclipse version 3.2.2 on solaris 9 sparc. these are the only jars with "equinox" in their name on my system:
/development/eclipse/plugins/org.eclipse.equinox.registry_3.2.1.R32x_v20060814.jar
/development/eclipse/plugins/org.eclipse.equinox.preferences_3.2.1.R32x_v20060717.jar
/development/eclipse/plugins/org.eclipse.equinox.common_3.2.0.v20060603.jar
these are the only jars with "launcher" in their name on my system:
/development/eclipse/plugins/org.apache.ant_1.6.5/lib/ant-launcher.jar
/development/eclipse/plugins/org.eclipse.platform.source_3.2.2.r322_v20070119-RQghndJN8IM0MsK/src/org.apache.ant_1.6.5/lib/ant-launchersrc.zip
/development/eclipse/plugins/org.eclipse.platform.source_3.2.2.r322_v20070119-RQghndJN8IM0MsK/src/org.eclipse.platform_3.2.2.r322_v20070117b/launchersrc.zip
those are the only things on my system that come close to "plugins/org.eclipse.equinox.launcher_1.0.0.<version>.jar".
running the following command results in the exact same outcome as described in the previously-mentioned bug reports:
java -jar /development/eclipse/startup.jar
(In reply to comment #14) i was a little premature. i remembered i did some troubleshooting on this a while back and i do also happen to have both eclipse version 3.3.0 build id I20070503-1400 java -jar /development/projects/temp/eclipse-SDK-3.3M7/eclipse/plugins/org.eclipse.equinox.launcher_1.0.0.v20070502.jar and also an intergration build eclipse version build id I20070508-0800 java - jar /development/projects/temp/eclipse-SDK-I20070508-0800/eclipse/plugins/org.eclipse.equinox.launcher_1.0.0.v20070507.jar and just like version 3.2.2, running the above commands on both versions of 3.3.0 produces the exact same results (dodgy icons in 24bpp mode, etc.) (In reply to comment #15) please forgive me! i keep forgetting that this bug report is about the fonts messages. apologies for the confusion about the icons. even still, on my system the deluge of font messages are being dumped to the console in all the versions/builds that i mentioned above. (In reply to comment #14) for what it's worth, the following command also results in the same reported deluge of font (and pangoLayout) messages: java -cp /development/eclipse/startup.jar org.eclipse.core.launcher.Main I'm getting a similar message (Couldn't load font "misc-fixed Bold 14" falling back to "Sans Bold 14") on SunOS 5.9 I see the last entry (#14) is dated 7/17/07 and was wondering if there were any new developments that may help me get rid of these warning messages. Thx, Tim Font messages are reproducable with Eclipse 3.4 and SunOS 5.8/9. Identical behavior in Solaris 9 with Eclipse 3.2.2. [Patch 115738-05 installed, but that seems to address icon issues, not font messages]. (In reply to comment #20) > Identical behavior in Solaris 9 with Eclipse 3.2.2. [Patch 115738-05 > installed, but that seems to address icon issues, not font messages]. Could this be a fonts incompatibility? I am running Attachmate Reflection/X v14.0, and I see there are some issues with the PCF format fonts. I tried hand-editing fonts.dir to remove the .Z suffix from the fonts entries per the WRQ documentation, but that [alone] didn't seem to help. Can we have a census of what X Servers and font configurations are out there related to this bug? A much newer version of GTK+ is now available from Blastwave: http://www.blastwave.org/packages.php/gtk2 I'm not yet sure whether it runs on Solaris 9 or only 10, but it might be worth a try... I won't be able to try this out myself, but I'd appreciate if anyone else has the time and could give feedback. Your bug has been moved to triage, visit http://www.eclipse.org/swt/triage.php for more info. Solaris is no longer a supported platform. |