Mikael Magnusson
dd48997668
fix two memleaks
2006-06-11 10:21:35 +00:00
Mikael Magnusson
c5a14b4f04
!"$!#"%
2006-01-15 11:40:34 +00:00
Mikael Magnusson
b177ace2c3
yes it is
2006-01-15 11:40:21 +00:00
Mikael Magnusson
425dc31808
fix pixelsize when using pango (set_size != set_absolute_size)
2006-01-15 11:39:55 +00:00
Mikael Magnusson
efcb68de1d
and tidy it up a bit
2005-09-01 15:34:03 +00:00
Mikael Magnusson
e298cde9b0
remove some excessive swearing from a comment about pango
2005-09-01 15:33:04 +00:00
Mikael Magnusson
3b83230aaf
ifdef helps
2005-07-26 08:02:13 +00:00
Mikael Magnusson
eecc457292
--disable-nls disables locale.h which is needed for pango, sort of
2005-07-20 19:51:57 +00:00
Mikael Magnusson
3d1048f5a7
forgot debug print
2005-07-16 20:30:17 +00:00
Mikael Magnusson
b2cd881d31
80 columns
2005-07-16 20:27:06 +00:00
Mikael Magnusson
b1a1ad5d06
fix the PangoLanguage thing to get from locale
2005-07-16 20:16:55 +00:00
Mikael Magnusson
2fb7b70ccb
maybe even better layouting (ie the previous was off by a few marks). memo to self, what do to about PangoLanguage?
2005-07-16 16:11:58 +00:00
Mikael Magnusson
e37b07bfa0
dont need pll
2005-07-16 14:45:41 +00:00
Mikael Magnusson
a08bb4abba
minor movement of code
2005-07-16 01:01:04 +00:00
Mikael Magnusson
a5100fe677
make the pango rendering code really complicated because that is the only way to make it draw correctly
2005-07-16 00:56:45 +00:00
Mikael Magnusson
8f9aae0cc2
fix the dpi stuff with pango by reading the right ascent and descent stuff
2005-07-15 14:39:31 +00:00
Mikael Magnusson
0417d1226c
RrFontHeight is meaningless with pango, it will be different for every string drawn, so ask pango for the height after we tell it the text to draw. Should make text be centered vertically better when mixing fonts. Still moves a pixel down for some strings for me, but it was several before. If anyone knows more about this please mail or bugzilla etc. Also fix an indenting error.
2005-06-26 01:39:53 +00:00
Mikael Magnusson
3b51624005
well, i pinpointed the problem code that causes the fonts to be cut off, but this workaround is extremely temporary and possibly only works for me by accident?
2005-04-04 07:02:22 +00:00
Mikael Magnusson
7fc31cd045
fix a warning
2005-03-31 08:31:31 +00:00
Mikael Magnusson
2290916e2e
Update the pango code
2005-03-11 21:49:07 +00:00
Mikael Magnusson
7089a86006
remove a spurious identical ifdef diff decided to generate
2005-02-13 17:27:51 +00:00
Mikael Magnusson
9be3a21380
apparently nobody uses cvs or bothers to tell me about compile errors
2004-12-03 23:53:17 +00:00
Mikael Magnusson
e7d1ba6ae3
Pango! yay. Patch mostly by Mohammed Sameer, fixed some memleaks and ifdeffed by me. May still have some bugs.
2004-11-07 13:20:54 +00:00
Mikael Magnusson
4b32a060ad
no more april's fool (and also committed a bit too much before)
2004-04-01 21:50:11 +00:00
Mikael Magnusson
1c9a69e1df
these two changes make the text a lot more readable
2004-03-31 18:32:44 +00:00
Dana Jansens
740c5b2a20
consistant glib type usage
2003-10-15 03:59:35 +00:00
Dana Jansens
16f46c296d
no tabs
2003-09-17 07:44:49 +00:00
Dana Jansens
c4e4760c41
add copyright headers, adjust --version output to include copyright, and --help output to not include version output.
2003-09-17 07:32:52 +00:00
Dana Jansens
54d04314e7
remove debug print
2003-09-14 07:33:16 +00:00
Dana Jansens
3dc4750ea4
destroy 'pat' always
2003-09-14 06:42:04 +00:00
Dana Jansens
4685a11530
wasted variable
2003-09-12 05:56:02 +00:00
Dana Jansens
700e551390
fix a bunch of memleaks from valgrind and stuff
2003-08-28 19:10:36 +00:00
Dana Jansens
c34ef4028e
half way through the changes to new menu code/design. hot shit. static menus work, on to plugins next.
2003-08-28 02:10:23 +00:00
Dana Jansens
36056a69d7
missing a header
2003-07-31 16:30:53 +00:00
Dana Jansens
58be655de3
remove rependancy on geom.h from the kernel, provide what is used in its own geom.h
2003-07-10 04:31:34 +00:00
Dana Jansens
7f44ed5362
include stdlib for exit()
2003-07-07 20:26:32 +00:00
Dana Jansens
121afb76eb
remove debug print
2003-06-28 19:06:03 +00:00
Dana Jansens
1bb7a5f883
don't destroy font patterns, i think this is a double free
2003-06-28 17:29:23 +00:00
Dana Jansens
15c7707181
dont destroy the match pattern, it seems that Xft holds onto the pointer
2003-06-26 17:51:52 +00:00
Dana Jansens
a12e73cf37
read fonts and titlebar layout from theme files
2003-06-26 01:29:45 +00:00
Dana Jansens
c791cbfda0
set teh X so it gets used right
2003-06-25 21:18:16 +00:00
Dana Jansens
0901ddf891
keep a small space on the sides of windows between the edge and the text
2003-06-25 21:17:15 +00:00
Dana Jansens
dc92dbfc56
don't exit in the render lib, rather return a NULL font/theme on failure
2003-06-21 05:35:05 +00:00
Dana Jansens
c100b72c5d
more namespacing with Rr*
2003-06-21 02:26:50 +00:00
Dana Jansens
dbe2851b91
more namespacing to Rr*
2003-06-21 02:15:13 +00:00
Dana Jansens
b1f5555218
put the render theme into a struct
2003-06-21 01:53:26 +00:00
Dana Jansens
3f32dfa87e
this is going to break the kernel/ building.
...
lots of modifications to the render API, prefixing everything, making proper
names for everything. the structures are not hidden/opaque yet, but the naming scheme of the public API works much better now.
2003-06-20 07:58:51 +00:00
Dana Jansens
49268650b4
oops typo
2003-06-20 05:45:55 +00:00
Dana Jansens
62240d2b0f
take the bevel width into account for the width available
2003-06-20 02:39:20 +00:00
Dana Jansens
cd12a2eae5
simply the render interface by not requiring the setting of all the areas. only take a w and h in paint(). best font layout ever.
2003-06-20 02:17:23 +00:00