You are not logged in.

#26 2011-10-12 06:54:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Chromium 14 - Ugly text rendering

rg_arc wrote:
karol wrote:

What about downgrading the package's dependencies? Sometimes it's necessary.
You can try using e.g. http://arm.konnichi.com/2011/09/15/$repo/os/$arch as the server to downgrade.

That link doesn't work.

It's not a link, don't click it, you put it in your pacman.conf as the server address:

Server = http://arm.konnichi.com/2011/09/15/$repo/os/$arch

I read that you figured things out, but I wanted to make sure you know what to do next time you need to downgrade like this.

Offline

#27 2011-10-12 06:56:30

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium 14 - Ugly text rendering

ah... I see... thanks!

Well I found out how to downgrade and now I am using #13.. but the problem persists with the side by side ll's

rg_edit: Ok I just realized something, I have Chromium and Google-Chrome installed on my Arch system. Google-Chrome still has the same problem as before... but Chromium was downgraded to 13#... So now it seems to have much better font rendering. Wow that clears up alot! LOL 

Does the Google-Chrome package update asynchronous to the Chromium package? Excuse me for asking, I am just curious as to why they behave differently.

Last edited by rg_arc (2011-10-12 07:15:19)

Offline

#28 2011-10-12 07:32:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Chromium 14 - Ugly text rendering

rg_arc wrote:

Does the Google-Chrome package update asynchronous to the Chromium package? Excuse me for asking, I am just curious as to why they behave differently.

Are you asking if it's another package? Yes it is. We don't have Chrome in the repos, only Chromium. You can get Chrome from the AUR e.g. https://aur.archlinux.org/packages.php?ID=37469
I'm not using either and I have no idea about the differences between them.

Offline

#29 2011-10-12 07:37:52

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium 14 - Ugly text rendering

ah ok... thanks for the help

Offline

#30 2011-10-14 22:20:07

john321
Member
Registered: 2011-10-14
Posts: 1

Re: Chromium 14 - Ugly text rendering

packman shmackpan

conary rollback1

voila smile)


bad bad chromium coder:

http://groups.google.com/a/chromium.org … a6fbd5c460


check the text under: "What steps will reproduce the problem?" smile smile

Arrrgh sad

Last edited by john321 (2011-10-14 22:26:32)

Offline

#31 2011-10-14 23:06:46

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium 14 - Ugly text rendering

ridiculous... so basically... those guys just want to waste everyone's time and strain their eyes?

Offline

#32 2011-10-22 19:50:34

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium 14 - Ugly text rendering

Is there any word on a possible fix to this bug yet?

Offline

#33 2011-10-22 20:02:51

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: Chromium 14 - Ugly text rendering

rg_arc wrote:

Is there any word on a possible fix to this bug yet?

No. Comment #13 here lists what needs to be done: http://code.google.com/p/chromium/issue … l?id=96926. But it doesn't seem anyone is actually working on it.

Offline

#34 2011-10-25 19:17:23

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium 14 - Ugly text rendering

the AUR version of Google-Chrome package #15.0 is having the same trouble as the Chromium version. I still haven't found any changes (according to Google)

Offline

#35 2011-10-30 00:48:33

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium 14 - Ugly text rendering

problem still here *bump*

Offline

#36 2011-10-30 10:12:03

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: Chromium 14 - Ugly text rendering

rg_arc wrote:

problem still here *bump*

Of course it's still here, do you see an activity in bug 96926? Bumping this thread won't magically get the necessary code written.

Offline

#37 2011-10-31 01:39:54

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium 14 - Ugly text rendering

I know that but in case someone might know what to do its always helpful to bring the issue to the surface so that someone can take a look at it.

Offline

#38 2011-11-01 11:09:54

Modeler
Member
From: United Kingdom
Registered: 2011-07-28
Posts: 70

Re: Chromium 14 - Ugly text rendering

This is a Chrome issue rather than an Arch issue isn't it? The issue is being officially tracked under the Chromium project, so it'd make more sense to bump it there.


Wirth's law: "Software is getting slower more rapidly than hardware becomes faster"

Offline

#39 2011-11-01 17:31:16

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium 14 - Ugly text rendering

Thanks... and done

Offline

#40 2012-01-25 21:56:38

Modeler
Member
From: United Kingdom
Registered: 2011-07-28
Posts: 70

Re: Chromium 14 - Ugly text rendering

Has anyone found a fix for this yet? Searching for similar threads in other forums turns up a similar bug report, supposedly resolved by creating a ~/.fonts.conf file. That doesn't appear to work on Arch, neither does creating a ~/.Xresources file with equivalent settings.

I haven't used Chromium / Chrome since this bug turned up and I'd like it back at some point please Google!


Wirth's law: "Software is getting slower more rapidly than hardware becomes faster"

Offline

#41 2012-01-25 22:15:07

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium 14 - Ugly text rendering

Looks like its being ignored for more important projects I guess. Chrome/Chromium is my favorite web browser and I hate using Firefox all the time.

Offline

#42 2012-03-05 09:15:10

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium 14 - Ugly text rendering

a patch for the font rendering has been issued here at comment #93 http://code.google.com/p/chromium/issue … l?id=96926

However, I am not sure how to apply the patch. I did a makepkg with ABS but where should I put the patch? I admit I am a bit new to this.

Offline

#43 2012-03-10 21:11:46

ras0ir
Member
From: Ankara/Turkey
Registered: 2008-06-20
Posts: 65
Website

Re: Chromium 14 - Ugly text rendering

The patch on http://www.infinality.net/forum/viewtop … t=40#p1369  fixed ugly rendering issue here.

Offline

#44 2012-03-10 21:18:39

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: Chromium 14 - Ugly text rendering

ras0ir wrote:

The patch on http://www.infinality.net/forum/viewtop … t=40#p1369  fixed ugly rendering issue here.

Wow, people are still on the idiotic Chrome=spyware shtick?

Offline

#45 2012-03-10 22:30:19

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium 14 - Ugly text rendering

ras0ir wrote:

The patch on http://www.infinality.net/forum/viewtop … t=40#p1369  fixed ugly rendering issue here.

AH thanks! Which directory do I cd to in order to apply the patch properly? Do you makpkg from the ABS and then patch Chromium that way? I just want to know specifically how to patch this properly, thanks.

Offline

#46 2012-03-10 23:23:48

ras0ir
Member
From: Ankara/Turkey
Registered: 2008-06-20
Posts: 65
Website

Re: Chromium 14 - Ugly text rendering

rg_arc wrote:
ras0ir wrote:

The patch on http://www.infinality.net/forum/viewtop … t=40#p1369  fixed ugly rendering issue here.

AH thanks! Which directory do I cd to in order to apply the patch properly? Do you makpkg from the ABS and then patch Chromium that way? I just want to know specifically how to patch this properly, thanks.

Yeah, I use makepkg (using ABS).

I've saved the patch as skia.patch to chromium directory. Then modified PKGBUILD:

# $Id: PKGBUILD 152696 2012-03-08 21:37:58Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

# Building for x86_64 requires lib32-glibc & lib32-zlib from [multilib]. These
# libraries are linked from the NaCl toolchain, and are only needed during
# build time.

pkgname=chromium
pkgver=17.0.963.78
pkgrel=1
pkgdesc="The open-source project behind Google Chrome, an attempt at creating a safer, faster, and more stable browser"
arch=('i686' 'x86_64')
url="http://www.chromium.org/"
license=('BSD')
depends=('gtk2' 'dbus-glib' 'nss' 'alsa-lib' 'xdg-utils' 'bzip2' 'libevent'
         'libxss' 'libgcrypt' 'ttf-dejavu' 'desktop-file-utils'
         'hicolor-icon-theme')
makedepends=('python2' 'perl' 'gperf' 'yasm' 'mesa' 'libgnome-keyring'
             'elfutils')
optdepends=('kdebase-kdialog: needed for file dialogs in KDE')
# Needed for the NaCl toolchain
[[ $CARCH == x86_64 ]] && makedepends+=('lib32-zlib')
provides=('chromium-browser')
conflicts=('chromium-browser')
install=chromium.install
source=(http://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.bz2
        http://commondatastorage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/nacl_sdk.zip
        chromium.desktop
        chromium.sh
        gcc-4.6.patch
        nacl-cflags-remove-fstack-protector.patch
        chromium-media-no-sse-r0.patch)
sha256sums=('2956cfeab05def5ab9b21c05a3a49e5d8efadadd4f27c212dd1c185ef05518c9'
            '964fe3a5ec56f2505649aba00f900abe4205674b7fdaa16772647d347173bb01'
            '09bfac44104f4ccda4c228053f689c947b3e97da9a4ab6fa34ce061ee83d0322'
            'c53bfc4db9dde684fbaed6a4bbecb207e3e7a0a2703233426fe076a6d3c557f3'
            '9c5e0803904d1a0e71ab7444c92a7046a34a9518eeba7a70f2eec7abecb8bf4e'
            '59e732880314333d6e9acf6ac99de467c98e8a92aa5c5292ae808a805e0f8d76'
            '71751bf5913da1eec3c88c433044224c869b0abd5a29172cf239bddbb4eff761')

build() {
  cd "$srcdir/chromium-$pkgver"

  # Fix build with gcc 4.6
  # http://code.google.com/p/chromium/issues/detail?id=80071
  patch -Np0 -i "$startdir/skia.patch"
  patch -Np0 -i "$srcdir/gcc-4.6.patch"

  # Filter -fstack-protector out of cflags for nacl_helper_bootstrap
  # http://code.google.com/p/chromium/issues/detail?id=104569
  patch -d native_client -Np1 -i \
    "$srcdir/nacl-cflags-remove-fstack-protector.patch"

  # Remove unconditional use of SSE3 (patch from Gentoo)
  patch -Np0 -i "$srcdir/chromium-media-no-sse-r0.patch"

  # Use Python 2
  find . -type f -exec sed -i -r \
    -e 's|/usr/bin/python$|&2|g' \
    -e 's|(/usr/bin/python2)\.4$|\1|g' \
    {} +
  # There are still a lot of relative calls which need a workaround
  mkdir "$srcdir/python2-path"
  ln -s /usr/bin/python2 "$srcdir/python2-path/python"
  export PATH="$srcdir/python2-path:$PATH"

  pushd "$srcdir/nacl_sdk"
  ./naclsdk update pepper_16
  popd

  ln -s "$srcdir/nacl_sdk/pepper_16/toolchain/linux_x86_newlib" \
    native_client/toolchain/linux_x86_newlib

  # We need to disable system_ssl until "next protocol negotiation" support is
  # available in our nss package.
  # (See https://bugzilla.mozilla.org/show_bug.cgi?id=547312)

  # CFLAGS are passed through release_extra_cflags below
  export -n CFLAGS CXXFLAGS

  build/gyp_chromium -f make build/all.gyp --depth=. \
    -Dno_strict_aliasing=1 \
    -Dwerror= \
    -Dlinux_sandbox_path=/usr/lib/chromium/chromium-sandbox \
    -Dlinux_strip_binary=1 \
    -Drelease_extra_cflags="$CFLAGS" \
    -Dffmpeg_branding=Chrome \
    -Dproprietary_codecs=1 \
    -Duse_system_bzip2=1 \
    -Duse_system_ffmpeg=0 \
    -Duse_system_libevent=1 \
    -Duse_system_libjpeg=0 \
    -Duse_system_libpng=1 \
    -Duse_system_libxml=0 \
    -Duse_system_ssl=0 \
    -Duse_system_yasm=1 \
    -Duse_system_zlib=1 \
    -Duse_gconf=0 \
    $([[ $CARCH == i686 ]] && echo '-Ddisable_sse2=1')

  make chrome chrome_sandbox BUILDTYPE=Release
}

package() {
  cd "$srcdir/chromium-$pkgver"

  install -D out/Release/chrome "$pkgdir/usr/lib/chromium/chromium"

  install -Dm4755 -o root -g root out/Release/chrome_sandbox \
    "$pkgdir/usr/lib/chromium/chromium-sandbox"

  cp out/Release/{{chrome,resources}.pak,libffmpegsumo.so} \
    out/Release/nacl_helper{,_bootstrap} \
    out/Release/{libppGoogleNaClPluginChrome.so,nacl_irt_x86_*.nexe} \
    "$pkgdir/usr/lib/chromium/"

  # These links are only needed when building with system ffmpeg
  #ln -s /usr/lib/libavcodec.so.52 "$pkgdir/usr/lib/chromium/"
  #ln -s /usr/lib/libavformat.so.52 "$pkgdir/usr/lib/chromium/"
  #ln -s /usr/lib/libavutil.so.50 "$pkgdir/usr/lib/chromium/"

  cp -a out/Release/locales out/Release/resources "$pkgdir/usr/lib/chromium/"

  find "$pkgdir/usr/lib/chromium/" -name '*.d' -type f -delete

  install -Dm644 out/Release/chrome.1 "$pkgdir/usr/share/man/man1/chromium.1"

  install -Dm644 "$srcdir/chromium.desktop" \
    "$pkgdir/usr/share/applications/chromium.desktop"

  for size in 16 22 24 32 48 64 128 256; do
    install -Dm644 "chrome/app/theme/chromium/product_logo_$size.png" \
      "$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps/chromium.png"
  done

  install -D "$srcdir/chromium.sh" "$pkgdir/usr/bin/chromium"

  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/chromium/LICENSE"
}

# vim:set ts=2 sw=2 et:

Offline

#47 2012-03-10 23:26:08

rg_arc
Member
Registered: 2011-03-20
Posts: 510

Re: Chromium 14 - Ugly text rendering

Thanks!

Offline

#48 2012-03-23 18:22:14

0wl
Member
Registered: 2012-03-23
Posts: 4

Re: Chromium 14 - Ugly text rendering

ras0ir wrote:
rg_arc wrote:
ras0ir wrote:

The patch on http://www.infinality.net/forum/viewtop … t=40#p1369  fixed ugly rendering issue here.

AH thanks! Which directory do I cd to in order to apply the patch properly? Do you makpkg from the ABS and then patch Chromium that way? I just want to know specifically how to patch this properly, thanks.

Yeah, I use makepkg (using ABS).

I've saved the patch as skia.patch to chromium directory. Then modified PKGBUILD:

# $Id: PKGBUILD 152696 2012-03-08 21:37:58Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

# Building for x86_64 requires lib32-glibc & lib32-zlib from [multilib]. These
# libraries are linked from the NaCl toolchain, and are only needed during
# build time.

pkgname=chromium
pkgver=17.0.963.78
pkgrel=1
pkgdesc="The open-source project behind Google Chrome, an attempt at creating a safer, faster, and more stable browser"
arch=('i686' 'x86_64')
url="http://www.chromium.org/"
license=('BSD')
depends=('gtk2' 'dbus-glib' 'nss' 'alsa-lib' 'xdg-utils' 'bzip2' 'libevent'
         'libxss' 'libgcrypt' 'ttf-dejavu' 'desktop-file-utils'
         'hicolor-icon-theme')
makedepends=('python2' 'perl' 'gperf' 'yasm' 'mesa' 'libgnome-keyring'
             'elfutils')
optdepends=('kdebase-kdialog: needed for file dialogs in KDE')
# Needed for the NaCl toolchain
[[ $CARCH == x86_64 ]] && makedepends+=('lib32-zlib')
provides=('chromium-browser')
conflicts=('chromium-browser')
install=chromium.install
source=(http://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.bz2
        http://commondatastorage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/nacl_sdk.zip
        chromium.desktop
        chromium.sh
        gcc-4.6.patch
        nacl-cflags-remove-fstack-protector.patch
        chromium-media-no-sse-r0.patch)
sha256sums=('2956cfeab05def5ab9b21c05a3a49e5d8efadadd4f27c212dd1c185ef05518c9'
            '964fe3a5ec56f2505649aba00f900abe4205674b7fdaa16772647d347173bb01'
            '09bfac44104f4ccda4c228053f689c947b3e97da9a4ab6fa34ce061ee83d0322'
            'c53bfc4db9dde684fbaed6a4bbecb207e3e7a0a2703233426fe076a6d3c557f3'
            '9c5e0803904d1a0e71ab7444c92a7046a34a9518eeba7a70f2eec7abecb8bf4e'
            '59e732880314333d6e9acf6ac99de467c98e8a92aa5c5292ae808a805e0f8d76'
            '71751bf5913da1eec3c88c433044224c869b0abd5a29172cf239bddbb4eff761')

build() {
  cd "$srcdir/chromium-$pkgver"

  # Fix build with gcc 4.6
  # http://code.google.com/p/chromium/issues/detail?id=80071
  patch -Np0 -i "$startdir/skia.patch"
  patch -Np0 -i "$srcdir/gcc-4.6.patch"

  # Filter -fstack-protector out of cflags for nacl_helper_bootstrap
  # http://code.google.com/p/chromium/issues/detail?id=104569
  patch -d native_client -Np1 -i \
    "$srcdir/nacl-cflags-remove-fstack-protector.patch"

  # Remove unconditional use of SSE3 (patch from Gentoo)
  patch -Np0 -i "$srcdir/chromium-media-no-sse-r0.patch"

  # Use Python 2
  find . -type f -exec sed -i -r \
    -e 's|/usr/bin/python$|&2|g' \
    -e 's|(/usr/bin/python2)\.4$|\1|g' \
    {} +
  # There are still a lot of relative calls which need a workaround
  mkdir "$srcdir/python2-path"
  ln -s /usr/bin/python2 "$srcdir/python2-path/python"
  export PATH="$srcdir/python2-path:$PATH"

  pushd "$srcdir/nacl_sdk"
  ./naclsdk update pepper_16
  popd

  ln -s "$srcdir/nacl_sdk/pepper_16/toolchain/linux_x86_newlib" \
    native_client/toolchain/linux_x86_newlib

  # We need to disable system_ssl until "next protocol negotiation" support is
  # available in our nss package.
  # (See https://bugzilla.mozilla.org/show_bug.cgi?id=547312)

  # CFLAGS are passed through release_extra_cflags below
  export -n CFLAGS CXXFLAGS

  build/gyp_chromium -f make build/all.gyp --depth=. \
    -Dno_strict_aliasing=1 \
    -Dwerror= \
    -Dlinux_sandbox_path=/usr/lib/chromium/chromium-sandbox \
    -Dlinux_strip_binary=1 \
    -Drelease_extra_cflags="$CFLAGS" \
    -Dffmpeg_branding=Chrome \
    -Dproprietary_codecs=1 \
    -Duse_system_bzip2=1 \
    -Duse_system_ffmpeg=0 \
    -Duse_system_libevent=1 \
    -Duse_system_libjpeg=0 \
    -Duse_system_libpng=1 \
    -Duse_system_libxml=0 \
    -Duse_system_ssl=0 \
    -Duse_system_yasm=1 \
    -Duse_system_zlib=1 \
    -Duse_gconf=0 \
    $([[ $CARCH == i686 ]] && echo '-Ddisable_sse2=1')

  make chrome chrome_sandbox BUILDTYPE=Release
}

package() {
  cd "$srcdir/chromium-$pkgver"

  install -D out/Release/chrome "$pkgdir/usr/lib/chromium/chromium"

  install -Dm4755 -o root -g root out/Release/chrome_sandbox \
    "$pkgdir/usr/lib/chromium/chromium-sandbox"

  cp out/Release/{{chrome,resources}.pak,libffmpegsumo.so} \
    out/Release/nacl_helper{,_bootstrap} \
    out/Release/{libppGoogleNaClPluginChrome.so,nacl_irt_x86_*.nexe} \
    "$pkgdir/usr/lib/chromium/"

  # These links are only needed when building with system ffmpeg
  #ln -s /usr/lib/libavcodec.so.52 "$pkgdir/usr/lib/chromium/"
  #ln -s /usr/lib/libavformat.so.52 "$pkgdir/usr/lib/chromium/"
  #ln -s /usr/lib/libavutil.so.50 "$pkgdir/usr/lib/chromium/"

  cp -a out/Release/locales out/Release/resources "$pkgdir/usr/lib/chromium/"

  find "$pkgdir/usr/lib/chromium/" -name '*.d' -type f -delete

  install -Dm644 out/Release/chrome.1 "$pkgdir/usr/share/man/man1/chromium.1"

  install -Dm644 "$srcdir/chromium.desktop" \
    "$pkgdir/usr/share/applications/chromium.desktop"

  for size in 16 22 24 32 48 64 128 256; do
    install -Dm644 "chrome/app/theme/chromium/product_logo_$size.png" \
      "$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps/chromium.png"
  done

  install -D "$srcdir/chromium.sh" "$pkgdir/usr/bin/chromium"

  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/chromium/LICENSE"
}

# vim:set ts=2 sw=2 et:

If this worked, can you please make a AUR entry for it?

Offline

Board footer

Powered by FluxBB