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

Update Fonts Reference and Introduce Shared TextOptions #177

Closed JimBobSquarePants closed 2 years ago

JimBobSquarePants commented 2 years ago

Prerequisites

Description

Fixes #174 , #17, #81

Also provides font hinting support which may allow us to close off #134 but will have to confirm the output to be certain.

codecov[bot] commented 2 years ago

Codecov Report

Merging #177 (7012259) into master (e987bd8) will decrease coverage by 0%. The diff coverage is 82%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #177   +/-   ##
=====================================
- Coverage      69%    69%   -1%     
=====================================
  Files          89     87    -2     
  Lines        5204   5116   -88     
  Branches     1065   1062    -3     
=====================================
- Hits         3642   3554   -88     
- Misses       1347   1348    +1     
+ Partials      215    214    -1     
Flag Coverage Δ
unittests 69% <82%> (-1%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...rc/ImageSharp.Drawing/Processing/DrawingOptions.cs 86% <ø> (-4%) :arrow_down:
src/ImageSharp.Drawing/Shapes/Text/TextBuilder.cs 0% <0%> (ø)
...rawing/Processing/Extensions/DrawTextExtensions.cs 80% <84%> (-20%) :arrow_down:
...ing/Processing/DrawingOptionsDefaultsExtensions.cs 100% <100%> (ø)
...p.Drawing/Processing/Extensions/ClearExtensions.cs 100% <100%> (ø)
...ng/Processing/Processors/Text/DrawTextProcessor.cs 88% <100%> (-2%) :arrow_down:
...ssing/Processors/Text/DrawTextProcessor{TPixel}.cs 96% <100%> (+<1%) :arrow_up:
src/ImageSharp.Drawing/Processing/ShapeOptions.cs 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e987bd8...7012259. Read the comment docs.