Michael R Sweet
46d894851e
Xft2 fix from Stephen Davies...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2835 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-12 20:35:17 +00:00
Michael R Sweet
bf9a09d387
Patch from Steve Davies for Xft 2.x.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-09 22:59:06 +00:00
Michael R Sweet
be16fa3027
Make sure fl_size_, fl_font_, and fl_xfont are initialized and used.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-08 13:07:19 +00:00
Michael R Sweet
af1ec00483
More color fixes for Xft (fl_color_ wasn't always set)
...
Fix plastic boxtype (1 pixel too high)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2234 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-16 02:16:17 +00:00
Michael R Sweet
edb2118098
Fixed drawing of antialiased text - uchar color value * 0x0101 was
...
getting truncated to a uchar, so we cast r, g, and b to int first...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-15 23:20:51 +00:00
Michael R Sweet
e5ceaa48e4
Use ascent/descent for Xft fonts.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2152 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-01 01:06:04 +00:00
Michael R Sweet
c75938c4eb
Don't use the returned font sizes, as they yield too much space...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2099 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-18 21:07:53 +00:00
Bill Spitzak
1a8da69ca3
Same change as for fltk2.0 to fix warning messages from Xft.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1996 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-09 21:33:54 +00:00
Michael R Sweet
e52b682a99
Add Xft support to 1.1.x.
...
TODO: Fl::set_fonts() should add all of the fonts returned by Xft;
right now it is a no-op.
BUG: Getting X messages like "XRequest.155: 202 0x260002b" for some
reason on my system.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-06 18:11:01 +00:00
No Author
5dd2625d03
This commit was manufactured by cvs2svn to create branch 'branch-1.1'.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1974 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-02-25 09:00:23 +00:00