Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Script to Improve Readability in Gentoo-Forums.
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Sat Jul 28, 2007 2:30 am    Post subject: Script to Improve Readability in Gentoo-Forums. Reply with quote

I've been working on possible solution to improve the legibility of viewing forum posts. This will vary from browser to browser but since the basic code ( i.e. formatting ) hasn't been tinkered with in... well who know how long :wink: , I thought I'd write script to help.
What you'll need:

What it looked like before

What it looks like now

Pretty helpful!?
_________________
Helpful Linux Tidbits


Last edited by Dirk.R.Gently on Mon Aug 13, 2007 11:36 pm; edited 7 times in total
Back to top
View user's profile Send private message
Kate Monster
Apprentice
Apprentice


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

PostPosted: Sat Jul 28, 2007 3:19 am    Post subject: Re: Help improve your Readabity in Gentoo-Forums. Reply with quote

Dirk.R.Gently wrote:
What it looked like before

What it looks like now

Same image
Back to top
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Sat Jul 28, 2007 4:35 am    Post subject: Re: Help improve your Readabity in Gentoo-Forums. Reply with quote

Xaero wrote:
Dirk.R.Gently wrote:
What it looked like before

What it looks like now

Same image

FIXED

DOH!
_________________
Helpful Linux Tidbits
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Sat Jul 28, 2007 7:30 am    Post subject: Reply with quote

it is not very different from old one if not same
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Sat Jul 28, 2007 4:11 pm    Post subject: Reply with quote

padoor wrote:
it is not very different from old one if not same

I tend to disagree. Since the basic code of the forums probably hasn't been changed for many years, it hasn't compensated for things like increased resolution and monitor size. Also the padding in the previous format wasn't planned accordingly. With little and no padding, and borders that were white!, the eye loses focus. Eyes are draw to brighter objects. Have you tried it padoor, or have you just view the images? I find it perfectly readable.
_________________
Helpful Linux Tidbits
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Sat Jul 28, 2007 4:34 pm    Post subject: Reply with quote

i agree the readability is poor in current format. especially true in case of laptops and lcd moonitors.
both screen shots look much better than what i can directly read in forum, in ie firefox and opera
how do i apply your script to my laptop?
in firefox opera and ie.
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Jul 28, 2007 5:45 pm    Post subject: Reply with quote

There are fonts that were specifically designed with lcd screens in mind. iirc verdana is such a font. It's part of the corefonts package. There's some trickery you can do with subpixel hinting for xorg too. Some desktop environments have a utility for this to easily play around with such settings. Some info here: http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Jul 28, 2007 7:16 pm    Post subject: Reply with quote

Every thread on fonts should include xeffects, to make all non-bitmap fonts look gorgeous :wink:
Back to top
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Sat Jul 28, 2007 7:47 pm    Post subject: Reply with quote

That said this is definitely about fonts AND formatting. The script should make a much Nicer improvement. I'm open to any ideas you may have, as long as it's ;) perfectly reasonable.
_________________
Helpful Linux Tidbits
Back to top
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Sun Jul 29, 2007 12:09 am    Post subject: Reply with quote

Anybody got this going? I NEEEEEED feedback here. :)
_________________
Helpful Linux Tidbits


Last edited by Dirk.R.Gently on Sun Jul 29, 2007 1:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dralnu
Veteran
Veteran


Joined: 24 May 2006
Posts: 1919

PostPosted: Sun Jul 29, 2007 12:54 am    Post subject: Reply with quote

Interesting idea. I might look into it later if I feel like it.
_________________
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
Back to top
View user's profile Send private message
AllenJB
Veteran
Veteran


Joined: 02 Sep 2005
Posts: 1285

PostPosted: Mon Jul 30, 2007 8:00 am    Post subject: Reply with quote

Not so much of a problem on these forums, but it's a shame these scripts can't improve peoples spelling and grammar (I've seen some people who don't use any punctuation at all and seem to think their posts are perfectly readable 8O )

I don't get the "haven't accounted for increased screen resolution". For one thing, that's not true for everyone. I know a number of people who are still using 800x600 CRTs. Secondly, that's something you can alter yourself by changing your browsers default font size.
Back to top
View user's profile Send private message
Akkara
Bodhisattva
Bodhisattva


Joined: 28 Mar 2006
Posts: 6702
Location: &akkara

PostPosted: Mon Jul 30, 2007 8:36 am    Post subject: Reply with quote

Looking at the two images without having installed it myself:

The darker borders look nice. But they don't seem to go quite as well with the header image nor be as distinguished from the background color of the "FAQ | Search | Memberlist ..." nav bar. I might go with a slightly lighter shade of purple.

Regarding the text itself, I see quite a bit of blue fringing in the "new" image, to the point that it is distracting. There is a bit of blue fringing in the "original" image but not too bad. I wonder why that is - I'm viewing this on a LCD too, which I assume you are. There is no fringing on my firefox window here, and I am using the subpixel stuff (at least I *think I am!)
Back to top
View user's profile Send private message
Paapaa
l33t
l33t


Joined: 14 Aug 2005
Posts: 955
Location: Finland

PostPosted: Mon Jul 30, 2007 9:26 am    Post subject: Re: Help improve your Readabity in Gentoo-Forums. Reply with quote

Dirk.R.Gently wrote:
What it looked like before

What it looks like now
Pretty helpful!?


You seem have a problem with your font settings. The color artifacts (mainly blue and yellow - especially in the "old" picture) should not be there. Check:

1. DPI setting in X and firefox.
2. Hinting settings.
3. Are you using the latest freetype WITHOUT bindist USE flag?
4. What is your ~/fonts.conf
_________________
Paludis, the way packages are meant to be managed.
Back to top
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Mon Jul 30, 2007 7:06 pm    Post subject: Reply with quote

AllenJB wrote:
Not so much of a problem on these forums, but it's a shame these scripts can't improve peoples spelling and grammar (I've seen some people who don't use any punctuation at all and seem to think their posts are perfectly readable 8O )

I've seen a couple of those. :wink:

Quote:
I don't get the "haven't accounted for increased screen resolution". For one thing, that's not true for everyone. I know a number of people who are still using 800x600 CRTs. Secondly, that's something you can alter yourself by changing your browsers default font size.

Thats true, and in fact, Gentoo Forums probably look pretty good on a 800x600. But settings in your browser isn't really a solution. Since many websites use css today, which dictates a fonts size, sites like this one that haven't seen any updates to account for increased-resolution, the fonts look really small on resolutions above 1024. Sure you can set a minimum font size, but designers have typically had to keep readjusting their sites to balance fonts and graphics.

Akkara wrote:
Looking at the two images without having installed it myself:

The darker borders look nice. But they don't seem to go quite as well with the header image nor be as distinguished from the background color of the "FAQ | Search | Memberlist ..." nav bar. I might go with a slightly lighter shade of purple.

I had tried this and am considering it. I even tried black, eventually I just came with a the difference between the bright that was before with something that would keep you focused on the text.

Paapaa wrote:
You seem have a problem with your font settings. The color artifacts (mainly blue and yellow - especially in the "old" picture) should not be there....


Would one of you mind posting the image you are viewing? Possibly the files have been corrupted on the server and I'm only seeing the cached version because mine looks alright.

I put a new version of the image up, look down a couple posts. :)
_________________
Helpful Linux Tidbits


Last edited by Dirk.R.Gently on Mon Jul 30, 2007 8:42 pm; edited 3 times in total
Back to top
View user's profile Send private message
Dralnu
Veteran
Veteran


Joined: 24 May 2006
Posts: 1919

PostPosted: Mon Jul 30, 2007 7:16 pm    Post subject: Reply with quote

A) You have to be logged in
B) Its in the Ubunutu forums...
_________________
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
Back to top
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Mon Jul 30, 2007 8:38 pm    Post subject: Reply with quote

Ooop, try this one
_________________
Helpful Linux Tidbits
Back to top
View user's profile Send private message
Paapaa
l33t
l33t


Joined: 14 Aug 2005
Posts: 955
Location: Finland

PostPosted: Mon Jul 30, 2007 9:24 pm    Post subject: Reply with quote

Dirk.R.Gently wrote:
Ooop, try this one


Yes, you have font setting problems. Hinting doesn't seem to be working properly. See my previous message.
_________________
Paludis, the way packages are meant to be managed.
Back to top
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Tue Jul 31, 2007 1:32 am    Post subject: Reply with quote

Paapaa wrote:
Dirk.R.Gently wrote:
Ooop, try this one


Yes, you have font setting problems. Hinting doesn't seem to be working properly. See my previous message.


Uhhhh, I like it this way. Ok maybe I didn't make my point clearly. I WROTE this Greasemonkey script to help improve legibility reading the forums! I like my fonts as they are, btw, not the extra hinted ( Mac OS X way ) which for me doesn't work as nicely on laptops.
_________________
Helpful Linux Tidbits


Last edited by Dirk.R.Gently on Tue Jul 31, 2007 3:42 am; edited 1 time in total
Back to top
View user's profile Send private message
Element Dave
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2006
Posts: 82

PostPosted: Tue Jul 31, 2007 3:31 am    Post subject: Reply with quote

Who among you can most accurately guess my font settings and/or visual environment?

http://img53.imageshack.us/img53/6153/forumsgq2.png
Back to top
View user's profile Send private message
AllenJB
Veteran
Veteran


Joined: 02 Sep 2005
Posts: 1285

PostPosted: Tue Jul 31, 2007 7:46 am    Post subject: Reply with quote

Dirk.R.Gently wrote:
AllenJB wrote:
I don't get the "haven't accounted for increased screen resolution". For one thing, that's not true for everyone. I know a number of people who are still using 800x600 CRTs. Secondly, that's something you can alter yourself by changing your browsers default font size.

Thats true, and in fact, Gentoo Forums probably look pretty good on a 800x600. But settings in your browser isn't really a solution. Since many websites use css today, which dictates a fonts size, sites like this one that haven't seen any updates to account for increased-resolution, the fonts look really small on resolutions above 1024. Sure you can set a minimum font size, but designers have typically had to keep readjusting their sites to balance fonts and graphics.

I certainly haven't noticed the Gentoo Forums setting specific font sizes, and any webdev who does it should be shot. Most text should be at the default (AKA "normal") font size and anything else should be sized using the relative methods (percentage, ems, [[x]x-]small/[[x]x-]large, etc). Firefox users (and even users of most other browsers that support user stylesheets) have various tricks they can use to override font settings too.
Back to top
View user's profile Send private message
Paapaa
l33t
l33t


Joined: 14 Aug 2005
Posts: 955
Location: Finland

PostPosted: Tue Jul 31, 2007 4:10 pm    Post subject: Reply with quote

Dirk.R.Gently wrote:
Paapaa wrote:
Dirk.R.Gently wrote:
Ooop, try this one


Yes, you have font setting problems. Hinting doesn't seem to be working properly. See my previous message.


Uhhhh, I like it this way. Ok maybe I didn't make my point clearly. I WROTE this Greasemonkey script to help improve legibility reading the forums! I like my fonts as they are, btw, not the extra hinted ( Mac OS X way ) which for me doesn't work as nicely on laptops.


No no no. I'm not talking about altering CSS - that is just fine. Both your pictures show color fringing around the fonts. I'm quite positive you don't want that. See these:

http://www.grc.com/cttech.htm (See the "Sample Text String" having colors)
https://forums.gentoo.org/viewtopic-t-511382-highlight-bindist+freetype+hinting.html (sadly the images on front page no longer work)

I guess you have a DPI setting slightly off.
_________________
Paludis, the way packages are meant to be managed.
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1931

PostPosted: Tue Jul 31, 2007 6:12 pm    Post subject: Reply with quote

Paapaa wrote:
Dirk.R.Gently wrote:
Paapaa wrote:
Dirk.R.Gently wrote:
Ooop, try this one


Yes, you have font setting problems. Hinting doesn't seem to be working properly. See my previous message.


Uhhhh, I like it this way. Ok maybe I didn't make my point clearly. I WROTE this Greasemonkey script to help improve legibility reading the forums! I like my fonts as they are, btw, not the extra hinted ( Mac OS X way ) which for me doesn't work as nicely on laptops.


No no no. I'm not talking about altering CSS - that is just fine. Both your pictures show color fringing around the fonts. I'm quite positive you don't want that. See these:

http://www.grc.com/cttech.htm (See the "Sample Text String" having colors)
https://forums.gentoo.org/viewtopic-t-511382-highlight-bindist+freetype+hinting.html (sadly the images on front page no longer work)

I guess you have a DPI setting slightly off.

Umm... How do you know those colors show up on his screen? It's called "sub-pixel hinting," and it is supposed to make fonts look better on some monitors, especially on older LCDs.
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
Paapaa
l33t
l33t


Joined: 14 Aug 2005
Posts: 955
Location: Finland

PostPosted: Tue Jul 31, 2007 7:34 pm    Post subject: Reply with quote

AM088 wrote:
Umm... How do you know those colors show up on his screen? It's called "sub-pixel hinting," and it is supposed to make fonts look better on some monitors, especially on older LCDs.


Well, it was his screenshot, after all :) And if he has a TFT/LCD I see no reason why I would see it but he would not.

Really, I'm only trying to help. I saw fonts with color fringing and that is usually a symptom of some wrong settings - mainly DPI. If I'm wrong, then sorry for taking your time - but this might still help someone. It is very common that monitor doesn't send the correct DPI value to X server.
_________________
Paludis, the way packages are meant to be managed.
Back to top
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Wed Aug 01, 2007 5:18 pm    Post subject: Reply with quote

Paapaa wrote:
No no no. I'm not talking about altering CSS - that is just fine. Both your pictures show color fringing around the fonts. I'm quite positive you don't want that. See these:

http://www.grc.com/cttech.htm (See the "Sample Text String" having colors)
https://forums.gentoo.org/viewtopic-t-511382-highlight-bindist+freetype+hinting.html (sadly the images on front page no longer work)

I guess you have a DPI setting slightly off.


Thanks for the input Paapaa, I'll look into it. I wanna keep the subject on track. Has there been anybody that has tried to use the script and what do you think of it. I know alot of monitor sizes can be different so I'm looking for feedback on what I can do to improve it.
One error I have seen is that not all user names are being formated, for instance, in the last post column, in the "View Forum" pages. Anything I missed besides this?
_________________
Helpful Linux Tidbits
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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