[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [StrongED] Dump mode causes abort on data transfer



In message <47c7ef1c54.fjgraute@xxxxxxxxx>
          Fred Graute <fjgraute@xxxxxxxxx> wrote:

> In message <bb9fdc1c54.iyojohn@xxxxxxxxxxxxxxxxxxxxx>
>           John Rickman Iyonix <rickman@xxxxxxxxxxxxx> wrote:
>
> > To reproduce: open a new StrongED window. Switch modes from basemode
> > to Dump and it abends.
>
> Yes, I get that here too. A quick look suggests that this is caused by
> incorrect font settings. Modify the Choices file for Dump Mode so that
> the font settings are valid and see if that helps:
>
>   Font_FontType:Bitmap
>   Font_BitmapFont:08x16.FJG
>
> I'll need to have a closer look to identify the underlying problem.

The underlying problem has now been fixed. The code to calculate the
width of line numbers would treat system font and bitmap fonts the same.

This was fine in previous versions where both were 8 pixels wide but now
that bitmap fonts can have a different width the code needs to handle
this differently.

The code had been updated to cater for a variable bitmap width, however
system font had not been made into a separate case. As a result it was
using a rubbish width leading to a line number width that was much too
large. Larger than the window width so the wrap width actually became
negative, oops.

Anyway, it's now fixed. Thanks for reporting it.

Cheers,
Fred.

-- 
StrongED Developer
http://www.stronged.iconbar.com/

--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx
List archives at http://www.Torrens.org.uk/RO/StrongED/index.html