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 ... 5, 6, 7 ... 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
kamracik
Apprentice
Apprentice


Joined: 01 Apr 2006
Posts: 219
Location: Poland->Lodz

PostPosted: Sat Feb 17, 2007 8:19 pm    Post subject: Reply with quote

ok now i made all this and it looks really nice :) with small exception..

http://www.ftims.com/screen.png
http://www.ftims.com/screen2.png (it's error 404, this file exist :D)
http://www.ftims.com/screen4.png (small blue inscription on left)

try all things here i think, combine diffrent values in fontconfig but nothing helps for that cases :/
Back to top
View user's profile Send private message
renrutal
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2005
Posts: 135
Location: Brazil

PostPosted: Sat Feb 17, 2007 9:04 pm    Post subject: Reply with quote

Umm, the move from freetype 2.2 to 2.3 changed the looks a bit. The fonts are bolder now.

I didn't like it much(but it does look good), so I found a "fix": Change the font hinting to Full.

In KDE it can be found in Control Center > Look & Themes (I'm translating from Portuguese) > Fonts > |Check| Anti-aliasing > Hinting: Full
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Mon Feb 19, 2007 12:42 am    Post subject: Reply with quote

Filter flags are gone now. Installing without bindist gives us bci and default filter. Updated guide to reflect this.
kamracik wrote:
ok now i made all this and it looks really nice :) with small exception..

http://www.ftims.com/screen.png
http://www.ftims.com/screen2.png (it's error 404, this file exist :D)
http://www.ftims.com/screen4.png (small blue inscription on left)

try all things here i think, combine diffrent values in fontconfig but nothing helps for that cases :/

Please don't mess with fontconfig. Force fonts in your browser for Central European to something else. About this "inscription". Are you talking about "expanded!" thing? It is just the way this font looks.

Bartmanw wrote:

Here it is:

Code:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/cairo-1.3.12  USE="X newspr -debug -directfb -doc -glitz -svg -xcb" 0 kB [1]
[ebuild   R   ] x11-libs/libXft-2.1.12  USE="newspr -debug" 0 kB [1]
[ebuild   R   ] media-libs/freetype-2.3.1_p20070207  USE="filter_default zlib -bindist -demos -doc -filter_legacy -filter_light" 0 kB [1]

Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
Portage overlays:
 [1] /usr/portage/local/layman/xeffects

Looks OK. Try recompiling everything that depends on cairo, libXft and freetype.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Mon Feb 19, 2007 1:57 am    Post subject: Reply with quote

boniek, please contact via irc. I want to get you setup on the xeffects wiki so you can post the guide there. Just like to keep all xeffects documentation in the same spot.
Back to top
View user's profile Send private message
kamracik
Apprentice
Apprentice


Joined: 01 Apr 2006
Posts: 219
Location: Poland->Lodz

PostPosted: Mon Feb 19, 2007 5:06 pm    Post subject: Reply with quote

thx boniek ;) i didnt think about it :) simply changed font to Times New Roman and everything back to normal :)
Back to top
View user's profile Send private message
Kate Monster
Apprentice
Apprentice


Joined: 13 Jun 2006
Posts: 226
Location: Clarkston, Michigan

PostPosted: Mon Feb 19, 2007 9:16 pm    Post subject: Reply with quote

My fonts look great now. Thank you :)

Nice avatar btw.
Back to top
View user's profile Send private message
peka
l33t
l33t


Joined: 16 Mar 2005
Posts: 773
Location: Płońsk, Poland

PostPosted: Tue Feb 20, 2007 6:20 pm    Post subject: Reply with quote

I got lost :(
After some recent update to freetype (withdrawn use flags) or something else my fonts look bad again.
Which freetype version is recommended?
_________________
p3k4

Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light
Back to top
View user's profile Send private message
anli
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2006
Posts: 80

PostPosted: Tue Feb 20, 2007 6:25 pm    Post subject: Reply with quote

peka wrote:
I got lost :(
After some recent update to freetype (withdrawn use flags) or something else my fonts look bad again.
Which freetype version is recommended?

Not sure it is a reason. I was forced to mask last cairo 1.3.14 from official portage tree as xeffects SVN is not available for me during last days.
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Tue Feb 20, 2007 6:52 pm    Post subject: Reply with quote

Peka, this happened because you installed cairo from portage instead of overlay just as anli said. I have just updated cairo in overlay to 1.3.14. Sorry for delay.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors


Last edited by boniek on Tue Feb 20, 2007 6:56 pm; edited 2 times in total
Back to top
View user's profile Send private message
anli
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2006
Posts: 80

PostPosted: Tue Feb 20, 2007 6:54 pm    Post subject: Reply with quote

boniek wrote:
I have just updated cairo in overlay to 1.3.14. Sorry for delay.


I have this reply:

svn up
svn: PROPFIND request failed on '/xeffects/trunk'
svn: PROPFIND of '/xeffects/trunk': 500 Internal Server Error (http://svn.gentoo-xeffects.org)

Few messages ago you have written to be patient. I still am :)
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Tue Feb 20, 2007 6:56 pm    Post subject: Reply with quote

Anli, xeffects overlay changed its address to svn://svn.gentoo-xeffects.org/xeffects/trunk. Remove your local tree and check it out again but from new address this time.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
peka
l33t
l33t


Joined: 16 Mar 2005
Posts: 773
Location: Płońsk, Poland

PostPosted: Tue Feb 20, 2007 7:14 pm    Post subject: Reply with quote

boniek wrote:
Peka, this happened because you installed cairo from portage instead of overlay just as anli said. I have just updated cairo in overlay to 1.3.14. Sorry for delay.

No harm done :)
Cheers Mate!
_________________
p3k4

Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light
Back to top
View user's profile Send private message
anli
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2006
Posts: 80

PostPosted: Tue Feb 20, 2007 7:23 pm    Post subject: Reply with quote

boniek wrote:
Anli, xeffects overlay changed its address to svn://svn.gentoo-xeffects.org/xeffects/trunk. Remove your local tree and check it out again but from new address this time.

Thanks! - updating just now.
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Tue Feb 20, 2007 7:29 pm    Post subject: Reply with quote

Ok,

Anyone here have ghostscript/cups support with media-fonts/gnu-gs-fonts-std installed?

I tried to rebuild my font cache (fc-cache) and this package causes fc-cache to hang and drive the CPU though the roof. I unmerged it and fc-cache worked fine.

The problem is it appears to be a dep of any of the ghostscript builds in portage.

If I leave it installed, I cannot run kdm as kdm_greet stalls (looks like it wants to rebuild the font cache at some point) and cpu goes to 100%.

Any ideas on why this particular font package is not liking fontconfig/freetype?

I had everything working fine until upgrade to new freetype/cairo/libxft, so I assume it's related...

Any help would be appreciated as this is driving me mad.
_________________
If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Tue Feb 20, 2007 9:45 pm    Post subject: Reply with quote

Thanks for reporting. I can reproduce this problem on my machine. It seems to be bug in cvs version of freetype (not related to newspr patches). I will inform upstream about it. As a workaround use ebuild of freetype-2.3.1 from official portage tree.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Wed Feb 21, 2007 8:22 pm    Post subject: Reply with quote

I just changed KEYWORDS in ebuilds for snapshots of freetype to reflect their unstable nature. Now normally you should install freetype-2.3.1 from official portage (it is pretty stable and shouldn't give you any unexpected problems), but if you feel adventurous you may try snapshots.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Sun Feb 25, 2007 3:48 am    Post subject: Reply with quote

As I'm happy Paludis user I have added Paludis specific info to the guide.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Sun Feb 25, 2007 4:44 am    Post subject: Reply with quote

boniek, contact me on irc so I can give you access to the wiki so we can put the documentation there.
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Sun Feb 25, 2007 7:35 am    Post subject: Reply with quote

Thanks to nesl247 guide moved to xeffects wiki. You can find it [here].
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
na641
Apprentice
Apprentice


Joined: 27 Jun 2002
Posts: 169
Location: Eugene, OR

PostPosted: Tue Feb 27, 2007 8:58 am    Post subject: Reply with quote

Not sure if this is just me as these things vary from system to system but when i set "Font Hinting" to either medium or full the fonts look horrible! Only slight hinting makes them look good. I also agree that the 'bold' font is way too bold. I hope this is fixed soon.
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Tue Feb 27, 2007 1:00 pm    Post subject: Reply with quote

na641 wrote:
Not sure if this is just me as these things vary from system to system but when i set "Font Hinting" to either medium or full the fonts look horrible! Only slight hinting makes them look good. I also agree that the 'bold' font is way too bold. I hope this is fixed soon.

What kind of Desktop Environment you are using? What freetype, cairo, libXft versions? Please provide screen shots with full and slight hinting.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
na641
Apprentice
Apprentice


Joined: 27 Jun 2002
Posts: 169
Location: Eugene, OR

PostPosted: Tue Feb 27, 2007 7:17 pm    Post subject: Reply with quote

boniek wrote:
na641 wrote:
Not sure if this is just me as these things vary from system to system but when i set "Font Hinting" to either medium or full the fonts look horrible! Only slight hinting makes them look good. I also agree that the 'bold' font is way too bold. I hope this is fixed soon.

What kind of Desktop Environment you are using? What freetype, cairo, libXft versions? Please provide screen shots with full and slight hinting.


I am using Xfce 4.4, here's the relevant package info:

Code:
[ebuild   R   ] media-libs/freetype-2.3.1  USE="zlib -bindist -doc" 0 kB
[ebuild   R   ] x11-libs/cairo-1.3.14  USE="X glitz newspr svg -debug -directfb -doc -xcb" 0 kB [2]
[ebuild   R   ] x11-libs/libXft-2.1.12  USE="newspr -debug" 0 kB [2]


With fullhint

With slighthint

Notice the bold window title font, which looks like utter crap with full hinting. Also, the console font looks much nicer with slight hint (especially the bold parts)
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Wed Feb 28, 2007 7:31 am    Post subject: Reply with quote

Forgot one thing. What fonts are you using (font size and DPI as well please)?
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
na641
Apprentice
Apprentice


Joined: 27 Jun 2002
Posts: 169
Location: Eugene, OR

PostPosted: Wed Feb 28, 2007 7:34 am    Post subject: Reply with quote

boniek wrote:
Forgot one thing. What fonts are you using (font size and DPI as well please)?


Sure thing. Dpi is 96x96. Console font is consolas, titlebar font is HandelGotD. Both font's are sized at 9pt.
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Wed Feb 28, 2007 8:36 am    Post subject: Reply with quote

This is how it looks for me:

HandelGotD:
https://boniek.homelinux.org/~boniek/desktop/handelgotd_full.png
https://boniek.homelinux.org/~boniek/desktop/handelgotd_slight.png

They look equally bad to me :). Some font families seem to not play well with newspr. Looks like HandelGotD is one of them (another example would be DejaVu faimly).

Consolas:
https://boniek.homelinux.org/~boniek/desktop/full.png
https://boniek.homelinux.org/~boniek/desktop/slight.png
https://boniek.homelinux.org/~boniek/desktop/full_nobold.png
https://boniek.homelinux.org/~boniek/desktop/full_nobold_verasans.png

Personally I prefer full hinting, bitstream vera sans with bold disabled in terminal emulator ;) .
Bold fonts are Achilles' heel of freetype (they are just too bold). I don't know of any way to remedy this. Personally I just avoid bold fonts whenever I can.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
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 ... 5, 6, 7 ... 28, 29, 30  Next
Page 6 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