Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO]Freetype subpixel font rendering - lcd monitors Pt 2
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 15, 16, 17 ... 27, 28, 29  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
rahulthewall
Veteran
Veteran


Joined: 01 Nov 2007
Posts: 1264
Location: Zürich

PostPosted: Thu Sep 23, 2010 9:55 pm    Post subject: Reply with quote

I deleted the .fonts.conf file, and configured everything via eselect fontconfig. I am quite satisfied with the way my fonts look now - Inconsolata (on konsole) is back to the perfection it was. This is what eselect fontconfig list currently reports:

Code:

rahul@googly ~ $ eselect fontconfig list
Available fontconfig .conf files (* is enabled):
  [1]   10-antialias.conf *
  [2]   10-autohint.conf
  [3]   10-hinting-full.conf *
  [4]   10-hinting-medium.conf
  [5]   10-hinting-slight.conf
  [6]   10-hinting.conf *
  [7]   10-no-sub-pixel.conf
  [8]   10-sub-pixel-bgr.conf
  [9]   10-sub-pixel-rgb.conf *
  [10]  10-sub-pixel-vbgr.conf
  [11]  10-sub-pixel-vrgb.conf
  [12]  10-unhinted.conf
  [13]  11-lcd-filter-lcddefault.conf *
  [14]  20-fix-globaladvance.conf
  [15]  20-unhint-small-dejavu-sans-mono.conf
  [16]  20-unhint-small-dejavu-sans.conf
  [17]  20-unhint-small-dejavu-serif.conf
  [18]  20-unhint-small-vera.conf
  [19]  25-unhint-nonlatin.conf
  [20]  30-metric-aliases.conf *
  [21]  30-urw-aliases.conf *
  [22]  40-nonlatin.conf *
  [23]  45-latin.conf *
  [24]  49-sansserif.conf *
  [25]  50-user.conf *
  [26]  51-local.conf *
  [27]  53-monospace-lcd-filter.conf *
  [28]  57-dejavu-sans-mono.conf *
  [29]  57-dejavu-sans.conf *
  [30]  57-dejavu-serif.conf *
  [31]  60-latin.conf *
  [32]  60-liberation.conf *
  [33]  65-fonts-persian.conf *
  [34]  65-khmer.conf *
  [35]  65-nonlatin.conf *
  [36]  66-lohit-assamese.conf *
  [37]  66-lohit-bengali.conf *
  [38]  66-lohit-gujarati.conf *
  [39]  66-lohit-hindi.conf *
  [40]  66-lohit-kannada.conf *
  [41]  66-lohit-kashmiri@devanagari.conf *
  [42]  66-lohit-konkani.conf *
  [43]  66-lohit-maithili.conf *
  [44]  66-lohit-marathi.conf *
  [45]  66-lohit-oriya.conf *
  [46]  66-lohit-punjabi.conf *
  [47]  66-lohit-sindhi@devanagari.conf *
  [48]  66-lohit-tamil.conf *
  [49]  66-lohit-telugu.conf *
  [50]  67-lohit-malayalam.conf *
  [51]  67-lohit-nepali.conf *
  [52]  69-unifont.conf *
  [53]  70-no-bitmaps.conf *
  [54]  70-yes-bitmaps.conf
  [55]  80-delicious.conf *
  [56]  90-synthetic.conf *

_________________
Who shall guard the guards?
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Fri Sep 24, 2010 10:20 am    Post subject: Reply with quote

IMO it would be better to outsource the discussion part of this HOWTO to the thread I just created:

Freetype subpixel font rendering - discussion thread

this should keep this howto more clear and only the essence shall stay in here

@PaulBredbury, Infinality:

thanks for your work in this area - my fonts really look clearer and better readable now
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
rahulthewall
Veteran
Veteran


Joined: 01 Nov 2007
Posts: 1264
Location: Zürich

PostPosted: Wed Sep 29, 2010 11:36 pm    Post subject: Reply with quote

So, I took the time and (as PaulBredburdy suggested) went through the thread, and I think I am now quite satisfied with the way my fonts look. I put together my experience in my blog. If anyone thinks this is OK, they can push it to git.

http://blog.segfault.co.in/?p=192
_________________
Who shall guard the guards?
Back to top
View user's profile Send private message
Infinality
n00b
n00b


Joined: 12 Aug 2010
Posts: 24
Location: Wisconsin, USA

PostPosted: Sun Oct 03, 2010 4:05 pm    Post subject: Updated Patches - 2010-10-03 Reply with quote

Updated patches here! :D

http://www.infinality.net/blog/?p=67
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1983
Location: Poland

PostPosted: Mon Oct 04, 2010 6:28 am    Post subject: Re: Updated Patches - 2010-10-03 Reply with quote

Infinality wrote:
Updated patches here! :D


Updated ebuilds where? ;)
Back to top
View user's profile Send private message
bi3l
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 268
Location: France

PostPosted: Mon Oct 04, 2010 7:49 am    Post subject: Reply with quote

In the LCD filtering overlay.
_________________
OGMRip - LCD filtering (Wiki)
Back to top
View user's profile Send private message
pross
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 156
Location: Ireland

PostPosted: Mon Oct 04, 2010 3:48 pm    Post subject: Reply with quote

freetype 2.4.3 is in portage
_________________
My Overlay [pross] | bfs-sources
Back to top
View user's profile Send private message
Infinality
n00b
n00b


Joined: 12 Aug 2010
Posts: 24
Location: Wisconsin, USA

PostPosted: Tue Oct 05, 2010 1:07 am    Post subject: Reply with quote

Updated patch for freetype-2.4.3:
http://www.infinality.net/blog/?p=67
Back to top
View user's profile Send private message
GoofyX
n00b
n00b


Joined: 23 Feb 2005
Posts: 55
Location: Thessaloniki, Greece

PostPosted: Tue Oct 05, 2010 6:26 am    Post subject: Reply with quote

The updated patch hasn't make it to the lcd-filtering overlay, right?
_________________
... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain...
Back to top
View user's profile Send private message
bi3l
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 268
Location: France

PostPosted: Tue Oct 05, 2010 7:18 am    Post subject: Reply with quote

GoofyX wrote:
The updated patch hasn't make it to the lcd-filtering overlay, right?

Wrong.
_________________
OGMRip - LCD filtering (Wiki)
Back to top
View user's profile Send private message
GoofyX
n00b
n00b


Joined: 23 Feb 2005
Posts: 55
Location: Thessaloniki, Greece

PostPosted: Tue Oct 05, 2010 7:22 am    Post subject: Reply with quote

Ok, a few minutes ago, before posting my message, the overlay was not updated. Now, it is.

Thanks for the great work guys!
_________________
... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain...
Back to top
View user's profile Send private message
GoofyX
n00b
n00b


Joined: 23 Feb 2005
Posts: 55
Location: Thessaloniki, Greece

PostPosted: Tue Oct 05, 2010 7:26 am    Post subject: Reply with quote

OK, I get a Manifest error:

Code:
>>> Verifying ebuild manifests
!!! A file is not listed in the Manifest: '/var/lib/layman/lcd-filtering/media-libs/freetype/files/freetype-2.4.3-ubuntu.patch'

_________________
... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain...
Back to top
View user's profile Send private message
bi3l
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 268
Location: France

PostPosted: Tue Oct 05, 2010 7:26 am    Post subject: Reply with quote

I'll fix that asap.
_________________
OGMRip - LCD filtering (Wiki)
Back to top
View user's profile Send private message
GoofyX
n00b
n00b


Joined: 23 Feb 2005
Posts: 55
Location: Thessaloniki, Greece

PostPosted: Tue Oct 05, 2010 2:02 pm    Post subject: Reply with quote

Ok, I updated freetype, but the fonts look worse to me than before. How can I tell if I'm using the patented bytecode interpreter from freetype (isn't this the cleartype)? The difference now is that the fonts look more bold and reddish in some points, because of the antialising. The bad thing is that I cannot revert to the initial situation.
_________________
... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain...
Back to top
View user's profile Send private message
pross
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 156
Location: Ireland

PostPosted: Tue Oct 05, 2010 3:45 pm    Post subject: Reply with quote

Code:
Calculating dependencies... done!

>>> Verifying ebuild manifests
!!! A file is not listed in the Manifest: '/var/lib/layman/lcd-filtering/media-libs/freetype/files/freetype-2.4.3-ubuntu.patch'


I did it manually and package installed.
_________________
My Overlay [pross] | bfs-sources
Back to top
View user's profile Send private message
GoofyX
n00b
n00b


Joined: 23 Feb 2005
Posts: 55
Location: Thessaloniki, Greece

PostPosted: Tue Oct 05, 2010 3:50 pm    Post subject: Reply with quote

Actually, the fonts look good. It's that I got used to the ones without the lcdfilter flag. Disabling it and restarting X, the fonts displayed as before (which is strange, since I always had the lcdfilter enabled). So, with -lcdfilter, what is this equal to, regarding hinting, antialiasing, etc.?
_________________
... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain...
Back to top
View user's profile Send private message
bi3l
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 268
Location: France

PostPosted: Tue Oct 05, 2010 9:41 pm    Post subject: Reply with quote

Code:
>>> Verifying ebuild manifests
!!! A file is not listed in the Manifest: '/var/lib/layman/lcd-filtering/media-libs/freetype/files/freetype-2.4.3-ubuntu.patch'

Fixed.
_________________
OGMRip - LCD filtering (Wiki)
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Oct 08, 2010 6:03 am    Post subject: Reply with quote

Due to Infinality bugs I suggest downgrading, for the time being.
Back to top
View user's profile Send private message
rahulthewall
Veteran
Veteran


Joined: 01 Nov 2007
Posts: 1264
Location: Zürich

PostPosted: Fri Oct 08, 2010 7:07 am    Post subject: Reply with quote

PaulBredbury wrote:
Due to Infinality bugs I suggest downgrading, for the time being.


Thanks for this, I was beating my head against the wall wondering why okular is crashing! :)
_________________
Who shall guard the guards?
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Fri Oct 08, 2010 7:21 am    Post subject: Reply with quote

rahulthewall wrote:
PaulBredbury wrote:
Due to Infinality bugs I suggest downgrading, for the time being.


Thanks for this, I was beating my head against the wall wondering why okular is crashing! :)


I had the same problems

thanks for the heads up ! :o
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Infinality
n00b
n00b


Joined: 12 Aug 2010
Posts: 24
Location: Wisconsin, USA

PostPosted: Sat Oct 09, 2010 12:20 am    Post subject: Problem noted.... Reply with quote

Not sure what is causing the crashes, but good to hear the reports. I'll hopefully get a fix this weekend.

EDIT: Solved. See post below.


Last edited by Infinality on Sat Oct 09, 2010 1:51 am; edited 1 time in total
Back to top
View user's profile Send private message
Infinality
n00b
n00b


Joined: 12 Aug 2010
Posts: 24
Location: Wisconsin, USA

PostPosted: Sat Oct 09, 2010 1:14 am    Post subject: Found it Reply with quote

I have identified what is causing the crash. It appears it has something to do with the font family name not being set. Next patch will have this fix in it.

EDIT: Fixed. http://www.infinality.net/blog/?p=67
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Oct 09, 2010 3:17 am    Post subject: Re: Found it Reply with quote

Infinality wrote:
Fixed.

No. Neither bug is fixed by freetype-add-subpixel-hinting-infinality-20101008-1.patch

Open this page or this PDF, and firefox/evince crashes.
Back to top
View user's profile Send private message
Infinality
n00b
n00b


Joined: 12 Aug 2010
Posts: 24
Location: Wisconsin, USA

PostPosted: Sat Oct 09, 2010 4:11 am    Post subject: Reply with quote

Ahh crap! I updated the comments in the correct patch file, and added the fix to an old patch file. Ok, now this time I tested it and it really works, for real! Please re-download.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Oct 09, 2010 4:22 am    Post subject: Reply with quote

Thanks, your *new* freetype-add-subpixel-hinting-infinality-20101008-1.patch (filesize 94312) fixes those 2 bugs.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 15, 16, 17 ... 27, 28, 29  Next
Page 16 of 29

 
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