SixLabors / ImageSharp.Drawing

:pen: Extensions to ImageSharp containing a cross-platform 2D polygon manipulation API and drawing operations.
https://sixlabors.com/products/imagesharp-drawing/
Other
282 stars 38 forks source link

Align font outline and fill while calling DrawText #331

Closed tocsoft closed 4 months ago

tocsoft commented 4 months ago

Prerequisites

Description

fixes the outline being offset from the fill. Required the outline being moved (thickness/2) pixels up and left.

before

image

after

image

fixes #330