Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-06 Thread Kris Maglione
On Mon, Sep 06, 2010 at 01:48:15PM +0100, Ethan Grammatikidis wrote: That's no excuse for the absolutely appalling specification format. Fontconfig may be a reeking pile of insanity, but at least you can read its specs. Usually a font name by itself is enough, or with a size, 'Terminus - 12'

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-06 Thread Kurt H Maier
On Mon, Sep 6, 2010 at 8:48 AM, Ethan Grammatikidis wrote: > I've noticed how Plan's font system allows you to make a unicode font by > writing a text file referencing other fonts, and thought that was > light-years ahead of X fonts complete inability to do so. Are you saying Xft > can automatical

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-06 Thread Ethan Grammatikidis
On 6 Sep 2010, at 3:53 am, Kris Maglione wrote: On Mon, Sep 06, 2010 at 02:20:47AM +0100, Ethan Grammatikidis wrote: On 1 Sep 2010, at 8:30 pm, Kris Maglione wrote: On Wed, Sep 01, 2010 at 06:00:17PM +0100, Ethan Grammatikidis wrote: Connor Lane Smith wrote: If someone were to write a simp

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-06 Thread Ethan Grammatikidis
On 6 Sep 2010, at 5:01 am, Kris Maglione wrote: On Sun, Sep 05, 2010 at 11:28:17PM -0400, Josh Rickmar wrote: On Sun, Sep 05, 2010 at 11:02:58PM -0400, Kris Maglione wrote: I still don't think that the auto-hinter is nearly up to par with designer hinted fonts. For the fonts that I have scree

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-05 Thread Kris Maglione
On Sun, Sep 05, 2010 at 11:28:17PM -0400, Josh Rickmar wrote: On Sun, Sep 05, 2010 at 11:02:58PM -0400, Kris Maglione wrote: I still don't think that the auto-hinter is nearly up to par with designer hinted fonts. For the fonts that I have screen and print varieties from different foundaries, th

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-05 Thread Josh Rickmar
On Sun, Sep 05, 2010 at 11:02:58PM -0400, Kris Maglione wrote: > I still don't think that the auto-hinter is nearly up to par with > designer hinted fonts. For the fonts that I have screen and print > varieties from different foundaries, the versions without hinting > information look considerably

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-05 Thread Kris Maglione
On Mon, Sep 06, 2010 at 01:50:24AM +0100, Ethan Grammatikidis wrote: Last I really checked the autohinter had become very good. A few years ago I actually recompiled freetype to disable the interpreter because the autohinter produced so much better results for me. I suspect that was due to my u

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-05 Thread Kurt H Maier
On Sun, Sep 5, 2010 at 10:53 PM, Kris Maglione wrote: > I use Xft with wmii wihout antialiasing, because I do need UTF-8 support and > the X font system doesn't get it right for me. This is why I prefer Xft. The X font system is horrible about UTF-8. At least if you throw enough fonts at xft it'

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-05 Thread Kris Maglione
On Mon, Sep 06, 2010 at 02:40:32AM +, hiro wrote: Don't tell me Arial is a bad font. And about this aliasing shit: my printer doesn't show it. Is this really a matter of taste? Or my younger eyes? Don't be a fool. Your printer doesn't show it because it has 10 times the horizontal resoluti

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-05 Thread Kris Maglione
On Mon, Sep 06, 2010 at 02:20:47AM +0100, Ethan Grammatikidis wrote: On 1 Sep 2010, at 8:30 pm, Kris Maglione wrote: On Wed, Sep 01, 2010 at 06:00:17PM +0100, Ethan Grammatikidis wrote: Connor Lane Smith wrote: If someone were to write a simple clean xft patch for libdraw it could be usefu

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-05 Thread hiro
Don't tell me Arial is a bad font. And about this aliasing shit: my printer doesn't show it. Is this really a matter of taste? Or my younger eyes?

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-05 Thread Ethan Grammatikidis
On 1 Sep 2010, at 8:30 pm, Kris Maglione wrote: On Wed, Sep 01, 2010 at 06:00:17PM +0100, Ethan Grammatikidis wrote: Connor Lane Smith wrote: If someone were to write a simple clean xft patch for libdraw it could be useful, perhaps even integrated into mainline. This may just be my limited

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-05 Thread Ethan Grammatikidis
On 3 Sep 2010, at 8:49 pm, Kris Maglione wrote: On Fri, Sep 03, 2010 at 08:56:22PM +0200, hiro wrote: Admittedly, the newer auto-hinters do a decent job of this these days The freetype autohinter? http://freetype.sourceforge.net/autohinting/hinter.html#screenshots Perhaps this is outdated,

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-03 Thread Kris Maglione
On Fri, Sep 03, 2010 at 08:56:22PM +0200, hiro wrote: Admittedly, the newer auto-hinters do a decent job of this these days The freetype autohinter? http://freetype.sourceforge.net/autohinting/hinter.html#screenshots Perhaps this is outdated, but it looks horrible to me. It depends on the fon

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-03 Thread hiro
Kris said: > I'm currently planning to replace the godawful > fontconfig XML configuration on with a Scheme-based lookup > system which may save my sanity, though. > Please do so! I'v configured my current setup with wget, but this doesn't get the job done at all. > Admittedly, the newer auto-hi

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-02 Thread Arian Kuschki
Good stuff! (sorry, Android mail) Am 02.09.2010 16:52 schrieb "Henri Mannerberg" : > > The patch has been updated: fg highlighting now works in vertical mode. > > -- > Henri > > On Wed, Sep 01, 2010 at 07:57:03PM +0300, Henri Mannerberg wrote: >> My pleasure. I will take a look at the issue with

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-02 Thread Kris Maglione
On Thu, Sep 02, 2010 at 11:30:18PM +0200, Uriel wrote: I certainly think that having such possibility will be good. I know that font systems are a quite mad, and utf8 is far more complex than just plain ascii or bitmapped fonts. In fact ttf is a virtual machine, and opentype supports as weird

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-02 Thread Uriel
On Wed, Sep 1, 2010 at 10:02 PM, pancake wrote: > Current font size support in swk is merely a hack, the plan is to use > libdraw, so it will eventually support it. Antialiased fonts are sometimes > better for reading. > > I personally use 10x20 font or the fixed one. But certainly..reading the

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-02 Thread Henri Mannerberg
The patch has been updated: fg highlighting now works in vertical mode. -- Henri On Wed, Sep 01, 2010 at 07:57:03PM +0300, Henri Mannerberg wrote: > My pleasure. I will take a look at the issue with the '-l' switch when I have > the time. > > ... > > On Wed, Sep 01, 2010 at 01:29:37PM +0200, Ar

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Kris Maglione
On Wed, Sep 01, 2010 at 10:40:27PM +0200, Arian Kuschki wrote: Excerpts from Connor Lane Smith's message of 2010-09-01 21:33:23 +0200: I'm sympathetic with this view, being a lover of typography myself. But you're in luck! dmenu, dwm, and libdraw already do support variable-width fonts. My desk

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Arian Kuschki
Excerpts from Connor Lane Smith's message of 2010-09-01 21:33:23 +0200: > I'm sympathetic with this view, being a lover of typography myself. But > you're in luck! dmenu, dwm, and libdraw already do support variable-width > fonts. My desktop system runs dmenu in Helvetica. :) great news, glad to

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Kris Maglione
On Wed, Sep 01, 2010 at 10:02:16PM +0200, pancake wrote: I personally use 10x20 font or the fixed one. But certainly..reading the web with courier is not as nice as with verdana.. Typographic nazis tend to be quite extremist in pro to a correct use of fonts, like killing comic sans and so on..

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread pancake
Current font size support in swk is merely a hack, the plan is to use libdraw, so it will eventually support it. Antialiased fonts are sometimes better for reading. I personally use 10x20 font or the fixed one. But certainly..reading the web with courier is not as nice as with verdana.. Typogra

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Kris Maglione
On Wed, Sep 01, 2010 at 07:57:03PM +0300, Henri Mannerberg wrote: A rewrite of the highlight colour handling is probably in order, as it looks rather messy atm (if anyone feels like taking a swing at it, go right ahead! :) You may want to have a look at the following from wmii: lib/libstu

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Connor Lane Smith
I'm sympathetic with this view, being a lover of typography myself. But you're in luck! dmenu, dwm, and libdraw already do support variable-width fonts. My desktop system runs dmenu in Helvetica. :) On Sep 1, 2010 8:19 PM, "Arian Kuschki" wrote: Excerpts from Ethan Grammatikidis's message of 20

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Kris Maglione
On Wed, Sep 01, 2010 at 06:00:17PM +0100, Ethan Grammatikidis wrote: Connor Lane Smith wrote: If someone were to write a simple clean xft patch for libdraw it could be useful, perhaps even integrated into mainline. This may just be my limited perspective, or it may be my upset stomach talking

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Arian Kuschki
Excerpts from Ethan Grammatikidis's message of 2010-09-01 19:00:17 +0200: > Connor Lane Smith wrote: > > If someone were to write a simple clean xft patch for libdraw it could > > be useful, perhaps even integrated into mainline. > This may just be my limited perspective, or it may be my upset sto

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Connor Lane Smith
To be honest I'm not familiar with Xft - there are so many X font systems to choose from! If the code is simple and there are no added *necessary* dependencies, it *might* be useful. I don't know how many people would use Xft, so perhaps a patch would be better, but I have been asked about it a few

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Ethan Grammatikidis
Connor Lane Smith wrote: If someone were to write a simple clean xft patch for libdraw it could be useful, perhaps even integrated into mainline. This may just be my limited perspective, or it may be my upset stomach talking, but I'm very surprised to see xft seriously suggested in this mailing

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Henri Mannerberg
My pleasure. I will take a look at the issue with the '-l' switch when I have the time. A rewrite of the highlight colour handling is probably in order, as it looks rather messy atm (if anyone feels like taking a swing at it, go right ahead! :) Eventually I would love to see the xft stuff integ

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Connor Lane Smith
Hey, On Wednesday, September 1, 2010, Alexander Teinum wrote: > I haven't tried it, but nice. I would like to see that in dwm as well. > Not as a patch that needs to be maintained, but rather as a part of > dwm. Are the old style X fonts really that much better? One benefit of using libdraw (whi

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Arian Kuschki
Excerpts from Henri Mannerberg's message of 2010-09-01 12:10:06 +0200: > > This patch adds support for xft font rendering to dmenu (4.1.1). > > Shouts go out to lattenwald (utf8 support) and R. Kyle Murphy (fg color fix) > > The patch can also be found at: > http://aur.archlinux.org/packages.php

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Alexander Teinum
I haven't tried it, but nice. I would like to see that in dwm as well. Not as a patch that needs to be maintained, but rather as a part of dwm. Are the old style X fonts really that much better?

[dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Henri Mannerberg
This patch adds support for xft font rendering to dmenu (4.1.1). Shouts go out to lattenwald (utf8 support) and R. Kyle Murphy (fg color fix) The patch can also be found at: http://aur.archlinux.org/packages.php?ID=28745 -- Henri diff -up ../dmenu-4.1.1/config.def.h ../dmenu-4.1.1-xft/config.de