FontManager SWIs mistake

Steve Fryatt lists at stevefryatt.org.uk
Sun Apr 18 23:58:13 BST 2021


On 8 Dec, Justin F wrote in message
    <alpine.DEB.2.21.1912080951040.23300 at work.gerph.org>:

> This one is curious in that it's clearly been there a long time.
> 
>    Font_UseLinefeed         = Font_ListContext:     %1000000000000000000,
> 
> That bit uses a Carriage Return if it's set, not a line feed.

I've just started looking back through the unfixed reports, and wondered
what the preferred approach was to things like this? The options seem to be:

1) Ignore it, or

2) Change the entry to Font_UseCarriageReturn, which will break any code
that's using Font_UseLinefeed, or

3) Add a Font_UseCarriageReturn in parallel to Font_UseLinefeed.

I'd probably go for 2) or 3), with a leaning towards 2) if it were my own
library but 3) in the case of OSLib because it's not. And assuming that
different names for the same bit won't break anything (it seems to build
OK).

Is there a policy on making breaking changes?

-- 
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/



More information about the oslib-user mailing list