trichview.com

trichview.support




Re: Justify alignment & print preview glitches


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/22/2002 19:51:14


> Hi!

> I just wanted to let you know about two glitches I found.

>

> First one is in the code that justifies text:

> If a certain paragraph is left aligned an I choose to justify it, the

words

> shouldn't get reorganized. What should happen is, that lines that are too

> short should expand, to compensate for the free space at the end of each

> line. Nothing else. All words should stay in exact same lines as they were

> before.

> This is not the case with TRichView. Below are two screenshots from the

> ActionTest demo project. They are showing the same paragraph, #1 is left

> aligned and #2 is justified. Pay attention to the first line. When

> justified, TRichView seems to find enough space to fit in another word!

That

> shouldn't happen...


Thank you for this report. I did not think about this problem...

Probably in future I'll completely change an implementation of justified

paragraphs, and this problem will be solved.

But it will be not very soon.


>

> Second one is in the print preview:

> When zoom gets smaller, the text is displayed outside the margins. Below

is

> a screenshot.


This is a known problem. It occurs because of difference of fonts in

different resolutions (of screen and printer). It does not have easy

solution.

I am afraid it also will not be fixed soon.



>

> Otherwise, remarkable job! I really like the components.

>

> Regards,

> Aleksander

>

>

>

>







Powered by ABC Amber Outlook Express Converter