Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: HOWTO: Improve font rendering; premade debs and instructions to patch yourself

  1. #21
    Join Date
    Jun 2006
    Location
    Houston, Texas
    Beans
    327
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Improve font rendering; premade debs and instructions to patch yourself

    Hmm... I looked at your screenshot... your fonts really do not look like mine. Did you copy local.conf to /etc/fonts? Restart the computer? Sorry for the simple questions, just wanted to check. Maybe you could also check if you have a .fonts.conf file in your home directory that is overwriting the local.conf settings. I guess finally you could try

    Code:
    sudo dpkg-reconfigure fontconfig-config
    and make sure that autohinting is on on the first screen. That's about all I can think of.

    Misha

    Quote Originally Posted by dude051 View Post
    Awesome, no errors anymore! But my fonts still stink... I have no idea why none of these patches arent working, its really bothering me now.

  2. #22
    Join Date
    Aug 2006
    Location
    SA, Texas
    Beans
    31
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Improve font rendering; premade debs and instructions to patch yourself

    Well, doing what you recommeded didn't work, it said something about it not being installed.

    Code:
    sudo dpkg-reconfigure fontconfig
    But that worked, and it was selected. Im running XGL using the session method, and I just logged into a normal gnome session and the fonts look good. Seems it has to be with XGL/Compiz's font rendering. Odd... Thanks for all your help man.

  3. #23
    Join Date
    Nov 2005
    Beans
    2,322
    Distro
    Ubuntu Intrepid Ibex (testing)

    Re: HOWTO: Improve font rendering; premade debs and instructions to patch yourself

    fontconfig-config package exists only for Edgy. For Dapper users, it's fontconfig.
    Building on Ubuntu using [pbuilder]
    Other resources [Upgrading from CVS, Gaim2, Anjuta, Rhythmbox]

  4. #24
    Join Date
    Jun 2006
    Location
    Houston, Texas
    Beans
    327
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Improve font rendering; premade debs and instructions to patch yourself

    Well, you could try my compiz font debs, those are the ones I am using (although I tried the dapper ones too, and they work fine as well, but it never hurts to try). I use compiz and just start it like this from a .Xsession file:

    Code:
    #!/bin/sh
    # Start up Xgl, compiz, and GNOME
    
    # Run Xgl server on :1, on top of normal X
    #Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
    Xgl :1 -fullscreen -ac -accel xv:fbo -accel glx:pbuffer &
    
    # Tell subsequent X programs to access the Xgl server at :1
    DISPLAY=:1
    
    # Start Compiz window manager
    #gnome-window-decorator &
    cgwd &
    
    # We start compiz now in Startup Programs in Sessions
    #compiz gconf &
    
    # Fix Shift-Backspace bug
    xmodmap -e "keycode 22 = BackSpace BackSpace Terminate_Server"
    
    # Start GNOME
    exec gnome-session
    Quote Originally Posted by dude051 View Post
    Well, doing what you recommeded didn't work, it said something about it not being installed.

    Code:
    sudo dpkg-reconfigure fontconfig
    But that worked, and it was selected. Im running XGL using the session method, and I just logged into a normal gnome session and the fonts look good. Seems it has to be with XGL/Compiz's font rendering. Odd... Thanks for all your help man.

  5. #25
    Join Date
    Oct 2005
    Beans
    118
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Improve font rendering; premade debs and instructions to patch yourself

    ahm wie need noe edgy patched builds

    Can someone build some für edgy please?

    THX!

  6. #26
    Join Date
    Aug 2006
    Location
    US
    Beans
    1,681

    Re: HOWTO: Improve font rendering; premade debs and instructions to patch yourself

    Would these patches have any (positive) efftect on xft version 2.1.14?

    I tried to patch it out if curiousity but hunk 1/10 failed on xftglyphs.c.
    Code:
    patching file src/xftfreetype.c
    Hunk #1 succeeded at 584 (offset 18 lines).
    patching file src/xftglyphs.c
    Hunk #1 FAILED at 23.
    Hunk #2 succeeded at 42 (offset 2 lines).
    Hunk #3 succeeded at 134 (offset 2 lines).
    Hunk #4 succeeded at 176 (offset 2 lines).
    Hunk #5 succeeded at 197 (offset 2 lines).
    Hunk #6 succeeded at 276 (offset 2 lines).
    Hunk #7 succeeded at 370 (offset 2 lines).
    Hunk #8 succeeded at 382 (offset 2 lines).
    Hunk #9 succeeded at 400 (offset 2 lines).
    Hunk #10 succeeded at 519 (offset 2 lines).
    1 out of 10 hunks FAILED -- saving rejects to file src/xftglyphs.c.rej
    Here is the reject file:

    Code:
    --- src/xftglyphs.c    2006-06-03 18:30:56.000000000 +0800
    +++ src/xftglyphs.c    2006-06-19 01:15:28.000000000 +0800
    @@ -23,8 +23,23 @@
      */
     
     #include "xftint.h"
    -#include <freetype/ftoutln.h>
    +#include FT_OUTLINE_H
    +#if HAVE_FT_GLYPHSLOT_EMBOLDEN
    +#include FT_SYNTHESIS_H
    +#endif
    +
    +
    +/* define the following macro if you want to use a small FIR filter to
    + * reduce color fringes for LCD rendering. If undefined, the original
    + * weird pixel-local color balancing algorithm will be used
    + */
    +#define  FIR_FILTER
     
    +#ifdef FIR_FILTER
    +/* note: keep the filter symetric, or bad things will happen */
    +static const int   fir_filter[5] = { 0x10, 0x40, 0x70, 0x40, 0x10 };
    +
    +#else /* !FIR_FILTER */
     static const int    filters[3][3] = {
         /* red */
     #if 0

Page 3 of 3 FirstFirst 123

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •