Von: "Scott Kostyshak" <skost...@lyx.org>

> Uwe, I've tested but there are a lot of crosses. For example, see the
attached screenshot. It seems the number of crosses depends on the level
of zoom, which I don't think makes sense. Also, if you change the font
size, the number of crosses in the PDF output does not change.

It is impossible to draw in every case the same number of strokes. I 
experimented a bit with including the zoom level but then one could get no 
stroke for low zooms. I think my solution is a good compromise. LyX is WYSISYM 
not WYSIWYG.

In the output ulem draws as many strokes that will fit to the formatting 
length. But this length depends of course on the font, the document-wide font 
size (could also be different for each document class) and the surrounding 
local font size commands .

If you find a better solution to paint the strokes, please improve my drawing 
routine accordingly.

>> + if changed == True:
> 
> Also (comment for anyone), why not just the following?
> 
> if changed:

I don't know. I just stole some code from existing lyx2lyx routines to save 
time.

regards Uwe

Reply via email to