Unix Technical Forum

Fonts messed up after recent X11 patches

This is a discussion on Fonts messed up after recent X11 patches within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> On Sun, 22 Apr 2007 17:04:43 -0500 mg <mg@spamdump.org> wrote: > Manuel Otto wrote: > > On Sun, 22 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

 

LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 02-20-2008, 09:46 PM
nordle
 
Posts: n/a
Default Re: Fonts messed up after recent X11 patches -- workaround

On Sun, 22 Apr 2007 17:04:43 -0500
mg <mg@spamdump.org> wrote:

> Manuel Otto wrote:
> > On Sun, 22 Apr 2007 16:18:39 -0500, mg <mg@spamdump.org> wrote:
> >
> >> AdriVingerhoets@gmail.com wrote:
> >>> On 22 apr, 16:47, mg <m...@spamdump.org> wrote:
> >>>> I recently patched my machine using:
> >>>>
> >>>> x11-6.9.0-i486-14_slack11.0
> >>>> x11-devel-6.9.0-i486-13_slack11.0
> >>>> x11-xvfb-6.9.0-i486-13_slack11.0
> >>>> x11-xnest-6.9.0-i486-13_slack11.0
> >>>> x11-xdmx-6.9.0-i486-13_slack11.0
> >>>> xine-lib-1.1.6-i686-1_slack11.0
> >>>> fontconfig-2.4.2-i486-1_slack11.0
> >>>> freetype-2.3.4-i486-1_slack11.0
> >>>>
> >>>> Fonts look different now. In Firefox it is noticeably different
> >>>> especially on Yahoos website (and web email) where the fonts
> >>>> used in links look very ugly (and different). This was *not* the
> >>>> case before the upgrade. I noticed this immediately after the
> >>>> upgrade.
> >>>>
> >>>> Strangely enough, viewing the same pages on Yahoo using
> >>>> Konqueror the fonts used for links seems unchanged.


1. I ended up recompiling freetype using SlackBuild script.
Except I manually edited ftoption.h line 459
#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
As due to patent issues from Adobe, its not not standard.

2. Edit ~/.fonts.conf to suit, eg:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintfull</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
</fontconfig>

3. Open Firefox, enter url= about:config
font.FreeType2.autohinted = true
font.FreeType2.enable = true
font.antialias.min = 12 (depends on resolution, might find 10 better
or 14)

4. Double check /etc/X11/xorg.conf has:
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
Load "type1"
Load "freetype"

5. Exit xserver, go to command line, ie init 3
run fc-cache -r

6. Re-Install nvidia driver, or whatever third party graphics driver you
might be using.

7. startx again

Should be ok

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-20-2008, 09:49 PM
Manuel Otto
 
Posts: n/a
Default Re: Fonts messed up after recent X11 patches

On Sun, 22 Apr 2007 16:18:39 -0500, mg <mg@spamdump.org> wrote:

>AdriVingerhoets@gmail.com wrote:
>> On 22 apr, 16:47, mg <m...@spamdump.org> wrote:
>>> I recently patched my machine using:
>>>
>>> x11-6.9.0-i486-14_slack11.0
>>> x11-devel-6.9.0-i486-13_slack11.0
>>> x11-xvfb-6.9.0-i486-13_slack11.0
>>> x11-xnest-6.9.0-i486-13_slack11.0
>>> x11-xdmx-6.9.0-i486-13_slack11.0
>>> xine-lib-1.1.6-i686-1_slack11.0
>>> fontconfig-2.4.2-i486-1_slack11.0
>>> freetype-2.3.4-i486-1_slack11.0
>>>
>>> Fonts look different now. In Firefox it is noticeably different
>>> especially on Yahoos website (and web email) where the fonts used in
>>> links look very ugly (and different). This was *not* the case before the
>>> upgrade. I noticed this immediately after the upgrade.
>>>
>>> Strangely enough, viewing the same pages on Yahoo using Konqueror the
>>> fonts used for links seems unchanged.
>>>
>>> Konsole is another application that shows some slight difference in
>>> fonts but it is tolerable.
>>>
>>> Has anyone else seen this? Maybe I've missed something.
>>>
>>> I used the latest pakage: x11-6.9.0-i486-14_slack11.0 instead of
>>> x11-6.9.0-i486-13_slack11.0.tgz
>>>
>>> $ fc-cache --version
>>> fontconfig version 2.4.2
>>>
>>> Any tips, advice or comments would be greatly appreciated.
>>>
>>> TIA
>>> -- MG

>>
>> Have you read this?:
>> Fri Apr 20 13:47:39 CDT 2007
>> patches/packages/x11-6.9.0-i486-14_slack11.0.tgz:
>> Removed old versions of fc-cache and fc-list.
>> Somehow a couple of old fontconfig binaries snuck into this
>> package, and
>> prevent fc-cache from working properly at boot (or any other
>> time).
>> If you've already installed these upgrades, reinstalling the
>> fontconfig
>> package will fix the issue. If you do that, there's no need to
>> reinstall
>> this new x11 package -- it's been fixed so that there's no
>> longer a problem
>> with the package install order (and because those fc-*
>> binaries didn't
>> belong there). Sorry for any inconvenience...
>> Thanks to Petri Kaukasoina for pointing this out.
>> (* Fix *)
>>

>
>Yes, I did see this comment, which is why I used
>x11-6.9.0-i486-14_slack11.0.tgz which, supposedly, fixes the problem, so
>that there is no particular package install order. Please see my first post.
>
>All the fonts are noticeably different and acceptable except for the
>fonts used on Yahoos website. I'm not sure what font they are using but
> with this new patch for X11 the fonts are defaulting to some unknown
>and really ugly font. I use Yahoo email so this is pretty annoying.
>
>I have tried mucking around with the fonts in Firefox to get an
>acceptable looking font but to no avail. The website refuses to use any
>other font.
>
>Has anyone else with the new patches for X11 and Firefox seen this
>weirdness on Yahoo?
>
>Any other ideas or things I could try?
>
>TIA
>
>-- MG
>
>
>

No solution, but this is what's happening:

On yahoo.com a style sheet gets loaded:

http://us.js2.yimg.com/us.yimg.com/l...x_20070405.css

Right on top it says:

>body {font:small/1.2em arial,helvetica,clean,sans-serif;font:x-small;margin:0 10px;min-width:750px;}


(It tries to load arial, if that not available, then it tries
helvetica, if that not available then it tries 'clean').

Arial we never had, helvetica: yes, but it's gone now!!! After
upgrading Slackware 1-.2 to x11-6.8.2-i486-9_slack10.2 helvetica is
gone, and font 'system' too (and who knows what else).

There's some new fonts too, like font 'clean', and taht one gets
loaded at yahoo.com, cause we don't have arial or helvetica.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 02-20-2008, 09:49 PM
Adri
 
Posts: n/a
Default Re: Fonts messed up after recent X11 patches


Manuel Otto schreef:
> On Sun, 22 Apr 2007 16:18:39 -0500, mg <mg@spamdump.org> wrote:
>
> >AdriVingerhoets@gmail.com wrote:
> >> On 22 apr, 16:47, mg <m...@spamdump.org> wrote:
> >>> I recently patched my machine using:
> >>>
> >>> x11-6.9.0-i486-14_slack11.0
> >>> x11-devel-6.9.0-i486-13_slack11.0
> >>> x11-xvfb-6.9.0-i486-13_slack11.0
> >>> x11-xnest-6.9.0-i486-13_slack11.0
> >>> x11-xdmx-6.9.0-i486-13_slack11.0
> >>> xine-lib-1.1.6-i686-1_slack11.0
> >>> fontconfig-2.4.2-i486-1_slack11.0
> >>> freetype-2.3.4-i486-1_slack11.0
> >>>
> >>> Fonts look different now. In Firefox it is noticeably different
> >>> especially on Yahoos website (and web email) where the fonts used in
> >>> links look very ugly (and different). This was *not* the case before the
> >>> upgrade. I noticed this immediately after the upgrade.
> >>>
> >>> Strangely enough, viewing the same pages on Yahoo using Konqueror the
> >>> fonts used for links seems unchanged.
> >>>
> >>> Konsole is another application that shows some slight difference in
> >>> fonts but it is tolerable.
> >>>
> >>> Has anyone else seen this? Maybe I've missed something.
> >>>
> >>> I used the latest pakage: x11-6.9.0-i486-14_slack11.0 instead of
> >>> x11-6.9.0-i486-13_slack11.0.tgz
> >>>
> >>> $ fc-cache --version
> >>> fontconfig version 2.4.2
> >>>
> >>> Any tips, advice or comments would be greatly appreciated.
> >>>
> >>> TIA
> >>> -- MG
> >>
> >> Have you read this?:
> >> Fri Apr 20 13:47:39 CDT 2007
> >> patches/packages/x11-6.9.0-i486-14_slack11.0.tgz:
> >> Removed old versions of fc-cache and fc-list.
> >> Somehow a couple of old fontconfig binaries snuck into this
> >> package, and
> >> prevent fc-cache from working properly at boot (or any other
> >> time).
> >> If you've already installed these upgrades, reinstalling the
> >> fontconfig
> >> package will fix the issue. If you do that, there's no need to
> >> reinstall
> >> this new x11 package -- it's been fixed so that there's no
> >> longer a problem
> >> with the package install order (and because those fc-*
> >> binaries didn't
> >> belong there). Sorry for any inconvenience...
> >> Thanks to Petri Kaukasoina for pointing this out.
> >> (* Fix *)
> >>

> >
> >Yes, I did see this comment, which is why I used
> >x11-6.9.0-i486-14_slack11.0.tgz which, supposedly, fixes the problem, so
> >that there is no particular package install order. Please see my first post.
> >
> >All the fonts are noticeably different and acceptable except for the
> >fonts used on Yahoos website. I'm not sure what font they are using but
> > with this new patch for X11 the fonts are defaulting to some unknown
> >and really ugly font. I use Yahoo email so this is pretty annoying.
> >
> >I have tried mucking around with the fonts in Firefox to get an
> >acceptable looking font but to no avail. The website refuses to use any
> >other font.
> >
> >Has anyone else with the new patches for X11 and Firefox seen this
> >weirdness on Yahoo?
> >
> >Any other ideas or things I could try?
> >
> >TIA
> >
> >-- MG
> >
> >
> >

> No solution, but this is what's happening:
>
> On yahoo.com a style sheet gets loaded:
>
> http://us.js2.yimg.com/us.yimg.com/l...x_20070405.css
>
> Right on top it says:
>
> >body {font:small/1.2em arial,helvetica,clean,sans-serif;font:x-small;margin:0 10px;min-width:750px;}

>
> (It tries to load arial, if that not available, then it tries
> helvetica, if that not available then it tries 'clean').
>
> Arial we never had, helvetica: yes, but it's gone now!!! After
> upgrading Slackware 1-.2 to x11-6.8.2-i486-9_slack10.2 helvetica is
> gone, and font 'system' too (and who knows what else).
>
> There's some new fonts too, like font 'clean', and taht one gets
> loaded at yahoo.com, cause we don't have arial or helvetica.


There are new patches, they probably will fix it:
Wed Apr 25 15:19:06 CDT 2007
patches/packages/fontconfig-2.4.2-i486-2_slack11.0.tgz:
Changed the font paths in /etc/fonts/fonts.conf to point to
where the
fonts actually are, rather than through a symlink. The symlink
(/usr/X11R6/lib/fonts) *should* be made by the aaa_base
package, but
still it's probably best to point to the real location.
Thanks to Zoran Davidovac for the suggestion.
Moved man pages to the proper location and gzipped them.
Created a /var/cache/fontconfig directory.
+--------------------------+
Mon Apr 23 13:32:50 CDT 2007
patches/packages/freetype-2.3.4-i486-2_slack11.0.tgz: Fixed the diffs
for the patented algorithms. Thanks to Eric Hameleers.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 02-20-2008, 09:49 PM
Manuel Otto
 
Posts: n/a
Default Re: Fonts messed up after recent X11 patches

On 26 Apr 2007 14:57:05 -0700, Adri <AdriVingerhoets@gmail.com> wrote:

>
>Manuel Otto schreef:
>> On Sun, 22 Apr 2007 16:18:39 -0500, mg <mg@spamdump.org> wrote:
>>
>> >AdriVingerhoets@gmail.com wrote:
>> >> On 22 apr, 16:47, mg <m...@spamdump.org> wrote:
>> >>> I recently patched my machine using:
>> >>>
>> >>> x11-6.9.0-i486-14_slack11.0
>> >>> x11-devel-6.9.0-i486-13_slack11.0
>> >>> x11-xvfb-6.9.0-i486-13_slack11.0
>> >>> x11-xnest-6.9.0-i486-13_slack11.0
>> >>> x11-xdmx-6.9.0-i486-13_slack11.0
>> >>> xine-lib-1.1.6-i686-1_slack11.0
>> >>> fontconfig-2.4.2-i486-1_slack11.0
>> >>> freetype-2.3.4-i486-1_slack11.0
>> >>>
>> >>> Fonts look different now. In Firefox it is noticeably different
>> >>> especially on Yahoos website (and web email) where the fonts used in
>> >>> links look very ugly (and different). This was *not* the case before the
>> >>> upgrade. I noticed this immediately after the upgrade.
>> >>>
>> >>> Strangely enough, viewing the same pages on Yahoo using Konqueror the
>> >>> fonts used for links seems unchanged.
>> >>>
>> >>> Konsole is another application that shows some slight difference in
>> >>> fonts but it is tolerable.
>> >>>
>> >>> Has anyone else seen this? Maybe I've missed something.
>> >>>
>> >>> I used the latest pakage: x11-6.9.0-i486-14_slack11.0 instead of
>> >>> x11-6.9.0-i486-13_slack11.0.tgz
>> >>>
>> >>> $ fc-cache --version
>> >>> fontconfig version 2.4.2
>> >>>
>> >>> Any tips, advice or comments would be greatly appreciated.
>> >>>
>> >>> TIA
>> >>> -- MG
>> >>
>> >> Have you read this?:
>> >> Fri Apr 20 13:47:39 CDT 2007
>> >> patches/packages/x11-6.9.0-i486-14_slack11.0.tgz:
>> >> Removed old versions of fc-cache and fc-list.
>> >> Somehow a couple of old fontconfig binaries snuck into this
>> >> package, and
>> >> prevent fc-cache from working properly at boot (or any other
>> >> time).
>> >> If you've already installed these upgrades, reinstalling the
>> >> fontconfig
>> >> package will fix the issue. If you do that, there's no need to
>> >> reinstall
>> >> this new x11 package -- it's been fixed so that there's no
>> >> longer a problem
>> >> with the package install order (and because those fc-*
>> >> binaries didn't
>> >> belong there). Sorry for any inconvenience...
>> >> Thanks to Petri Kaukasoina for pointing this out.
>> >> (* Fix *)
>> >>
>> >
>> >Yes, I did see this comment, which is why I used
>> >x11-6.9.0-i486-14_slack11.0.tgz which, supposedly, fixes the problem, so
>> >that there is no particular package install order. Please see my first post.
>> >
>> >All the fonts are noticeably different and acceptable except for the
>> >fonts used on Yahoos website. I'm not sure what font they are using but
>> > with this new patch for X11 the fonts are defaulting to some unknown
>> >and really ugly font. I use Yahoo email so this is pretty annoying.
>> >
>> >I have tried mucking around with the fonts in Firefox to get an
>> >acceptable looking font but to no avail. The website refuses to use any
>> >other font.
>> >
>> >Has anyone else with the new patches for X11 and Firefox seen this
>> >weirdness on Yahoo?
>> >
>> >Any other ideas or things I could try?
>> >
>> >TIA
>> >
>> >-- MG
>> >
>> >
>> >

>> No solution, but this is what's happening:
>>
>> On yahoo.com a style sheet gets loaded:
>>
>> http://us.js2.yimg.com/us.yimg.com/l...x_20070405.css
>>
>> Right on top it says:
>>
>> >body {font:small/1.2em arial,helvetica,clean,sans-serif;font:x-small;margin:0 10px;min-width:750px;}

>>
>> (It tries to load arial, if that not available, then it tries
>> helvetica, if that not available then it tries 'clean').
>>
>> Arial we never had, helvetica: yes, but it's gone now!!! After
>> upgrading Slackware 1-.2 to x11-6.8.2-i486-9_slack10.2 helvetica is
>> gone, and font 'system' too (and who knows what else).
>>
>> There's some new fonts too, like font 'clean', and taht one gets
>> loaded at yahoo.com, cause we don't have arial or helvetica.

>
>There are new patches, they probably will fix it:
>Wed Apr 25 15:19:06 CDT 2007
>patches/packages/fontconfig-2.4.2-i486-2_slack11.0.tgz:
> Changed the font paths in /etc/fonts/fonts.conf to point to
>where the
> fonts actually are, rather than through a symlink. The symlink
> (/usr/X11R6/lib/fonts) *should* be made by the aaa_base
>package, but
> still it's probably best to point to the real location.
> Thanks to Zoran Davidovac for the suggestion.
> Moved man pages to the proper location and gzipped them.
> Created a /var/cache/fontconfig directory.
>+--------------------------+
>Mon Apr 23 13:32:50 CDT 2007
>patches/packages/freetype-2.3.4-i486-2_slack11.0.tgz: Fixed the diffs
> for the patented algorithms. Thanks to Eric Hameleers.


Thanks Adri!

It;s there too for Slackware 10.2:

>Thu Apr 26 12:39:47 CDT 2007
>patches/packages/x11-6.8.2-i486-10_slack10.2.tgz: Fixed some bugs in the
> fontconfig upgrade... Put cache files in /var/cache/fontconfig, not
> /var/X11R6/var/cache/fontconfig. Properly locate and compress fontconfig
> man pages. Thanks to Eef Hartman for pointing these out.
>patches/packages/x11-devel-6.8.2-i486-10_slack10.2.tgz: Recompiled.
>patches/packages/x11-xdmx-6.8.2-i486-10_slack10.2.tgz: Recompiled.
>patches/packages/x11-xnest-6.8.2-i486-10_slack10.2.tgz: Recompiled.
>patches/packages/x11-xvfb-6.8.2-i486-10_slack10.2.tgz: Recompiled.


Checked earlier today, it was not there yet.

Will install now, and let now how it worked.

Manuel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 02-20-2008, 09:49 PM
Manuel Otto
 
Posts: n/a
Default Re: Fonts messed up after recent X11 patches

On Fri, 27 Apr 2007 00:13:52 +0200, Manuel Otto
<not-for-mail@adress.is.invalid> wrote:

>On 26 Apr 2007 14:57:05 -0700, Adri <AdriVingerhoets@gmail.com> wrote:
>
>>
>>Manuel Otto schreef:
>>> On Sun, 22 Apr 2007 16:18:39 -0500, mg <mg@spamdump.org> wrote:
>>>
>>> >AdriVingerhoets@gmail.com wrote:
>>> >> On 22 apr, 16:47, mg <m...@spamdump.org> wrote:
>>> >>> I recently patched my machine using:
>>> >>>
>>> >>> x11-6.9.0-i486-14_slack11.0
>>> >>> x11-devel-6.9.0-i486-13_slack11.0
>>> >>> x11-xvfb-6.9.0-i486-13_slack11.0
>>> >>> x11-xnest-6.9.0-i486-13_slack11.0
>>> >>> x11-xdmx-6.9.0-i486-13_slack11.0
>>> >>> xine-lib-1.1.6-i686-1_slack11.0
>>> >>> fontconfig-2.4.2-i486-1_slack11.0
>>> >>> freetype-2.3.4-i486-1_slack11.0
>>> >>>
>>> >>> Fonts look different now. In Firefox it is noticeably different
>>> >>> especially on Yahoos website (and web email) where the fonts used in
>>> >>> links look very ugly (and different). This was *not* the case before the
>>> >>> upgrade. I noticed this immediately after the upgrade.
>>> >>>
>>> >>> Strangely enough, viewing the same pages on Yahoo using Konqueror the
>>> >>> fonts used for links seems unchanged.
>>> >>>
>>> >>> Konsole is another application that shows some slight difference in
>>> >>> fonts but it is tolerable.
>>> >>>
>>> >>> Has anyone else seen this? Maybe I've missed something.
>>> >>>
>>> >>> I used the latest pakage: x11-6.9.0-i486-14_slack11.0 instead of
>>> >>> x11-6.9.0-i486-13_slack11.0.tgz
>>> >>>
>>> >>> $ fc-cache --version
>>> >>> fontconfig version 2.4.2
>>> >>>
>>> >>> Any tips, advice or comments would be greatly appreciated.
>>> >>>
>>> >>> TIA
>>> >>> -- MG
>>> >>
>>> >> Have you read this?:
>>> >> Fri Apr 20 13:47:39 CDT 2007
>>> >> patches/packages/x11-6.9.0-i486-14_slack11.0.tgz:
>>> >> Removed old versions of fc-cache and fc-list.
>>> >> Somehow a couple of old fontconfig binaries snuck into this
>>> >> package, and
>>> >> prevent fc-cache from working properly at boot (or any other
>>> >> time).
>>> >> If you've already installed these upgrades, reinstalling the
>>> >> fontconfig
>>> >> package will fix the issue. If you do that, there's no need to
>>> >> reinstall
>>> >> this new x11 package -- it's been fixed so that there's no
>>> >> longer a problem
>>> >> with the package install order (and because those fc-*
>>> >> binaries didn't
>>> >> belong there). Sorry for any inconvenience...
>>> >> Thanks to Petri Kaukasoina for pointing this out.
>>> >> (* Fix *)
>>> >>
>>> >
>>> >Yes, I did see this comment, which is why I used
>>> >x11-6.9.0-i486-14_slack11.0.tgz which, supposedly, fixes the problem, so
>>> >that there is no particular package install order. Please see my first post.
>>> >
>>> >All the fonts are noticeably different and acceptable except for the
>>> >fonts used on Yahoos website. I'm not sure what font they are using but
>>> > with this new patch for X11 the fonts are defaulting to some unknown
>>> >and really ugly font. I use Yahoo email so this is pretty annoying.
>>> >
>>> >I have tried mucking around with the fonts in Firefox to get an
>>> >acceptable looking font but to no avail. The website refuses to use any
>>> >other font.
>>> >
>>> >Has anyone else with the new patches for X11 and Firefox seen this
>>> >weirdness on Yahoo?
>>> >
>>> >Any other ideas or things I could try?
>>> >
>>> >TIA
>>> >
>>> >-- MG
>>> >
>>> >
>>> >
>>> No solution, but this is what's happening:
>>>
>>> On yahoo.com a style sheet gets loaded:
>>>
>>> http://us.js2.yimg.com/us.yimg.com/l...x_20070405.css
>>>
>>> Right on top it says:
>>>
>>> >body {font:small/1.2em arial,helvetica,clean,sans-serif;font:x-small;margin:0 10px;min-width:750px;}
>>>
>>> (It tries to load arial, if that not available, then it tries
>>> helvetica, if that not available then it tries 'clean').
>>>
>>> Arial we never had, helvetica: yes, but it's gone now!!! After
>>> upgrading Slackware 1-.2 to x11-6.8.2-i486-9_slack10.2 helvetica is
>>> gone, and font 'system' too (and who knows what else).
>>>
>>> There's some new fonts too, like font 'clean', and taht one gets
>>> loaded at yahoo.com, cause we don't have arial or helvetica.

>>
>>There are new patches, they probably will fix it:
>>Wed Apr 25 15:19:06 CDT 2007
>>patches/packages/fontconfig-2.4.2-i486-2_slack11.0.tgz:
>> Changed the font paths in /etc/fonts/fonts.conf to point to
>>where the
>> fonts actually are, rather than through a symlink. The symlink
>> (/usr/X11R6/lib/fonts) *should* be made by the aaa_base
>>package, but
>> still it's probably best to point to the real location.
>> Thanks to Zoran Davidovac for the suggestion.
>> Moved man pages to the proper location and gzipped them.
>> Created a /var/cache/fontconfig directory.
>>+--------------------------+
>>Mon Apr 23 13:32:50 CDT 2007
>>patches/packages/freetype-2.3.4-i486-2_slack11.0.tgz: Fixed the diffs
>> for the patented algorithms. Thanks to Eric Hameleers.

>
>Thanks Adri!
>
>It;s there too for Slackware 10.2:
>
>>Thu Apr 26 12:39:47 CDT 2007
>>patches/packages/x11-6.8.2-i486-10_slack10.2.tgz: Fixed some bugs in the
>> fontconfig upgrade... Put cache files in /var/cache/fontconfig, not
>> /var/X11R6/var/cache/fontconfig. Properly locate and compress fontconfig
>> man pages. Thanks to Eef Hartman for pointing these out.
>>patches/packages/x11-devel-6.8.2-i486-10_slack10.2.tgz: Recompiled.
>>patches/packages/x11-xdmx-6.8.2-i486-10_slack10.2.tgz: Recompiled.
>>patches/packages/x11-xnest-6.8.2-i486-10_slack10.2.tgz: Recompiled.
>>patches/packages/x11-xvfb-6.8.2-i486-10_slack10.2.tgz: Recompiled.

>
>Checked earlier today, it was not there yet.
>
>Will install now, and let now how it worked.
>
>Manuel


After install: no change at all. Still font helvetica is not there,
see no changes with the ugly font at yahoo.com

Am I forgetting something?

Did telinit 1, then upgradepkg *.tgz

Could it have anything to with the always present lines:

>Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
>Could not init font path element /usr/X11R6/lib/X11/fonts/local/, removing from list!
>Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
>Could not init font path element /usr/X11R6/lib/X11/fonts/cyrillic/, removing from list!


in /var/log/Xorg.0.log ?

Manuel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 02-20-2008, 09:49 PM
mg
 
Posts: n/a
Default Re: Fonts messed up after recent X11 patches

Manuel Otto wrote:
> On Sun, 22 Apr 2007 16:18:39 -0500, mg <mg@spamdump.org> wrote:
>
>> AdriVingerhoets@gmail.com wrote:
>>> On 22 apr, 16:47, mg <m...@spamdump.org> wrote:
>>>> I recently patched my machine using:
>>>>
>>>> x11-6.9.0-i486-14_slack11.0
>>>> x11-devel-6.9.0-i486-13_slack11.0
>>>> x11-xvfb-6.9.0-i486-13_slack11.0
>>>> x11-xnest-6.9.0-i486-13_slack11.0
>>>> x11-xdmx-6.9.0-i486-13_slack11.0
>>>> xine-lib-1.1.6-i686-1_slack11.0
>>>> fontconfig-2.4.2-i486-1_slack11.0
>>>> freetype-2.3.4-i486-1_slack11.0
>>>>
>>>> Fonts look different now. In Firefox it is noticeably different
>>>> especially on Yahoos website (and web email) where the fonts used in
>>>> links look very ugly (and different). This was *not* the case before the
>>>> upgrade. I noticed this immediately after the upgrade.
>>>>
>>>> Strangely enough, viewing the same pages on Yahoo using Konqueror the
>>>> fonts used for links seems unchanged.
>>>>
>>>> Konsole is another application that shows some slight difference in
>>>> fonts but it is tolerable.
>>>>
>>>> Has anyone else seen this? Maybe I've missed something.
>>>>
>>>> I used the latest pakage: x11-6.9.0-i486-14_slack11.0 instead of
>>>> x11-6.9.0-i486-13_slack11.0.tgz
>>>>
>>>> $ fc-cache --version
>>>> fontconfig version 2.4.2
>>>>
>>>> Any tips, advice or comments would be greatly appreciated.
>>>>
>>>> TIA
>>>> -- MG
>>> Have you read this?:
>>> Fri Apr 20 13:47:39 CDT 2007
>>> patches/packages/x11-6.9.0-i486-14_slack11.0.tgz:
>>> Removed old versions of fc-cache and fc-list.
>>> Somehow a couple of old fontconfig binaries snuck into this
>>> package, and
>>> prevent fc-cache from working properly at boot (or any other
>>> time).
>>> If you've already installed these upgrades, reinstalling the
>>> fontconfig
>>> package will fix the issue. If you do that, there's no need to
>>> reinstall
>>> this new x11 package -- it's been fixed so that there's no
>>> longer a problem
>>> with the package install order (and because those fc-*
>>> binaries didn't
>>> belong there). Sorry for any inconvenience...
>>> Thanks to Petri Kaukasoina for pointing this out.
>>> (* Fix *)
>>>

>> Yes, I did see this comment, which is why I used
>> x11-6.9.0-i486-14_slack11.0.tgz which, supposedly, fixes the problem, so
>> that there is no particular package install order. Please see my first post.
>>
>> All the fonts are noticeably different and acceptable except for the
>> fonts used on Yahoos website. I'm not sure what font they are using but
>> with this new patch for X11 the fonts are defaulting to some unknown
>> and really ugly font. I use Yahoo email so this is pretty annoying.
>>
>> I have tried mucking around with the fonts in Firefox to get an
>> acceptable looking font but to no avail. The website refuses to use any
>> other font.
>>
>> Has anyone else with the new patches for X11 and Firefox seen this
>> weirdness on Yahoo?
>>
>> Any other ideas or things I could try?
>>
>> TIA
>>
>> -- MG
>>
>>
>>

> No solution, but this is what's happening:
>
> On yahoo.com a style sheet gets loaded:
>
> http://us.js2.yimg.com/us.yimg.com/l...x_20070405.css
>
> Right on top it says:
>
>> body {font:small/1.2em arial,helvetica,clean,sans-serif;font:x-small;margin:0 10px;min-width:750px;}

>
> (It tries to load arial, if that not available, then it tries
> helvetica, if that not available then it tries 'clean').
>
> Arial we never had, helvetica: yes, but it's gone now!!! After
> upgrading Slackware 1-.2 to x11-6.8.2-i486-9_slack10.2 helvetica is
> gone, and font 'system' too (and who knows what else).
>
> There's some new fonts too, like font 'clean', and taht one gets
> loaded at yahoo.com, cause we don't have arial or helvetica.


Manual, thanks for checking Yahoo. However, I have the Arial font
installed i.e. if I go to change fonts in Firefox I can select Arial. I
have webcore TrueType fonts installed. I checked this using xlsfonts and
Arial shows up.

Shouldn't the style sheet find it, if Firefox and X can find it?

Someone else mentioned that fontconfig patches were released yesterday
.... I might apply these over the weekend and see if it fixes the
problem. Although after reading the changelog I doubt it will.

-- MG

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 02-20-2008, 09:49 PM
nordle
 
Posts: n/a
Default Re: Fonts messed up after recent X11 patches

On Fri, 27 Apr 2007 00:30:53 +0200
Manuel Otto <not-for-mail@adress.is.invalid> wrote:

> On Fri, 27 Apr 2007 00:13:52 +0200, Manuel Otto
> <not-for-mail@adress.is.invalid> wrote:
>
> >On 26 Apr 2007 14:57:05 -0700, Adri <AdriVingerhoets@gmail.com>
> >wrote:
> >
> >>
> >>Manuel Otto schreef:
> >>> On Sun, 22 Apr 2007 16:18:39 -0500, mg <mg@spamdump.org> wrote:
> >>>
> >>> >AdriVingerhoets@gmail.com wrote:
> >>> >> On 22 apr, 16:47, mg <m...@spamdump.org> wrote:
> >>> >>> I recently patched my machine using:
> >>> >>>
> >>> >>> x11-6.9.0-i486-14_slack11.0
> >>> >>> x11-devel-6.9.0-i486-13_slack11.0
> >>> >>> x11-xvfb-6.9.0-i486-13_slack11.0
> >>> >>> x11-xnest-6.9.0-i486-13_slack11.0
> >>> >>> x11-xdmx-6.9.0-i486-13_slack11.0
> >>> >>> xine-lib-1.1.6-i686-1_slack11.0
> >>> >>> fontconfig-2.4.2-i486-1_slack11.0
> >>> >>> freetype-2.3.4-i486-1_slack11.0
> >>> >>>
> >>> >>> Fonts look different now. In Firefox it is noticeably
> >>> >>> different especially on Yahoos website (and web email) where
> >>> >>> the fonts used in links look very ugly (and different). This
> >>> >>> was *not* the case before the upgrade. I noticed this
> >>> >>> immediately after the upgrade.
> >>> >>>
> >>> >>> Strangely enough, viewing the same pages on Yahoo using
> >>> >>> Konqueror the fonts used for links seems unchanged.
> >>> >>>
> >>> >>> Konsole is another application that shows some slight
> >>> >>> difference in fonts but it is tolerable.
> >>> >>>
> >>> >>> Has anyone else seen this? Maybe I've missed something.
> >>> >>>
> >>> >>> I used the latest pakage: x11-6.9.0-i486-14_slack11.0 instead
> >>> >>> of x11-6.9.0-i486-13_slack11.0.tgz
> >>> >>>
> >>> >>> $ fc-cache --version
> >>> >>> fontconfig version 2.4.2
> >>> >>>
> >>> >>> Any tips, advice or comments would be greatly appreciated.
> >>> >>>
> >>> >>> TIA
> >>> >>> -- MG
> >>> >>
> >>> >> Have you read this?:
> >>> >> Fri Apr 20 13:47:39 CDT 2007
> >>> >> patches/packages/x11-6.9.0-i486-14_slack11.0.tgz:
> >>> >> Removed old versions of fc-cache and fc-list.
> >>> >> Somehow a couple of old fontconfig binaries snuck into
> >>> >> this package, and
> >>> >> prevent fc-cache from working properly at boot (or any
> >>> >> other time).
> >>> >> If you've already installed these upgrades,
> >>> >> reinstalling the fontconfig
> >>> >> package will fix the issue. If you do that, there's no
> >>> >> need to reinstall
> >>> >> this new x11 package -- it's been fixed so that
> >>> >> there's no longer a problem
> >>> >> with the package install order (and because those fc-*
> >>> >> binaries didn't
> >>> >> belong there). Sorry for any inconvenience...
> >>> >> Thanks to Petri Kaukasoina for pointing this out.
> >>> >> (* Fix *)
> >>> >>
> >>> >
> >>> >Yes, I did see this comment, which is why I used
> >>> >x11-6.9.0-i486-14_slack11.0.tgz which, supposedly, fixes the
> >>> >problem, so that there is no particular package install order.
> >>> >Please see my first post.
> >>> >
> >>> >All the fonts are noticeably different and acceptable except for
> >>> >the fonts used on Yahoos website. I'm not sure what font they
> >>> >are using but
> >>> > with this new patch for X11 the fonts are defaulting to some
> >>> > unknown
> >>> >and really ugly font. I use Yahoo email so this is pretty
> >>> >annoying.
> >>> >
> >>> >I have tried mucking around with the fonts in Firefox to get an
> >>> >acceptable looking font but to no avail. The website refuses to
> >>> >use any other font.
> >>> >
> >>> >Has anyone else with the new patches for X11 and Firefox seen
> >>> >this weirdness on Yahoo?
> >>> >
> >>> >Any other ideas or things I could try?
> >>> >
> >>> >TIA
> >>> >
> >>> >-- MG
> >>> >
> >>> >
> >>> >
> >>> No solution, but this is what's happening:
> >>>
> >>> On yahoo.com a style sheet gets loaded:
> >>>
> >>> http://us.js2.yimg.com/us.yimg.com/l...x_20070405.css
> >>>
> >>> Right on top it says:
> >>>
> >>> >body {font:small/1.2em
> >>> >arial,helvetica,clean,sans-serif;font:x-small;margin:0
> >>> >10px;min-width:750px;}
> >>>
> >>> (It tries to load arial, if that not available, then it tries
> >>> helvetica, if that not available then it tries 'clean').
> >>>
> >>> Arial we never had, helvetica: yes, but it's gone now!!! After
> >>> upgrading Slackware 1-.2 to x11-6.8.2-i486-9_slack10.2 helvetica
> >>> is gone, and font 'system' too (and who knows what else).
> >>>
> >>> There's some new fonts too, like font 'clean', and taht one gets
> >>> loaded at yahoo.com, cause we don't have arial or helvetica.
> >>
> >>There are new patches, they probably will fix it:
> >>Wed Apr 25 15:19:06 CDT 2007
> >>patches/packages/fontconfig-2.4.2-i486-2_slack11.0.tgz:
> >> Changed the font paths in /etc/fonts/fonts.conf to point to
> >>where the
> >> fonts actually are, rather than through a symlink. The
> >> symlink (/usr/X11R6/lib/fonts) *should* be made by the aaa_base
> >>package, but
> >> still it's probably best to point to the real location.
> >> Thanks to Zoran Davidovac for the suggestion.
> >> Moved man pages to the proper location and gzipped them.
> >> Created a /var/cache/fontconfig directory.
> >>+--------------------------+
> >>Mon Apr 23 13:32:50 CDT 2007
> >>patches/packages/freetype-2.3.4-i486-2_slack11.0.tgz: Fixed the
> >>diffs
> >> for the patented algorithms. Thanks to Eric Hameleers.

> >
> >Thanks Adri!
> >
> >It;s there too for Slackware 10.2:
> >
> >>Thu Apr 26 12:39:47 CDT 2007
> >>patches/packages/x11-6.8.2-i486-10_slack10.2.tgz: Fixed some bugs
> >>in the
> >> fontconfig upgrade... Put cache files in /var/cache/fontconfig,
> >> not /var/X11R6/var/cache/fontconfig. Properly locate and compress
> >> fontconfig man pages. Thanks to Eef Hartman for pointing these
> >> out.
> >>patches/packages/x11-devel-6.8.2-i486-10_slack10.2.tgz: Recompiled.
> >>patches/packages/x11-xdmx-6.8.2-i486-10_slack10.2.tgz: Recompiled.
> >>patches/packages/x11-xnest-6.8.2-i486-10_slack10.2.tgz: Recompiled.
> >>patches/packages/x11-xvfb-6.8.2-i486-10_slack10.2.tgz: Recompiled.

> >
> >Checked earlier today, it was not there yet.
> >
> >Will install now, and let now how it worked.
> >
> >Manuel

>
> After install: no change at all. Still font helvetica is not there,
> see no changes with the ugly font at yahoo.com
>
> Am I forgetting something?
>
> Did telinit 1, then upgradepkg *.tgz
>
> Could it have anything to with the always present lines:
>
> >Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
> >removing from list! Could not init font path
> >element /usr/X11R6/lib/X11/fonts/local/, removing from list! Could
> >not init font path element /usr/X11R6/lib/X11/fonts/Speedo/,
> >removing from list! Could not init font path
> >element /usr/X11R6/lib/X11/fonts/cyrillic/, removing from list!

>
> in /var/log/Xorg.0.log ?
>
> Manuel


did you try the things I mentioned earlier, worked for me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 02-20-2008, 09:49 PM
Eef Hartman
 
Posts: n/a
Default Re: Fonts messed up after recent X11 patches

nordle <na@na.na> wrote:
>Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
>removing from list!
>Could not init font path element /usr/X11R6/lib/X11/fonts/local/,
>removing from list!
>Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/,
>removing from list!


Those three are normally empty (Speedo fonts used to be in the x11-fonts-scale
package, but that one currently only contains Type1 and TTF fonts, although
the description hasn't been adapted to that yet.

>Could not init font path element /usr/X11R6/lib/X11/fonts/cyrillic/,
>removing from list!


While this one is only filled when you install the x11-fonts-cyrillic
package (they are the fonts for the Russian language).
--
************************************************** ******************
** Eef Hartman, Delft University of Technology, dept. EWI/TW **
** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 **
** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands **
************************************************** ******************
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 02-20-2008, 09:49 PM
Franklin
 
Posts: n/a
Default Re: Fonts messed up after recent X11 patches

On Fri, 27 Apr 2007 00:30:53 +0200, Manuel Otto wrote:

> After install: no change at all.


FWIW

My desktop box and my laptop each have seperate installs of Slackware-11.0
and -current. All Slackware 11.0 installs (laptop and desktop) work
correctly with up-to-date patches installed. Both -current installs
remain broken with respect to Yahoo fonts (for example) regardless of
browser or window manager. I plan on trying to figure this out tonight.
If I find something useful I'll post it.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 02-20-2008, 09:49 PM
Franklin
 
Posts: n/a
Default Re: Fonts messed up after recent X11 patches

On Fri, 27 Apr 2007 20:13:36 +0000, Franklin wrote:

> I plan on trying to figure this out tonight.
> If I find something useful I'll post it.


As suggested in the changelog, unistalling, then re-installing the
fontconfig package fixes things in current as well. For my part, I
misunderstood the directions as indicating that the installation of the
new X11 package would negate the need to re-install fontconfig. I needed
to reinstall my extra fonts before they were recognized, but perhaps the
rebooting process would have solved that as well - I did not reboot so I
do not know.

HTH
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump