A linear increase of the source weights in a flash D/A converter has earlier been suggested to reduce the level of glitches associated with the code transitions. However, a limitation with this approach was that a straightforward conversion from an offset-binary number to a linear-coded number required a large amount of hardware. In this work, we present a new method that yields a more hardware efficient encoder. We also compare the proposed encoder with other encoders in terms of design complexity and glitch performance.