Re: [dev] about patch xft on FreeBSD

2012-05-13 Thread Ethan Grammatikidis
On Sat, 5 May 2012 20:22:57 -0400 Lee Fallat ircsurfe...@gmail.com wrote: fix dwm so if it can't find the font it'll load some default one that's fixed. Everything falls back to fixed which is an alias expected to be present on every X server.

Re: [dev] about patch xft on FreeBSD

2012-05-13 Thread Ethan Grammatikidis
On Sun, 13 May 2012 22:06:23 -0400 Lee Fallat ircsurfe...@gmail.com wrote: I think I do that but doesn't work because I used XLFDs. I've made improvements so it uses xftpatterns and doesn't have that (BAD) memory leak. I'll get it up by tomorrow. It now works with dwm-tip, so there should be

Re: [dev] about patch xft on FreeBSD

2012-05-06 Thread alphachi
I droped the idea for the time being. Perhaps I need research the source code of dwm in FreeBSD Ports. Thanks all guys!

Re: [dev] about patch xft on FreeBSD

2012-05-05 Thread Lee Fallat
How did you put the font in config.h? It uses XLFD format (not sure if I spelt that right...). It will crash if it can't find the font you specified. My patch really isn't the greatest but is a start. I guess I'll fix dwm so if it can't find the font it'll load some default one that's always on a

[dev] about patch xft on FreeBSD

2012-05-03 Thread alphachi
Hello! I'm using dwm 6.0 on FreeBSD 9.0 Release amd64. I need font antialias and CJK supports for statusbar. When I patch http://dwm.suckless.org/patches/dwm-6.0-xft.diff, some errors show: # cd /usr/ports/x11-wm/dwm/work/dwm-6.0/ # patch -p1 ~/dwm-6.0-xft.diff Hmm... Looks like a unified diff

Re: [dev] about patch xft on FreeBSD

2012-05-03 Thread Carlos Torres
Looks like you don't have freetype or freetype dev headers. On May 3, 2012 9:34 AM, alphachi alpha...@mediaspirit.org wrote: Hello! I'm using dwm 6.0 on FreeBSD 9.0 Release amd64. I need font antialias and CJK supports for statusbar. When I patch

Re: [dev] about patch xft on FreeBSD

2012-05-03 Thread Ruben Gonzalez Arnau
Hi, Try to change this on config.mk INCS = -I. -I/usr/include -I${X11INC} to INCS = -I. -I/usr/include -I${X11INC} -I/usr/local/include/freetype2 Hope it helps. On 05/03/2012 15:34, alphachi wrote: Hello! I'm using dwm 6.0 on FreeBSD 9.0 Release amd64. I need font antialias and CJK

Re: [dev] about patch xft on FreeBSD

2012-05-03 Thread Lee Fallat
Yeah, I've been meaning to fix the config.mk error. I'll put up a fix this weekend, but you should be fine looking at the .rej file and placing the fix in yourself. On Thu, May 3, 2012 at 10:46 AM, Ruben Gonzalez Arnau r...@sdf.lonestar.orgwrote: Hi, Try to change this on config.mk INCS =