Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO]New freetype subpixel font rendering for lcd monitors
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 28, 29, 30  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
chalex20
n00b
n00b


Joined: 27 Sep 2006
Posts: 27

PostPosted: Sun Apr 15, 2007 8:20 pm    Post subject: freetype 2.3.3 - any plans to include it into xeffects? Reply with quote

Portage has had freetype 2.3.3 for some time already. Are there any plans to include it into the xeffects overlay?
_________________
Regards,
Alex Chudnovsky.
Back to top
View user's profile Send private message
jorges
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2005
Posts: 114
Location: Barcelona, Spain

PostPosted: Sun Apr 15, 2007 10:01 pm    Post subject: Color fringes around font egdes Reply with quote

Hi,
I followed this guide and I like the results, but there is something annoying me: color fringes around fonts edges. See example
I've read this thread from beginning to end and it seems people are not having this issue. What could be wrong in my case? My LCD monitor? I tried adjusting gamma, but the effect is still there, quite visible on some cases. I tried also playing with dpi settings, same results. Note I say some cases. Sometimes text is rendered beautifully, others not. The appearance of the effect seems related to the font size. The problem doesn't seem to be tied to any specific app. as I see it on xterms, user interface, firefox, mousepad, etc.
I've been playing with settings and versions for the last two days, and I feel lost. Any hints are appreciated.
My setup: amd64, freetype-2.3.3 (portage, -bindist), cairo-1.4.4 (xeffects, newspr), libXft-2.1.12 (xeffects, newspr), xfce4

jorges
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Apr 15, 2007 10:15 pm    Post subject: Re: Color fringes around font egdes Reply with quote

chalex20 wrote:
Portage has had freetype 2.3.3 for some time already. Are there any plans to include it into the xeffects overlay?

There's no point in duplicating the same ebuild.

jorges wrote:
The appearance of the effect seems related to the font size.

Use ~/.fonts.conf to customize the font settings.
Back to top
View user's profile Send private message
jorges
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2005
Posts: 114
Location: Barcelona, Spain

PostPosted: Sun Apr 15, 2007 10:31 pm    Post subject: Re: Color fringes around font egdes Reply with quote

PaulBredbury wrote:
jorges wrote:
The appearance of the effect seems related to the font size.

Use ~/.fonts.conf to customize the font settings.

Hey, it's you again! Since my posts in this thread, I reinstalled everything as per this guide (that's why I post here now), I am also using the .fonts.conf you posted. Do you mean to add something else to it?

jorges
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Apr 15, 2007 11:22 pm    Post subject: Reply with quote

Yes, use a rule like in /etc/fonts/conf.avail/65-fonts-persian.conf to turn off, for large fonts, whatever's causing the undesired effect. E.g.:
Code:
<match target="font">
    <test name="size" compare="more_eq"><double>24</double></test>
    <edit name="hinting" mode="assign"><bool>false</bool></edit>
</match>

Then close & restart firefox, to see the effect.
Back to top
View user's profile Send private message
jorges
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2005
Posts: 114
Location: Barcelona, Spain

PostPosted: Mon Apr 16, 2007 1:35 am    Post subject: Re: Color fringes around font egdes Reply with quote

jorges wrote:
Hi,
I followed this guide and I like the results, but there is something annoying me: color fringes around fonts edges. See example
I've read this thread from beginning to end and it seems people are not having this issue. What could be wrong in my case? My LCD monitor? I tried adjusting gamma, but the effect is still there, quite visible on some cases. I tried also playing with dpi settings, same results. Note I say some cases. Sometimes text is rendered beautifully, others not. The appearance of the effect seems related to the font size. The problem doesn't seem to be tied to any specific app. as I see it on xterms, user interface, firefox, mousepad, etc.
I've been playing with settings and versions for the last two days, and I feel lost. Any hints are appreciated.
My setup: amd64, freetype-2.3.3 (portage, -bindist), cairo-1.4.4 (xeffects, newspr), libXft-2.1.12 (xeffects, newspr), xfce4

jorges


I solved the problem. I had mozilla-firefox-bin installed, which probably wasn't using the right libraries. I did test with mozilla-firefox at a given moment, but for some reason I saw no improvements then (maybe I have to learn when it is better to shutdown the laptop and get some sleep). Thanks to those that tried to help.

jorges
Back to top
View user's profile Send private message
santaclaws
Apprentice
Apprentice


Joined: 05 Jan 2007
Posts: 161
Location: Deeper Underground

PostPosted: Fri Apr 20, 2007 10:19 am    Post subject: Reply with quote

Hi there..

I do have two problems.

First it concerns opera and xeffects.

Everything that is posted with the 'code' feature in this forum - I mean the green letters - is displayed really really ugly. The rest is ok.

Any hint?


Second it concerns the choice of wallpapers with xfce 4.4.1

When I use the Tango iconset everything works properly. The wallpaper switch is fast. But if I use my favorite iconset Dropline cpu load rises up to 100 % and it is nearly impossible to change the wallpaper with the xfce background option.

Any hint?

Here is my xorg.conf
Code:

Section "ServerLayout"
   Identifier   "X.Org Configured"
   Screen   0   "Screen0" 0 0
   InputDevice   "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
   InputDevice   "USB Mouse" "AlwaysCore"
#No Synaptics touchpad found
EndSection

Section "ServerFlags"
   Option   "AllowMouseOpenFail" "true"
   
EndSection

Section "Files"
   FontPath   "/usr/share/fonts/util"
   FontPath   "/usr/share/fonts/encodings"
   FontPath   "/usr/share/fonts/misc"
   FontPath   "/usr/share/fonts/local"
   FontPath   "/usr/share/fonts/terminus"
   FontPath   "/usr/share/fonts/corefonts"
   FontPath   "/usr/local/share/fonts"
   FontPath   "/usr/share/fonts"
   FontPath   "/usr/share/fonts/default"
   FontPath   "/usr/share/fonts/TTF"
   FontPath   "/usr/share/fonts/arphicfonts"
   FontPath   "/usr/share/fonts/jisx0213"
   FontPath   "/usr/share/fonts/shinonome"
   FontPath   "/usr/share/fonts/baekmuk-fonts"
   FontPath   "/usr/share/fonts/kacst-fonts"
   FontPath   "/usr/share/fonts/sgi-fonts"
   FontPath   "/usr/share/fonts/unfonts"
   FontPath   "/usr/share/fonts/default/ghostscript"
   FontPath   "/usr/share/fonts/xfonts-cronyx-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-misc"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-misc"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-misc"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-misc"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-misc"
EndSection

Section "Module"
   Load   "ddc"
   Load   "vbe"
   Load   "GLcore"
   Load   "dbe"
   Load   "dri"
   Load   "extmod"
   Load   "glx"
   Load   "bitmap"
   Load   "speedo"
   Load   "type1"
   Load   "freetype"
   Load   "record"
EndSection

Section "InputDevice"
   Identifier   "Keyboard0"
   Driver   "kbd"
   Option  "XkbLayout" "de" #de,us
   Option  "XkbVariant" "nodeadkeys"
   Option  "CoreKeyboard"
   Option  "XkbRules"   "xorg"
   Option  "AutoRepeat" "500 30"
   Option   "XkbModel" "pc105"
   #Option   "XkbOptions" "grp:toggle,grp_led:scroll,grp:alt_shift_toggle"
   #Option   "XkbVariant" "winkeys"
EndSection

Section "InputDevice"
   Identifier   "Serial Mouse"
   Driver   "mouse"
   Option   "Protocol" "Microsoft"
   Option   "Device" "/dev/ttyS0"
   Option   "Emulate3Buttons" "true"
   Option   "Emulate3Timeout" "70"
   Option   "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
   Identifier   "PS/2 Mouse"
   Driver   "mouse"
   Option   "Protocol" "IMPS/2"
   Option   "Device" "/dev/misc/psaux"
   Option   "Emulate3Buttons" "true"
   Option   "Emulate3Timeout" "70"
   Option   "SendCoreEvents"  "true"
   Option   "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
   Identifier   "USB Mouse"
   Driver   "mouse"
   Option   "Device" "/dev/input/mice"
   Option   "SendCoreEvents" "true"
   Option   "Protocol" "IMPS/2"
   Option   "ZAxisMapping" "4 5"
   Option   "Buttons" "5"
EndSection

Section "InputDevice"
   Identifier   "Synaptics"
   Driver   "synaptics"
   Option   "Protocol" "event"
   Option   "Device" ""
   Option   "LeftEdge" "1900"
   Option   "RightEdge" "5400"
   Option   "TopEdge" "1900"
   Option   "BottomEdge" "4000"
   Option   "FingerLow" "25"
   Option   "FingerHigh" "30"
   Option   "MaxTapTime" "180"
   Option   "MaxTapMove" "220"
   Option   "VertScrollDelta" "100"
   Option   "MinSpeed" "0.02"
   Option   "MaxSpeed" "0.10"
   Option   "AccelFactor" "0.0010"
   Option   "SHMConfig" "on"
EndSection

# Auto-generated by mkxf86config

Section "Monitor"
   Identifier   "Monitor0"
   HorizSync    30.0 - 60.0
   VertRefresh  60.0 - 60.0
   Option         "dpms" "1"
   Gamma 1.5 1.6 1.6
   Option       "UseEdidDpi"   "false"
   DisplaySize 270 203
   Option "DPI"  "96 x 96"
EndSection

Section "Device"
   ### Available Driver options are:-
   # sw_cursor is needed for some ati and radeon cards
   #Option     "sw_cursor"
   #Option     "hw_cursor"
   #Option     "NoAccel"
   Option     "ShowCache"
   Option     "ShadowFB"
   Option     "UseFBDev"
   Option     "Rotate"
   Identifier  "Card0"
   # The following line is auto-generated by x11-misc/mkxf86config
   Driver      "i810"
   VendorName  "Intel"
   BoardName   "Intel Corporation 82815 CGC "
   BusID       "PCI:0:2:0"
   VideoRam        16384
   Option          "NoAccel"       "false"
   Option          "DRI"           "true"
   Option     "RenderAccel"   "true"
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device   "Card0"
   Monitor   "Monitor0"
   DefaultColorDepth 24
   SubSection "Display"
      Viewport   0 0
      Depth   16
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth   24
      Modes "1024x768" "800x600" "640x480"
   EndSubSection   
EndSection

Section "DRI"
   Mode 0666
EndSection


And here is my ~/.fonts.conf (I tried PaulBredburies version from here https://forums.gentoo.org/viewtopic-t-553246-highlight-.html)

Code:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

   <!-- Info:
   http://forums.gentoo.org/viewtopic-t-511382.html
   http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts
   http://wiki.archlinux.org/index.php/XOrg_Font_Configuration
   -->

   <!-- Reject bitmap fonts in favour of Truetype, Postscript, etc. -->
   <selectfont>
      <rejectfont>
         <pattern>
            <patelt name="scalable">
               <bool>false</bool>
            </patelt>
         </pattern>
      </rejectfont>
   </selectfont>



   <!-- Replace Courier with a better-looking font -->
   <match name="family" target="pattern">
      <test name="family" qual="any">
         <string>Courier</string>
      </test>
      <edit name="family" mode="assign">
         <!-- Other choices - Andale Mono, Courier New, Luxi Mono, Bitstream Vera Sans Mono -->
         <string>Bitstream Vera Sans Mono</string>
      </edit>
   </match>

   <!-- Replace Courier New with a better-looking font -->
   <match name="family" target="pattern">
      <test name="family" qual="any">
         <string>Courier New</string>
      </test>
      <edit name="family" mode="assign">
         <!-- Other choices - Andale Mono, Courier New, Luxi Mono, Bitstream Vera Sans Mono -->
         <string>Bitstream Vera Sans Mono</string>
      </edit>
   </match>


   <!-- hintnone, hintslight, hintmedium, hintfull -->
   <!-- Keep autohint off -->
   <match target="font">
      <edit name="rgba" mode="assign"><const>rgb</const></edit>
      <edit name="autohint" mode="assign"><bool>false</bool></edit>
      <edit name="antialias" mode="assign"><bool>true</bool></edit>
      <edit name="hinting" mode="assign"><bool>true</bool></edit>
      <edit name="hintstyle" mode="assign"><const>hintslight</const></edit>
   </match>


   <!-- Disable hinting for bold fonts -->
   <match target="font">
      <test name="weight" compare="more"><const>medium</const></test>
      <edit name="autohint" mode="assign"><bool>false</bool></edit>
      <edit name="hinting" mode="assign"><bool>false</bool></edit>
   </match>

</fontconfig>



Suggestions welcome :D
_________________
Software is like sex. It is better when ist is free.
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Fri Apr 20, 2007 9:26 pm    Post subject: Reply with quote

santaclaws wrote:
Hi there..

I do have two problems.

First it concerns opera and xeffects.

Everything that is posted with the 'code' feature in this forum - I mean the green letters - is displayed really really ugly. The rest is ok.

Any hint?
Suggestions welcome :D

Please provide screenshot :) (it should look like [this] with fonts forced to verdana/bitstream vera sans mono)
BTW If you want support follow guide closely (e.g. use hintfull instead of hintslight).
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Apr 20, 2007 9:39 pm    Post subject: Reply with quote

santaclaws wrote:
Everything that is posted with the 'code' feature in this forum - I mean the green letters - is displayed really really ugly.
...
<!-- Replace Courier with a better-looking font -->
<!-- Replace Courier New with a better-looking font -->

Don't forget that those rules are useless if the replacement fonts aren't installed on your system.

With fonts, one person's ugly is another person's attractive - just as with women (ducks and runs).

Flick through the fonts you have installed, and choose ones that you like. Also check the font configuration in your browser very carefully.

I think a photograph of the screen is the best thing to show - the screen might be messing up perfectly good fonts, if e.g. the DPI setting is bad for the monitor.
Back to top
View user's profile Send private message
Pajarico
Guru
Guru


Joined: 01 May 2004
Posts: 493
Location: Madrid, España.

PostPosted: Sat Apr 21, 2007 8:35 am    Post subject: Reply with quote

boniek: I see there is a higher version on xeffects overlay than portage, should we upgrade? (if so, where can I fetch freetype-2.3.4_p20070414.tar.gz?)

EDIT Nevermind. Just sync'd portage and freetype-2.3.4 is on the tree. I guess 2.3.4 is higher than 2.3.4-p*?
_________________
Gentoo: the only software worth paying that is free.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Apr 21, 2007 9:55 am    Post subject: Reply with quote

emerge =freetype-2.3.4_p20070414

It is the latest version, and is higher than freetype-2.3.4
Back to top
View user's profile Send private message
Pajarico
Guru
Guru


Joined: 01 May 2004
Posts: 493
Location: Madrid, España.

PostPosted: Sat Apr 21, 2007 12:18 pm    Post subject: Reply with quote

Ah, ok. I thought "p" stood for "pre", but I guess it means "patch"? Now I can access the file.
_________________
Gentoo: the only software worth paying that is free.
Back to top
View user's profile Send private message
santaclaws
Apprentice
Apprentice


Joined: 05 Jan 2007
Posts: 161
Location: Deeper Underground

PostPosted: Sat Apr 21, 2007 12:29 pm    Post subject: Reply with quote

PaulBredbury wrote:
santaclaws wrote:
Everything that is posted with the 'code' feature in this forum - I mean the green letters - is displayed really really ugly.
...
<!-- Replace Courier with a better-looking font -->
<!-- Replace Courier New with a better-looking font -->

Don't forget that those rules are useless if the replacement fonts aren't installed on your system.

With fonts, one person's ugly is another person's attractive - just as with women (ducks and runs).

Flick through the fonts you have installed, and choose ones that you like. Also check the font configuration in your browser very carefully.

I think a photograph of the screen is the best thing to show - the screen might be messing up perfectly good fonts, if e.g. the DPI setting is bad for the monitor.



Here is a screenshot of my desktop:

http://senduit.com/fbe322
_________________
Software is like sex. It is better when ist is free.
Back to top
View user's profile Send private message
santaclaws
Apprentice
Apprentice


Joined: 05 Jan 2007
Posts: 161
Location: Deeper Underground

PostPosted: Sat Apr 21, 2007 12:35 pm    Post subject: Reply with quote

boniek wrote:
santaclaws wrote:
Hi there..

I do have two problems.

First it concerns opera and xeffects.

Everything that is posted with the 'code' feature in this forum - I mean the green letters - is displayed really really ugly. The rest is ok.

Any hint?
Suggestions welcome :D

Please provide screenshot :) (it should look like [this] with fonts forced to verdana/bitstream vera sans mono)
BTW If you want support follow guide closely (e.g. use hintfull instead of hintslight).


I followed the guide closely.
http://wiki.gentoo-xeffects.org/Font_Rendering


And my problem only appears with opera. I tried out several versions of that browser and reinstalled it - but that gave me nothing. :(
Firefox or seamonkey work perfectly. It is a really strange effect.
_________________
Software is like sex. It is better when ist is free.
Back to top
View user's profile Send private message
santaclaws
Apprentice
Apprentice


Joined: 05 Jan 2007
Posts: 161
Location: Deeper Underground

PostPosted: Sat Apr 21, 2007 12:40 pm    Post subject: Reply with quote

PaulBredbury wrote:
santaclaws wrote:
Everything that is posted with the 'code' feature in this forum - I mean the green letters - is displayed really really ugly.
...
<!-- Replace Courier with a better-looking font -->
<!-- Replace Courier New with a better-looking font -->

Don't forget that those rules are useless if the replacement fonts aren't installed on your system.

With fonts, one person's ugly is another person's attractive - just as with women (ducks and runs).

Flick through the fonts you have installed, and choose ones that you like. Also check the font configuration in your browser very carefully.

I think a photograph of the screen is the best thing to show - the screen might be messing up perfectly good fonts, if e.g. the DPI setting is bad for the monitor.


I do have Courier and CourierNew installed.

A screenshot of my desktop is to be found above.

Quote:
With fonts, one person's ugly is another person's attractive - just as with women (ducks and runs).

:lol:
_________________
Software is like sex. It is better when ist is free.
Back to top
View user's profile Send private message
bladus
Apprentice
Apprentice


Joined: 27 Jul 2005
Posts: 233

PostPosted: Tue Apr 24, 2007 9:06 pm    Post subject: Reply with quote

Okay, i just installed everything and i'm amazed. Everything is so much more readable and easier on my eyes.
I didn't know how crappy my fonts looked before ... Thank you!
Back to top
View user's profile Send private message
MartyMcFly
n00b
n00b


Joined: 25 Apr 2007
Posts: 25

PostPosted: Thu Apr 26, 2007 4:07 am    Post subject: Reply with quote

Yes, my fonts look pretty good now. But I still have a problem, there's like a tiny red halo sometimes, and maybe a little bit of yellow too (in sectors where black touches white... like white backgrounds with black letters)... do you know why could this be? I have a 19" LCD, the latest version of cairo, libXft and freetype, I followed the guide to the letter.

Thanks!
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Thu Apr 26, 2007 4:14 am    Post subject: Reply with quote

MartyMcFly wrote:
tiny red halo sometimes, and maybe a little bit of yellow too

Try changing the "subpixel order" (rgb, etc.).

Otherwise, switch from subpixel smoothing to greyscale.
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Thu Apr 26, 2007 6:44 pm    Post subject: Reply with quote

PaulBredbury wrote:

Otherwise, switch from subpixel smoothing to greyscale.

You are effectively disabling newspr this way ;)
Like Paul said, try to change subpixel order to something else. Please post a screen shot.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
|Quantum|
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2004
Posts: 133
Location: Belgium

PostPosted: Fri Jun 01, 2007 2:46 pm    Post subject: Reply with quote

What does the overlay actually do ? All default versions in portage are higher.
Also I don't see this "newspr"-flag, even when I unmask all packages and use

ACCEPT_KEYWORDS="~amd64" emerge -pv cairo

I watched a friend's laptop with Ubuntu. The fonts are small and gorgeous. My Gentoo-box has much bigger fonts and look ugly, even after I followed every possible font-howto.

Also I still have a kind of colored "fuzzyness" around the characters. Changing subpixel hinting types doesn't change anything or for worse.
Back to top
View user's profile Send private message
hornett
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2004
Posts: 84

PostPosted: Mon Jun 04, 2007 12:31 am    Post subject: Reply with quote

I followed this guide before and it worked nicely, but I tried it on a fresh system, and it didn't make any difference.

As above, the newspr flag didn't seem to get applied during the build...
Back to top
View user's profile Send private message
vonr
Guru
Guru


Joined: 23 Mar 2006
Posts: 300

PostPosted: Fri Jun 15, 2007 11:42 am    Post subject: Reply with quote

FYI, the cairo patch does not apply against the newest cairo version (1.4.8).

After some looking around, I found out that the guys from PLD Linux are actively maintaining the patches. You can find the cairo patch here. It applies fine against 1.4.8.
Back to top
View user's profile Send private message
no_point
n00b
n00b


Joined: 17 Feb 2007
Posts: 7

PostPosted: Sat Jun 16, 2007 11:05 pm    Post subject: Reply with quote

boniek wrote:
santaclaws wrote:
Hi there..

I do have two problems.

First it concerns opera and xeffects.

Everything that is posted with the 'code' feature in this forum - I mean the green letters - is displayed really really ugly. The rest is ok.

Any hint?
Suggestions welcome :D

Please provide screenshot :) (it should look like [this] with fonts forced to verdana/bitstream vera sans mono)
BTW If you want support follow guide closely (e.g. use hintfull instead of hintslight).


Hello, I have the same problem with Opera:
Code:
This font is not antialiased and looks ugly.

Could you tell me how did you force this font on your screenshot. I tried messing around with the settings in Tools->Preferences->Web Pages and Advanced->Fonts, but nothing seems to have effect.
EDIT: Nevermind. Added:
Code:
<match target="pattern" name="family">
       <test name="family" qual="any">
          <string>Courier</string>
       </test>
           <edit name="family" mode="assign">
                  <string>Bitstream Vera Sans Mono</string>
           </edit>
     </match>

to my /etc/fonts/local.conf.
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Sun Jun 17, 2007 1:17 pm    Post subject: Reply with quote

vonr wrote:
FYI, the cairo patch does not apply against the newest cairo version (1.4.8).

After some looking around, I found out that the guys from PLD Linux are actively maintaining the patches. You can find the cairo patch here. It applies fine against 1.4.8.

Be aware that there are known problems with cairo-1.4.8.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243811
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
vonr
Guru
Guru


Joined: 23 Mar 2006
Posts: 300

PostPosted: Sun Jun 17, 2007 2:47 pm    Post subject: Reply with quote

boniek wrote:
Be aware that there are known problems with cairo-1.4.8.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243811

They seem to be fixed in the ebuild though: see this bug. Anyway, I don't use OpenOffice, so I can't reproduce anything anyway.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 28, 29, 30  Next
Page 9 of 30

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum