Skip to content

Commit

Permalink
(#63) Extensions: stop ignoring the old parameters for PNG
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Jan 19, 2023
1 parent 01617cd commit fbe2a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WpfMath/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static byte[] RenderToPng(this TexFormula texForm,
double y,
string systemTextFontName)
{
var environment = WpfTeXEnvironment.Create();
var environment = WpfTeXEnvironment.Create(scale: scale, systemTextFontName: systemTextFontName);
BitmapSource image = texForm.RenderToBitmap(environment, scale, x, y);

PngBitmapEncoder encoder = new PngBitmapEncoder();
Expand Down

0 comments on commit fbe2a30

Please sign in to comment.