


Code: Select all
sed -i -e "s:0x10, 0x40, 0x70, 0x40, 0x10:0x1c, 0x38, 0x55, 0x38, 0x1c:" src/base/ftlcdfil.c
That's great. Why not push to upstream? Seems it solve the memu delay problem as well.PaulBredbury wrote:Infinality has a great freetype patch for sub- rather than whole-pixel filtering, which has better font spacing, as an alternative to Ubuntu's freetype LCD patch.
Here's an all-in-one patch I've made for freetype 2.4.0

thanks for those fonts !PaulBredbury wrote:There's some nice free fonts available.
The best from that list are: PT Sans, CartoGothic Std, Sansation, Aller.
PT Sans and CartoGothic Std are so good, that I'm currently using a combination of them to replace Arial small-ish.




Code: Select all
$ fc-match monospace
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"
Hinting, not filtering. Hinting is a process of fitting the glyph into the pixel grid.PaulBredbury wrote:Infinality has a great freetype patch for sub- rather than whole-pixel filtering,
which has better font spacing, as an alternative to Ubuntu's freetype LCD patch.
Here's an all-in-one patch I've made for freetype 2.4.0 (also works with freetype 2.4.1)
The BCI Hinting works really great with your patch - I don't have any problems I had before with AutoHinter, and the glyphs look sharp and natural. It looks that my .fonts.conf will be reduced to provide font substitutes while all autohint / hintstyle switches will go awayPaulBredbury wrote:freetype 2.4.1 is out, and fixes the problem with missing characters in CartoGothic Std.
My Infinality patch for 2.4.0 works fine with 2.4.1, and it's better than Ubuntu's rendering. Although, annoyingly for me, it makes most of my Ubuntu-specific fontconfig rule-tweaking obsolete

Look right at the top of the patch file:grogi wrote:What patches are included?
If you want to see e.g. freetype-2.3.0-enable-spr.patch, then look at the Fedora src.rpm# From http://www.infinality.net/fedora/linux/ ... 13.src.rpm
# and modified to patch freetype 2.4.0
# See http://www.infinality.net/blog/?p=67
# and http://forums.gentoo.org/viewtopic-p-63 ... ml#6350322
# Added:
# freetype-2.3.0-enable-spr.patch
# freetype-2.2.1-enable-valid.patch
# freetype-2.2.1-memcpy-fix.patch
# #define FT_CONFIG_OPTION_SYSTEM_ZLIB in include/freetype/config/ftoption.h


Yep.GoofyX wrote:@bi3l, the lcd-filtering overlay is not displayed in the listing of layman's overlays. We have to manually add it ourselves and sync it?
Dowload this file, edit /etc/layman/layman.cfg and add "file:///path/to/lcd-filtering.xml" in the 'overlays' section (/path/to being the directory containing lcd-filtering.xml).michaeljr wrote:I can't find the LCD Filtering repo using layman. How do I add the repo using layman?