1
0
mirror of https://github.com/gryf/wmdocklib.git synced 2025-12-19 12:28:10 +01:00
Commit Graph

173 Commits

Author SHA1 Message Date
mfrasca
a3b2a7ee4d cleaning up. 2006-10-31 21:11:12 +00:00
mfrasca
29d6cfc65c adding first "proportional" font.
actually just two width: normal and ',.:;
2006-10-31 16:19:27 +00:00
mfrasca
d7ea546e66 just cleaning up bits 2006-10-31 13:56:40 +00:00
mfrasca
c9c1805857 1587104: error initializing font 3x5
it really was a library problem...  it was caused inside getFont by the way
I was choosing an alternative to a clashing character code.  the correct way
is by choosing outside both the already defined characters and the
characters that the font uses.  we were creating a cascade in clashes, and
were not able to handle it correctly.  avoiding the problem is the best
cure.
2006-10-31 12:43:36 +00:00
mfrasca
092a6ff8cc adding pseudo 7segments font.
very similar to 6x8 orig.
taken from wmtz.
2006-10-31 09:57:54 +00:00
mfrasca
3af10f51f7 1584740: colours messed up
forgot to remove replacement of ' ', '%' to bg, fg.
doing it now.
2006-10-31 09:57:15 +00:00
mfrasca
41a6ead68b removing unused code 2006-10-31 09:55:51 +00:00
mfrasca
7b54548c37 1587104: error initializing font 3x5
'and' is not 'and_then'...
split a test in two parts:
if elem[c] and d2[c]... into
if elem[c] then if d2[c]...
2006-10-30 10:31:35 +00:00
mfrasca
8d1d5d6f7d added picture of new example program pywmPhoto,
added fancy font 8x8-cholo,
updated MANIFEST - contains new font,
2006-10-30 10:14:28 +00:00
mfrasca
41af5d6644 added the description for a new program. 2006-10-28 08:01:34 +00:00
mfrasca
93816ecad7 cleaning up color coding in fonts... 2006-10-28 07:30:32 +00:00
mfrasca
4530404d6c added a few smaller fonts... 2006-10-27 16:25:15 +00:00
mfrasca
55f1674d8a sample of smallest font... 2006-10-27 16:24:15 +00:00
mfrasca
8e926c53f1 adding a new program. it's a very simple clone of wmPhoto, with almost none
of its functionality.  all this program does is show a picture in the tile.
only useful to show how easy it is to use the wmdocklib library.
2006-10-27 11:52:22 +00:00
mfrasca
6ba02aff6f added samples for smallest (readable) 4x6 font 2006-10-27 06:14:40 +00:00
mfrasca
4272cf21d0 a few more fonts taken from the gimp
and a correction in a library function, preventing translation of a colour already given by value instead of name.
2006-10-26 20:54:17 +00:00
mfrasca
ee321e2454 correcting the intensity of the lower left inclined segment. 2006-10-26 14:48:41 +00:00
mfrasca
83848b8298 added news. 2006-10-26 12:09:43 +00:00
mfrasca
908fc5be81 updated the areas and added the 'sunk-effect' border. 2006-10-26 11:33:10 +00:00
mfrasca
f8f80823ac not that I like the colour combination, but they make a good display of the capabilities. 2006-10-26 11:28:50 +00:00
mfrasca
ef21196486 new version forced. quite extensive changes in the library. 2006-10-26 08:42:01 +00:00
mfrasca
3c127f9849 1584740: colours messed up
modified the fonts: they start from background colour (None or Black) and go
to full intensity, which ought to be gray100 or white.

the initialization procedure will spread all colour differences between the
requested background and foreground proportionally to the intensity of the
gray char pixel.

most colour code clashes are resolved at initialization stage.  there are
only a few things you should not reuse, such as the space for transparency.
just try out the result and make use of the 'debug' parameter which will
cause the function to print the the generated xpm.
2006-10-26 08:41:00 +00:00
mfrasca
77098c749d additional small corrections in the lower left corner... 2006-10-25 17:08:24 +00:00
mfrasca
2541ff17e0 semplicemente cambiato l'ordine in cui sono nominati i colori. 2006-10-25 15:03:58 +00:00
mfrasca
807e36d6f6 we were cutting the font to 48 lines of data.
added the new fonts to the MANIFEST.
2006-10-25 12:27:37 +00:00
mfrasca
cfaf6210f0 correcting the intensity of the lower left inclined segment. 2006-10-25 08:16:56 +00:00
mfrasca
0fc5588246 adding a somewhat more compact form of the 14 segments font.
correcting the intensity in the corners of the 8x12 font.
2006-10-25 07:48:54 +00:00
mfrasca
b8b56debee shifting the text one pixel to the right. needed when the leading digit is not a 1. 2006-10-25 06:52:07 +00:00
mfrasca
6b33e26ed2 removed setting the colour palette for symbols in the font: it happens
in the initialization of the pixmap.
2006-10-25 06:01:20 +00:00
mfrasca
8ad2c1dfa0 correzioni sparse riguardanti i font...
l'intenzione sarebbe di riservare i caratteri non alfanumerici ai colori dei font (invece che i soli [ $]).
invece i caratteri alfanumerici ai pattern utente.

magari me ne faccio bastare -diciamo- quattro, di caratteri non alfanumerici per i colori dei font...
tipo
  c None (trasparente)
. c grey quasi background
" c grey intermedio
* c grey quasi foreground
$ c foreground

e anzi, a seconda del foreground e del background, potrei sfumare corrispondentemente...
2006-10-24 21:01:33 +00:00
mfrasca
b3d8cfa4af other font, taken from my hp41cv 2006-10-24 20:35:32 +00:00
mfrasca
1ce078f658 one more example for the web site... 6x12, four lines 2006-10-23 12:03:21 +00:00
mfrasca
1acb63f338 this is the default font for my linux xterm... 2006-10-22 18:58:55 +00:00
mfrasca
af661e95e3 this is what my desktop looks like... 2006-10-22 18:58:34 +00:00
mfrasca
1c0177acb5 1580293: initialization of pixmask - drawing areas
modified the width of the two areas.
2006-10-22 18:57:33 +00:00
mfrasca
68990e9da4 1580293: initialization of pixmask - drawing areas 2006-10-22 08:15:44 +00:00
mfrasca
c8a3c124ac *** empty log message *** 2006-10-21 10:41:48 +00:00
mfrasca
6c71547b58 1580293: initialization of pixmask - drawing areas
more cleaning up...
2006-10-21 07:44:45 +00:00
mfrasca
c89b35ff1e 1580293: initialization of pixmask - drawing areas
marginal corrections...
2006-10-20 20:39:01 +00:00
mfrasca
ba503e2da9 upper and lower case were swapped...
then {|} and [\] had to be swapped, too.
2006-10-20 20:37:34 +00:00
mfrasca
504b2419f8 1580293: initialization of pixmask - drawing areas
this again is a radical modification...  more or less as requested in pr.
2006-10-20 20:01:54 +00:00
mfrasca
ee27c27f3b one more font from the linux xterm 2006-10-20 19:41:11 +00:00
mfrasca
5e7b3c5df4 not necessary: it has been implemented directly in python (pywmhdmon) 2006-10-19 17:37:16 +00:00
mfrasca
3679d9099f correction in the font (a few characters were still at 6x8).
small readability correction in pywmhelpers.py.
2006-10-19 12:39:42 +00:00
mfrasca
86e2767ec1 added option -a --antialiased for the top -time- string in pywmdatetime.py 2006-10-18 17:47:10 +00:00
mfrasca
8dcf5f4742 1579871: offer antialiasing as option
as required
2006-10-18 17:45:01 +00:00
mfrasca
b3c5d60a76 added "condensed" 5x8 font to the suite,
cleaned up the code of pywmdatetime.
2006-10-18 15:02:50 +00:00
mfrasca
f9b0ccd2f5 added condensed 5x8 font.
added 7x10 antialiased digits font to pywmdatetime.py (*ONLY* to this one).
various cleanup actions.
2006-10-18 14:48:20 +00:00
mfrasca
ad25a18c51 added "condensed" 5x8 font to the suite,
cleaned up the code of pywmdatetime.
2006-10-18 14:46:21 +00:00
mfrasca
92f172da49 1579522: antialiased fonts for digits
just a nice border around the top time string
2006-10-18 12:46:06 +00:00