Re: [CentOS] Font related problems with recent FF 60.1

2018-07-16 Thread James Pearson
Kay Schenk wrote:
> 
> Hi and I think you are right on with this analysis. I suspect my
> fontconfig  utilty isn't working correctly to add new fonts or maybe
> Mozilla doesn't install in the right config area. When I start up FF
> 52.8, no error messages about fonts. The de-install seemed to correct
> this, among other things.

I doubt it is a problem with your fontconfig - I get the same issue ...

It is most likely because Firefox 60 uses a 'private' gtk3 runtime 
(which includes its own fontconfig set up) on el6 - as el6 uses gtk2 
natively

I've reported this problem at:

  https://bugzilla.redhat.com/show_bug.cgi?id=1601475

James Pearson
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Font related problems with recent FF 60.1

2018-07-16 Thread Kay Schenk
On Mon, Jul 16, 2018 at 5:36 AM, James Pearson 
wrote:

> Kay Schenk wrote:
> >
> > When I start FF from command line, I'm getting a lot of errors similar to
> > these --
> >
> > Gtk-Message: Failed to load module "canberra-gtk-module"
> > Gtk-Message: Failed to load module "pk-gtk-module"
> > Gtk-Message: Failed to load module "canberra-gtk-module"
> > Gtk-Message: Failed to load module "pk-gtk-module"
> > Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 84:
> > Having multiple  in  isn't supported and may not work as
> > expected
> > Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 84:
> > Having multiple  in  isn't supported and may not work as
> > expected
> > Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 93:
> > Having multiple  in  isn't supported and may not work as
> > expected
> > Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 93:
> > Having multiple  in  isn't supported and may not work as
> > expected
> > Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line
> 102:
> > Having multiple  in  isn't supported and may not work as
> > expected
> > Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line
> 102:
> > Having multiple  in  isn't supported and may not work as
> > expected
> > Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 33:
> Having
> > multiple  in  isn't supported and may not work as expected
> > Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 33:
> Having
> > multiple  in  isn't supported and may not work as expected
> >
> > This version of FF doesn't seem to be happy  with my current font setup
> in
> > CentOS 6.10. 
>
> This is probably because Firefox 60.x uses its own build of gtk3 on el6
> - and I guess there is an incompatibility between gtk3 fontconfig and
> the native el6 fontconfig ?
>
> Try editing /usr/bin/firefox and adding the line:
>
>export
> FONTCONFIG_FILE="$MOZ_LIB_DIR/firefox/bundled/etc/fonts/fonts.conf"
>
> just before the 'exec' line at the end of the script
>
> James Pearson


​James,
Hi and I think you are right on with this analysis. I suspect my
fontconfig  utilty isn't working correctly to add new fonts or maybe
Mozilla doesn't install in the right config area. When I start up FF 52.8,
no error messages about fonts. The de-install seemed to correct this, among
other things.

In answer to Liam's question re gedit -- then answer is NO -- no bad
output.​

I am on 32-bit CentOS 6.10 at the moment. I HAD to switch back to FF 52.8
because 60.1 just really wasn't working. So, I won't be doing any more
testing with 60.1 *for a while*.


-- 
--
MzK

"Less is MORE."
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Font related problems with recent FF 60.1

2018-07-16 Thread James Pearson
Kay Schenk wrote:
> 
> When I start FF from command line, I'm getting a lot of errors similar to
> these --
> 
> Gtk-Message: Failed to load module "canberra-gtk-module"
> Gtk-Message: Failed to load module "pk-gtk-module"
> Gtk-Message: Failed to load module "canberra-gtk-module"
> Gtk-Message: Failed to load module "pk-gtk-module"
> Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 84:
> Having multiple  in  isn't supported and may not work as
> expected
> Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 84:
> Having multiple  in  isn't supported and may not work as
> expected
> Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 93:
> Having multiple  in  isn't supported and may not work as
> expected
> Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 93:
> Having multiple  in  isn't supported and may not work as
> expected
> Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 102:
> Having multiple  in  isn't supported and may not work as
> expected
> Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 102:
> Having multiple  in  isn't supported and may not work as
> expected
> Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 33: Having
> multiple  in  isn't supported and may not work as expected
> Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 33: Having
> multiple  in  isn't supported and may not work as expected
> 
> This version of FF doesn't seem to be happy  with my current font setup in
> CentOS 6.10. 

This is probably because Firefox 60.x uses its own build of gtk3 on el6 
- and I guess there is an incompatibility between gtk3 fontconfig and 
the native el6 fontconfig ?

Try editing /usr/bin/firefox and adding the line:

   export 
FONTCONFIG_FILE="$MOZ_LIB_DIR/firefox/bundled/etc/fonts/fonts.conf"

just before the 'exec' line at the end of the script

James Pearson
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Font related problems with recent FF 60.1

2018-07-15 Thread Liam O'Toole
On 2018-07-15, Kay Schenk
 wrote:
> When I start FF from command line, I'm getting a lot of errors similar
> to these --
>
> Gtk-Message: Failed to load module "canberra-gtk-module" Gtk-Message:
> Failed to load module "pk-gtk-module" Gtk-Message: Failed to load
> module "canberra-gtk-module" Gtk-Message: Failed to load module
> "pk-gtk-module" Fontconfig warning:
> "/etc/fonts/conf.d/30-metric-aliases.conf", line 84: Having multiple
>  in  isn't supported and may not work as expected
> Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line
> 84: Having multiple  in  isn't supported and may not
> work as expected Fontconfig warning:
> "/etc/fonts/conf.d/30-metric-aliases.conf", line 93: Having multiple
>  in  isn't supported and may not work as expected
> Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line
> 93: Having multiple  in  isn't supported and may not
> work as expected Fontconfig warning:
> "/etc/fonts/conf.d/30-metric-aliases.conf", line 102: Having multiple
>  in  isn't supported and may not work as expected
> Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line
> 102: Having multiple  in  isn't supported and may not
> work as expected Fontconfig warning:
> "/etc/fonts/conf.d/40-nonlatin.conf", line 33: Having multiple
>  in  isn't supported and may not work as expected
> Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 33:
> Having multiple  in  isn't supported and may not work
> as expected
>
> This version of FF doesn't seem to be happy  with my current font
> setup in CentOS 6.10. 
>

The warnings appear to come from fontconfig, not firefox. Do you see
something similar when you launch, say, gedit from the command line?

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos