I am not sure if this is the same issue but it certainly is a better
solution....
http://opensuse-community.org/SubpixelHinting
This will switch cleartype fonts back on and it works really well in
firefox - I tried it yesterday and it works in 10.3.
Regards, Pieter
Budapest
On 08/10/2007, Kníže Ignor
Firefox don't reflect any changes I make in antialiasing settings. Everyone can make a little experiment. Close Firefox, go to Computer -> Control Center -> Appearance -> Fonts and set rendering type to "Monochrome" (GNOME). System immediately responds and change can be seen for example on the gnome panel. Now start Firefox and you will see, that it still use old settings (fonts are antialiased). In Ubuntu this behaves as expected, that means antiliasing is disabled in Firefox. This is just an example, I don't want to disable antialiasing in Firefox, I want to change the font rendering. But this experiment shows us, that Firefox ignores the system settings. I compared mozconfig in Ubuntu and OpenSUSE and there are few differences - in OpenSUSE Firefox is build static. Can be this the reason for this behaviour? I tried to rpmbuild static Firefox (removed lines 'ac_add_options --enable-static', 'ac_add_options --disable-shared' and added lines 'ac_add_options --enable-shared', 'ac_add_options --disable-static' in the spec file), but the compilation is failing:
c++ -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -Os -fno-strict-aliasing -fstack-protector -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -Os -fno-strict-aliasing -fstack-protector -fPIC -shared -Wl,-z,defs -Wl,-h,libgklayout.so -o libgklayout.so nsLayoutModule.o nsContentHTTPStartup.o nsContentDLF.o nsLayoutStatics.o -Wl,--whole-archive ../../dist/lib/libgkbase_s.a ../../dist/lib/libgkgeneric_s.a ../../dist/lib/libgkforms_s.a ../../dist/lib/libgkstyle_s.a ../../dist/lib/libgkprinting_s.a ../../dist/lib/libgktable_s.a ../../dist/lib/libgkxulbase_s.a ../../dist/lib/libgkconbase_s.a ../../dist/lib/libgkconcvs_s.a ../../dist/lib/libgkconevents_s.a ../../dist/lib/libgkconhtmlcon_s.a ../../dist/lib/libgkconhtmldoc_s.a ../../dist/lib/libgkconxmlcon_s.a .. /../dist/lib/libgkconxmldoc_s.a ../../dist/lib/libgkconxbl_s.a ../../dist/lib/libgkconxulcon_s.a ../../dist/lib/libgkconxuldoc_s.a ../../dist/lib/libgkview_s.a ../../dist/lib/libjsdombase_s.a ../../dist/lib/libjsdomevents_s.a ../../dist/lib/libjsurl_s.a ../../dist/lib/libjsdomstorage_s.a ../../dist/lib/libgkxultree_s.a ../../dist/lib/libgkxulgrid_s.a ../../dist/lib/libgkconxultmpl_s.a ../../dist/lib/libinspector_s.a ../../dist/lib/libgkmathmlcon_s.a ../../dist/lib/libgkmathmlbase_s.a ../../dist/lib/libgkcontentxtf_s.a ../../dist/lib/libgkxtfbase_s.a ../../dist/lib/libgksvgbase_s.a ../../dist/lib/libgkconsvgdoc_s.a ../../dist/lib/libgkcontentsvg_s.a ../../dist/lib/libgksvgrenderercairo_s.a -Wl,--no-whole-archive -L../../dist/bin -L../../dist/lib -lgkgfx ../../dist/lib/libunicharutil_s.a -L../../dist/bin -lxpcom -lxpcom_core -L../../dist/bin -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -L../../dist/bin -lmozjs -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2 .0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lcairo -Wl,--version-script -Wl,../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm ../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o): In function `nsCanvasRenderingContext2D::Destroy()': /home/ignor/rpm/BUILD/mozilla/content/canvas/src/nsCanvasRenderingContext2D.cpp:568: undefined reference to `XFreePixmap' ../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o): In function `nsCanvasRenderingContext2D::SetDimensions(int, int)': /home/ignor/rpm/BUILD/mozilla/content/canvas/src/nsCanvasRenderingContext2D.cpp:814: undefined reference to `XRenderFindStandardFormat' /home/ignor/rpm/BUILD/mozilla/content/canvas/src/nsCanvasRenderingContext2D.cpp:817: undefined reference to `XListPixmapFormats' /home/ignor/rpm/BUILD/mozilla/content/canvas/src/nsCanvasRenderingContext2D.cpp:824: undefined reference to `XFree' /home/ignor/rpm/BUILD/mozilla/content/canvas/src/nsCanvasRenderingContext2D.cpp:829: undefined reference to `XCreatePixmap'
When I add "-lX11 -lXrender", then the command passes, but there are also another problems, so the compilation fails later. I'm not as experienced to fix it.
So my question is what to do to force Firefox to respect the system settings of antialiasing? I'm trying to solve this, because there are pages, where fonts look really ugly to me - for example http://www.abclinuxu.cz/images/screenshots/2/9/98392-nepublikovat--48272.png compare this with screenshot taken in Ubuntu (http://www.abclinuxu.cz/images/screenshots/2/9/98392-nepublikovat--48270.png). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org