Making it happen
Archive for May, 2006
Other projects
May 25th
Text scaling
May 25th
Recently I had to deal with the famous problem of non-uniform text scaling (the issue is that doubling the height does not mean necessarily a double width). Of course this is only for TrueType fonts.
A way of solving it is to draw char-by-char and occasionally skip pixels so that the final width of the text rendered equals the initially computed (zoom 1.0 width multiplied by zoom) correct width. Still it may look weird in some cases (the i’s may stick together in some fonts) – so there’s still some research to be done for a correct way to do it (like MS Word).
Do you know C++ ?
May 12th
Adrian found a weird C++ issue – at the first-glance it seems a bug:
class A
{
Yay!
May 9th
We are in the finals ! (The Release Candidates)
Congratulations! Because of your team’s hard work and
exceptional final report, you have been selected to take part in the Windows
Embedded Student ChallengE (WESC) 2006 World Finals!
Symbian viruses
May 8th
I just can’t believe so many people with smartphones are virus-infected (viruses on cellphones? WTF?
) – everytime I am leaving bluetooth on and go in the city I found someone trying to send me infected programs. So ensure to take mobile software only from *safe* places and p2p networks like dc++ is not one of them.
The formula
May 4th
Get the week day for 1st of any month:
int firstday = (1 + 2*m + (3*(m+1)/5) + y + (y/4) – (y/100) + (y/400) + 2) % 7 – 1
Simple, right? Don’t remember where is it from.
1st of May
May 3rd
… means going to the seaside – so here are some (terrible!) pictures from Vama Veche, together with Pisi.
Did you know that …
May 3rd
