Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-10-03 | Improved vertical alignment of text in FbTk::TextButton | Mathias Gumz | 1 | -106/+106 | |
The old formula for vertical align text inside FbTk::TextButton ('height/2 + font_ascent/2 - 1') produced not always good looking results, escpecially when different fonts are involved (eg, ClockTool and WorkspaceName have different fonts and font-sizes). '(height - font_ascent) / 2 - 1' produces better results. Additional changes: * added ASCII-Art to document the involved entities when calculating the baseline * rewritten tests/testFont.cc to accept multiples texts and multiple fonts * removed some internal parts of FbTk::Font from the public interface | |||||
2011-03-18 | some love to src/tests, use automake to use the same build environment as ↵ | Mathias Gumz | 1 | -8/+10 | |
the rest of fluxbox | |||||
2008-01-04 | remove old svn $Id$ tags | Mark Tiefenbruck | 1 | -2/+0 | |
2006-10-30 | Cosmetic patch from Slava Semushin | mathias | 1 | -1/+2 | |
2006-05-07 | handle utf-8 strings properly. | simonb | 1 | -1/+4 | |
use utf8 internally | |||||
2006-03-26 | rotated fonts, buttons, containers. Used for tabs for now | simonb | 1 | -14/+44 | |
2006-02-16 | updated copyright info | mathias | 1 | -1/+1 | |
2005-06-03 | - Usage of xft-fonts is prefered, except a font-description starts with '-' | mathias | 1 | -9/+10 | |
- 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-01-24 | copyright date | mathias | 1 | -1/+1 | |
2005-01-15 | minor stuff | fluxgen | 1 | -2/+1 | |
2004-11-17 | needed init for font-test | mathias | 1 | -2/+4 | |
2004-09-12 | fix for Font drawText | fluxgen | 1 | -2/+2 | |
2004-09-01 | foreground and background color as argument | fluxgen | 1 | -9/+30 | |
2003-09-11 | update | fluxgen | 1 | -52/+56 | |
2002-12-01 | Indenting from tabs to emacs 4-space | rathnor | 1 | -83/+83 | |
2002-11-12 | line | fluxgen | 1 | -2/+6 | |
2002-10-19 | lines | fluxgen | 1 | -6/+17 | |
2002-10-19 | minor | fluxgen | 1 | -0/+22 | |
2002-10-19 | initial import | fluxgen | 1 | -0/+95 | |