Commit graph

18 commits

Author SHA1 Message Date
mathias
ef76b45ab1 - Usage of xft-fonts is prefered, except a font-description starts with '-'
- Removed "antialias"-option completly, to enable/disable "antialias"
  use either  <fontname>:antialias=<bool> in the style or use
  Xft.antialias: <bool> in your .Xdefaults
- Added new styleresources: 
    *.font.effect: <halo|shadow>
    *.font.shadow.x : <int>       - shadow x offset
    *.font.shadow.y : <int>       - shadow y offset
    *.font.shadow.color : <color> - color of shadow
    *.font.halo.color : <color>   - color of halo
- Removed 'shadow' and 'halo' options from fontdefinitions:
    !! Style authors have to update their styles !!
- Simplified XmbFontImp to not try all possible fonts to match locale
- Style authors may specify multiple fonts:
    <font1>|<font2>|<font3>
  if loading of font1 fails, fluxbox probes <font2>, etc. The last font is
  "fixed". Hints for style authors:
    - if xft tries to load a font it will _ALWAYS_ return a valid font,
      it doesnt have to look like the one you want to have, read more
      about it: http://fontconfig.org/fontconfig-user.html
    - export XFT_DEBUG=1  before running fluxbox helps to see
      which fonts are picked.
  eg:
      *.font: Verdana,Arial-12:antialias=true|-artwiz-snap-*-
      if fluxbox is compiled with xft this will NEVER try to
      load "-artwiz-snap-*-" since xft gives for sure a font,
      most likely Verdana or Arial but noone knows. So, if
      fluxbox has no xft support the first fontpattern fails
      and fluxbox tries the next one, which might be successful.
      if everything fails, it will use "fixed"
- Added caching of fonts, fonts are only loaded once.
- Fixed #1090902 (slow utf8 start)
2005-06-03 07:25:48 +00:00
mathias
703fc0b0ee cosmetic white-space-stuff and/or copyright dates 2005-02-07 13:46:55 +00:00
mathias
6b8fca511c copyright date 2005-01-24 18:02:34 +00:00
mathias
bc7c988561 adds imlib2-support to fluxbox: allows us to load several imageformats
besides xpm. to get imlib2 support in fluxbox one has to 
 
  ./configure --enable-imblib2

default is disabled.  a fluxbox-binary that supports imlib2 will have 
IMLIB2 in "fluxbox -info"-output

explanation to the changed files:

 * xft.m4 -> acinclude.m4 + added ac_path_generic.m4 
   (from http://ac-archive.sourceforge.net/Miscellaneous/ac_path_generic.html)

 * configure.in, Makefile.am, src/FbTk/Makefile.am changed to handle
   imlib2-support

 * Font.cc/hh Image.cc/hh App.cc fluxbox.cc consistent way of init for global
   stuff for fonts and imagehandlers.

 * rest of changes just add the imlib2-code, pretty straightforward
2004-12-21 23:42:09 +00:00
mathias
993c17cf2e svn propset svn:keywords "Id" 2004-11-19 11:37:27 +00:00
fluxgen
049e40c9eb Font::drawText takes reference to FbDrawable instead of X Drawable + some code cleaning 2004-09-11 23:01:34 +00:00
fluxgen
82de6ace6d have const msg ptr to iconv 2004-08-31 21:24:05 +00:00
fluxgen
9121ec43af checking for have iconv 2004-08-31 20:27:08 +00:00
rathnor
3dc7103782 fix handling of font+text encodings 2004-08-18 16:30:33 +00:00
fluxgen
c1b226b7ff adding halo and shadow options to font loading, patch from Mathias Gumz and c. mccreesh (ciaranm) 2004-08-10 18:08:37 +00:00
fluxgen
52cb375886 utf-8 fix, a fixed patch from Sergey Kuleshov 2004-08-10 11:22:10 +00:00
fluxgen
bfd09dc88c accessor and manipulator for m_shadow 2003-12-19 17:07:53 +00:00
fluxgen
72b878f78c fixed some icc warnings 2003-12-16 17:06:52 +00:00
fluxgen
9dc08a463c added shadow 2003-11-28 23:27:29 +00:00
fluxgen
f4ce449632 merged with embedded-tab-branch 2003-04-14 12:13:36 +00:00
fluxgen
216da58a08 comments and bool rotate argument for drawText 2002-12-08 18:37:08 +00:00
rathnor
28b5c60449 Indenting from tabs to emacs 4-space 2002-12-01 13:42:15 +00:00
fluxgen
ac4420cdc5 initial import 2002-11-26 16:01:28 +00:00