Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 4th June 2008, 11:09 PM
brunson Offline
Registered User
 
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,304
Quote:
Originally Posted by leigh123@linux
This package only provides 2 patches to freetype i.e patented bytecode interpreter and subpixel rendering .

I combined the patches in post #1 as well ( it seems to work well here with my LCD ) .

http://quanli.googlepages.com/davidt...esfordebiansid
Gotcha. Thanks. :-)
__________________
Registered Linux User #4837
411th in line to get sued by Micro$oft
Quote:
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy
Reply With Quote
  #17  
Old 4th June 2008, 11:49 PM
mohbana Offline
Registered User
 
Join Date: Nov 2004
Posts: 110
leigh123@linux thanks alot man, the fonts look suuupppeerrbb.
__________________
Samsung SpinPoint 500GB & 320GB SATA-II, Corsair HX 520W, Corsair 4GB, Quad Q6600 SLACR, EVGA 8800 GTS 512MB, Thermalright Ultra-120 Extreme, Samsung SH-S203NRSMN DVD±RW SATA, Abit IP35, Antec Solo, Dell 22 inch (SP2208WFP), Logitech MX518 & Desktop Wave, Auzen X-Plosion
Reply With Quote
  #18  
Old 5th June 2008, 12:43 AM
Wayne
Guest
 
Posts: n/a
Hi Leigh,

I presume it would be better to remove freetype-freeworld if one was going to use your patched freetype RPM?

Wayne
Reply With Quote
  #19  
Old 5th June 2008, 01:23 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by Wayne
Hi Leigh,

I presume it would be better to remove freetype-freeworld if one was going to use your patched freetype RPM?

Wayne

Hi Wayne,

Yes I would remove the freetype-freeworld package first .


Leigh
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #20  
Old 5th June 2008, 01:30 AM
Wayne
Guest
 
Posts: n/a
Thanks Leigh and thanks for the package!

Wayne
Reply With Quote
  #21  
Old 5th June 2008, 09:39 AM
brebs's Avatar
brebs Offline
Banned
 
Join Date: Apr 2008
Posts: 558
Quote:
Originally Posted by mohbana
I'd really like to the get the *same* font settings as Ubuntu
Use these RPMs which incorporate Ubuntu's patches.
Reply With Quote
  #22  
Old 5th June 2008, 10:10 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by brebs
Use these RPMs which incorporate Ubuntu's patches.
So do my rpm's

http://quanli.googlepages.com/davidt...esfordebiansid
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5

Last edited by leigh123linux; 5th June 2008 at 10:22 AM.
Reply With Quote
  #23  
Old 5th June 2008, 10:43 AM
brebs's Avatar
brebs Offline
Banned
 
Join Date: Apr 2008
Posts: 558
Where's your fontconfig patch then?

As in my 03_lcd_filter_freedesktop_bug13566_fedora.patch in fontconfig-2.5.0-2.fc9.src.rpm
Code:
#define FC_LCD_FILTER_NONE    0
#define FC_LCD_FILTER_DEFAULT 1
#define FC_LCD_FILTER_LIGHT   2
#define FC_LCD_FILTER_LEGACY  3
Ubuntu's patches are best IMO, giving the choice of rendering methods:

lcdfilterdefault, lcdfilterlight, lcdfilterlegacy

There's some variations of the algorithms floating around, also, to give slightly different results. This is because different algorithms look better on different monitors, to different people's eyes.
Reply With Quote
  #24  
Old 5th June 2008, 11:13 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by brebs
Where's your fontconfig patch then?

As in my 03_lcd_filter_freedesktop_bug13566_fedora.patch in fontconfig-2.5.0-2.fc9.src.rpm
Code:
#define FC_LCD_FILTER_NONE    0
#define FC_LCD_FILTER_DEFAULT 1
#define FC_LCD_FILTER_LIGHT   2
#define FC_LCD_FILTER_LEGACY  3
Ubuntu's patches are best IMO, giving the choice of rendering methods:

lcdfilterdefault, lcdfilterlight, lcdfilterlegacy

There's some variations of the algorithms floating around, also, to give slightly different results. This is because different algorithms look better on different monitors, to different people's eyes.
I didn't know about the fontconfig patch ( thanks for pointing it out )
I see you have the same build error .
I prefer not to ignore the RPATH errors and build the package using mock instead.

Code:
* - to ignore standard and empty RPATHs, execute 'rpmbuild' like
*   $ QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild my-package.src.rpm
* - to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths like
*   $ RPM_BUILD_ROOT=<top-dir> /usr/lib/rpm/check-rpaths
*  
*******************************************************************************
ERROR   0001: file '/usr/bin/fc-list' contains a standard rpath '/usr/lib64' in [/usr/lib64]
ERROR   0001: file '/usr/bin/fc-cat' contains a standard rpath '/usr/lib64' in [/usr/lib64]
ERROR   0001: file '/usr/bin/fc-cache' contains a standard rpath '/usr/lib64' in [/usr/lib64]
ERROR   0001: file '/usr/bin/fc-match' contains a standard rpath '/usr/lib64' in [/usr/lib64]
error: Bad exit status from /var/tmp/rpm-tmp.77524 (%install)
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5

Last edited by leigh123linux; 5th June 2008 at 11:44 AM.
Reply With Quote
  #25  
Old 5th June 2008, 11:37 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Patched fontconfig rpm's (without brebs's ubuntu conf's )


i386

http://www.4shared.com/file/50206673...t_i386tar.html



x86_64


http://www.4shared.com/file/50206924...x86_64tar.html




SRPM


I have included the srpm's in both downloads !

build command ( you will need mock installed to build )

i386

Code:
mock -r fedora-9-i386 rebuild --with lcdfilter_config fontconfig-2.5.0-2.fc9.src.rpm

x86_64

Code:
mock -r fedora-9-x86_64 rebuild --with lcdfilter_config fontconfig-2.5.0-2.fc9.src.rpm
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5

Last edited by leigh123linux; 5th June 2008 at 01:22 PM.
Reply With Quote
  #26  
Old 5th June 2008, 12:00 PM
Wayne
Guest
 
Posts: n/a
Leigh, once again, thanks! Having a beer for you right now

Wayne
Reply With Quote
  #27  
Old 5th June 2008, 01:19 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Patched fontconfig rpm's (includes brebs's ubuntu conf's ) , the reason I have done it this way is because I dislike anything to do with ubuntu .
Choice is good


i386

http://www.4shared.com/file/50215064...igi386tar.html




x86_64


http://www.4shared.com/file/50215183...x86_64tar.html



SRPM


I have included the srpm's in both downloads !

build command ( you will need mock installed to build )

i386

Code:
mock -r fedora-9-i386 rebuild --with lcdfilter_config --with ubuntu_fonts_conf  --with ubuntu_monospace_lcd_filter_conf --with ubuntu_add_hinting_and_antialiasing_confs fontconfig-2.5.0-2.fc9.src.rpm

x86_64

Code:
mock -r fedora-9-x86_64 rebuild --with lcdfilter_config --with ubuntu_fonts_conf  --with ubuntu_monospace_lcd_filter_conf --with ubuntu_add_hinting_and_antialiasing_confs fontconfig-2.5.0-2.fc9.src.rpm
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #28  
Old 5th June 2008, 01:29 PM
brebs's Avatar
brebs Offline
Banned
 
Join Date: Apr 2008
Posts: 558
So, as with Ubuntu and my RPMs, you should have 3 different rendering styles available, which are visibly different: default, light and legacy. Do you?
Reply With Quote
  #29  
Old 5th June 2008, 03:34 PM
JN4OldSchool Offline
"Sean The Terrible" -- The forum(er) Vista® rep
 
Join Date: Nov 2005
Posts: 8,823
Quote:
Originally Posted by brebs
So, as with Ubuntu and my RPMs, you should have 3 different rendering styles available, which are visibly different: default, light and legacy. Do you?
Try updating the kernel.
Reply With Quote
  #30  
Old 5th June 2008, 05:43 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by brebs
So, as with Ubuntu and my RPMs, you should have 3 different rendering styles available, which are visibly different: default, light and legacy. Do you?

It seems to work , I had to edit /home/leigh/.Xresources with the desired settings and merge them.

Code:
[leigh@localhost ~]$ xrdb -merge /home/leigh/.Xresources
Is this correct ?


Code:
[leigh@localhost ~]$ xrdb -q | more
*Box.background:	#ece9e9
*Box.foreground:	#000000
*Button.activeBackground:	#ffffff
*Button.activeForeground:	#000000
*Button.background:	#ece9e9
*Button.foreground:	#000000
*Button.highlightBackground:	#ece9e9
*Button.highlightColor:	#000000
*Canvas.activeBackground:	#ffffff
*Canvas.activeForeground:	#000000
*Canvas.background:	#ffffff
*Canvas.foreground:	#000000
*Canvas.highlightBackground:	#ffffff
*Canvas.highlightColor:	#000000
*Canvas.selectbackground:	#008dd7
*Canvas.selectforeground:	#ffffff
*Checkbutton.activeBackground:	#ffffff
*Checkbutton.activeForeground:	#000000
*Checkbutton.background:	#ece9e9
*Checkbutton.foreground:	#000000
*Checkbutton.highlightBackground:	#ece9e9
*Checkbutton.highlightColor:	#000000
*Command.background:	#ece9e9
*Command.foreground:	#000000
*Dialog.background:	#ece9e9
*Dialog.foreground:	#000000
*Entry.activeBackground:	#ffffff
*Entry.activeForeground:	#000000
*Entry.background:	#ffffff
*Entry.foreground:	#000000
*Entry.highlightBackground:	#ffffff
*Entry.highlightColor:	#000000
*Entry.selectBackground:	#008dd7
*Entry.selectForeground:	#ffffff
*Form.background:	#ece9e9
*Form.foreground:	#000000
*Frame.background:	#ece9e9
*Frame.foreground:	#000000
*Label.background:	#ece9e9
*Label.foreground:	#000000
*Label.highlightBackground:	#ece9e9
*Label.highlightColor:	#000000
*Labelframe.background:	#ece9e9
*Labelframe.foreground:	#000000
*Labelframe.highlightColor:	#000000
*List.background:	#ffffff
*List.foreground:	#000000
*Listbox.activeBackground:	#ffffff
*Listbox.activeForeground:	#000000
*Listbox.background:	#ffffff
*Listbox.foreground:	#000000
*Listbox.highlightBackground:	#ffffff
*Listbox.highlightColor:	#000000
*Listbox.selectBackground:	#008dd7
*Listbox.selectForeground:	#ffffff
*Menu.activeBackground:	#008dd7
*Menu.activeForeground:	#ffffff
*Menu.background:	#ece9e9
*Menu.foreground:	#000000
*MenuButton.background:	#ece9e9
*MenuButton.foreground:	#000000
*Menubutton.activeBackground:	#008dd7
*Menubutton.activeForeground:	#ffffff
*Menubutton.background:	#ece9e9
*Menubutton.foreground:	#000000
*Menubutton.highlightBackground:	#ece9e9
*Menubutton.highlightColor:	#000000
*Radiobutton.activeBackground:	#ffffff
*Radiobutton.activeForeground:	#000000
*Radiobutton.background:	#ece9e9
*Radiobutton.foreground:	#000000
*Radiobutton.highlightBackground:	#ece9e9
*Radiobutton.highlightColor:	#000000
*Scale.activeBackground:	#ece9e9
*Scale.activeForeground:	#000000
*Scale.background:	#ece9e9
*Scale.foreground:	#000000
*Scale.highlightBackground:	#ece9e9
*Scale.highlightColor:	#000000
*Scrollbar*background:	#ece9e9
*Scrollbar.activeBackground:	#ffffff
*Scrollbar.background:	#ece9e9
*Scrollbar.foreground:	#000000
*Scrollbar.highlightBackground:	#ece9e9
*Scrollbar.highlightColor:	#000000
*ScrollbarBackground:	#ece9e9
*SimpleMenu*background:	#ece9e9
*SimpleMenu*foreground:	#000000
*Text.activeBackground:	#ffffff
*Text.activeForeground:	#000000
*Text.background:	#ffffff
*Text.foreground:	#000000
*Text.highlightBackground:	#ffffff
*Text.highlightColor:	#000000
*Text.selectBackground:	#008dd7
*Text.selectForeground:	#ffffff
*Toggle.background:	#ece9e9
*Toggle.foreground:	#000000
*Toplevel.activeBackground:	#ece9e9
*Toplevel.activeForeground:	#000000
*Toplevel.background:	#ece9e9
*Toplevel.foreground:	#000000
*Toplevel.highlightBackground:	#ece9e9
*Toplevel.highlightColor:	#000000
*XmCascadeButton.background:	#ece9e9
*XmCascadeButton.foreground:	#000000
*XmCascadeButtonGadget.background:	#ece9e9
*XmCascadeButtonGadget.foreground:	#000000
*XmDialogShell.background:	#ece9e9
*XmDialogShell.foreground:	#000000
*XmFileSelectionBox.background:	#ece9e9
*XmFileSelectionBox.foreground:	#000000
*XmForm.background:	#ece9e9
*XmForm.foreground:	#000000
*XmFrame.background:	#ece9e9
*XmFrame.foreground:	#000000
*XmLabel.background:	#ece9e9
*XmLabel.foreground:	#000000
*XmLabelGadget.background:	#ece9e9
*XmLabelGadget.foreground:	#000000
*XmList.background:	#ffffff
*XmList.foreground:	#000000
*XmMenuShell.background:	#ece9e9
*XmMenuShell.foreground:	#000000
*XmMessageBox.background:	#ece9e9
*XmMessageBox.foreground:	#000000
*XmPanedWindow.background:	#ece9e9
*XmPanedWindow.foreground:	#000000
*XmPushButton.background:	#ece9e9
*XmPushButton.foreground:	#000000
*XmPushButtonGadget.background:	#ece9e9
*XmPushButtonGadget.foreground:	#000000
*XmRowColumn.background:	#ece9e9
*XmRowColumn.foreground:	#000000
*XmSash.background:	#ece9e9
*XmSash.foreground:	#000000
*XmScrollBar.background:	#ece9e9
*XmScrollBar.foreground:	#000000
*XmScrolledWindow.background:	#ece9e9
*XmScrolledWindow.foreground:	#000000
*XmSelectionBox.background:	#ece9e9
*XmSelectionBox.foreground:	#000000
*XmSeparator.background:	#ece9e9
*XmSeparator.foreground:	#000000
*XmSeparatorGadget.background:	#ece9e9
*XmSeparatorGadget.foreground:	#000000
*XmTearOffButton.background:	#ece9e9
*XmTearOffButton.foreground:	#000000
*XmTearOffButtonGadget.background:	#ece9e9
*XmTearOffButtonGadget.foreground:	#000000
*XmText.background:	#ffffff
*XmText.foreground:	#000000
*XmTextField.background:	#ffffff
*XmTextField.foreground:	#000000
*XmToggleButton.background:	#ece9e9
*XmToggleButton.foreground:	#000000
*XmToggleButtonGadget.background:	#ece9e9
*XmToggleButtonGadget.foreground:	#000000
*background:	#ece9e9
*foreground:	#000000
Editres*Panner.Background:	#ece9e9
Editres*Tree.Background:	#ffffff
Editres*Tree.Foreground:	#000000
Editres*Tree.Toggle.Background:	#ece9e9
Editres*Tree.Toggle.Foreground:	#000000
Emacs*Background:	#ffffff
Emacs*Dialog*background:	#ece9e9
Emacs*Dialog*foreground:	#000000
Emacs*Foreground:	#000000
Emacs*XlwScrollBar.Background:	#ece9e9
Emacs*XlwScrollBar.Foreground:	#000000
Emacs*backgroundToolBarColor:	#ece9e9
Emacs*bottomToolBarShadowColor:	#ece9e9
Emacs*menubar*background:	#ece9e9
Emacs*menubar*foreground:	#000000
Emacs*popup*Background:	#ece9e9
Emacs*popup*Foreground:	#000000
Emacs*topToolBarShadowColor:	#ece9e9
Emacs.default.attributeBackground:	#ffffff
Emacs.default.attributeForeground:	#000000
Emacs.mode-line.attributeForeground:	#000000
Emacs.scroll-bar.attributeBackground:	#ece9e9
Emacs.scroll-bar.attributeForeground:	#000000
Emacs.tool-bar.attributeBackground:	#ece9e9
Emacs.tool-bar.attributeForeground:	#000000
Xcursor.size:	18
Xcursor.theme:	default
Xcursor.theme_core:	true
Xft.antialias:	1
Xft.dpi:	96
Xft.hinting:	1
Xft.hintstyle:	hintmedium
Xft.lcdfilter:	lcdfilterlight
Xft.rgba:	rgb
[leigh@localhost ~]$
Thank you for pointing out the patch


Leigh
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5

Last edited by leigh123linux; 5th June 2008 at 05:48 PM.
Reply With Quote
Reply

Tags
cleartypelike, fonts, linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Most common Linux fonts? DennyCrane Linux Chat 8 5th September 2008 02:36 PM
Can't Get Good Hinting on Calibri (or other MS Cleartype fonts) twilightomni Using Fedora 9 13th July 2008 01:06 AM


Current GMT-time: 04:05 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat