On pią 27. grudnia 2002 21:33, David Faure wrote: > On Friday 27 December 2002 20:47, Tomasz Grobelny wrote: > > I inserted such a piece of code into drawParagStringInternal(...) //in > > kotextparag.cc > > /* start here */ > > for(int i=0;i > cerr< > cerr< > /* end here */ > > > > What I got on konsole when string "qazwsx" was typed into KWord was: > > qazw > > s > > xedc > > > > Note that I got 3 lines out of 1 word. Is it the right behaviour? The > > (output) lines layout changes as I change font size but "qazwsxedc" is > > still one line in KWord. > > It's called "internal" for a reason ;) > Well, in drawParagString(...) situation is the same... > Complex problem, we draw together all the letters that have the same "x > adjustement", i.e. those that we can draw together in a WYSIWYG way. After > some letters the calculation of the hi-res position gives a different > adjustement, i.e. we need to start drawing the "s" (in your case) one pixel > more to the left or the right than it would be if it was painted together > with the rest. > > Maybe with Xft2 we can have real font zooming and we wouldn't need this > ugly mechanism anymore... Thanks for explanation. I commented out apropriate #define and saw that it was indeed good behaviour. BTW it was not the piece of code I was looking for (and therefore not interested anymore). Tomek ***************r-e-k-l-a-m-a************** Masz dość płacenia prowizji bankowi ? mBank - załóż konto http://epieniadze.onet.pl/mbank _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/koffice-devel